SofaScore API endpoint
Returns the competitions (unique tournaments) inside one category, most followed first. Each `id` is the competition id the tournament-seasons, standings, tournament-rounds, and round-events endpoints take. Get the category `id` from the categories endpoint. An empty `tournaments` list is a valid response: some categories exist without any competitions. Returns 404 for an unknown category id.
/sofascore/category-tournamentsReturns the competitions (unique tournaments) inside one category, most followed first. Each id is the competition id that the tournament-seasons, standings, tournament-rounds, and round-events endpoints take, so this is the browse path from a country to its leagues and cups.
Query parameters:
id: required. Numeric SofaScore category id, taken from the categories endpoint (for example 13 for Brazil football, 1 for England football).Notable response behavior:
user_count (SofaScore's follower count, a popularity signal) from highest to lowest, then by name.tournaments array is a valid response: SofaScore keeps categories that exist without any competition (for example stage-based motorsport categories).| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| id | 20 | |
| name | 20 | “Premier League” and 19 other values |
| slug | 20 | |
| category_id | 20 | |
| category_name | 20 | England in all 20 |
| user_count | 20 | 20 to 1,205,580, median 7,031 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Numeric SofaScore category id from the categories endpoint | 1 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/sofascore/category-tournaments?id=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category_id": 13,
"count": 2,
"source_url": "https://api.sofascore.com/api/v1/category/13/unique-tournaments",
"fetched_at": "2026-10-07T14:00:00Z",
"tournaments": [
{
"id": 325,
"name": "Campeonato Brasileiro Série A",
"slug": "brasileirao-serie-a",
"category_id": 13,
"category_name": "Brazil",
"user_count": 332185
},
{
"id": 390,
"name": "Brasileirão Série B",
"slug": "brasileirao-serie-b",
"category_id": 13,
"category_name": "Brazil",
"user_count": 74964
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.categoryTournamentsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.CategoryTournamentsResponse | No | ||||
| data.category_id | integer | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.source_url | string | No | ||||
| data.tournaments | array | No | ||||
| data.tournaments[].category_id | integer | No | 1 | |||
| data.tournaments[].category_name | string | No | England | |||
| data.tournaments[].id | integer | No | 17 | |||
| data.tournaments[].name | string | No | Premier League | |||
| data.tournaments[].slug | string | No | premier-league | |||
| data.tournaments[].user_count | integer | No | 1234567 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/sofascore/category-tournaments?id=1" \
-H "x-api-key: $CRAWLORA_API_KEY"