Flashscore API endpoint
Lists the Flashscore ranking categories currently available, including the tennis live-rankings pages. Each category has its `key`, name, sport, page path and a `live` flag. Use a `key` with the Flashscore rankings endpoint. It takes no parameters.
/flashscore/ranking-categoriesQuery parameters: none.
Returns the exact currently verified public rankings catalog, including standard rankings and the eight tennis live-rankings pages. Each record includes its key, display name, sport, and upstream page path. Use the key with /api/v1/flashscore/rankings.
| Field | Filled in, of 35 checked | Values in the sample |
|---|---|---|
| key | 35 | |
| name | 35 | “FIFA World Ranking” and 34 other values |
| sport | 35 | tennis (16), golf (11), badminton (5) and 3 more |
| path | 35 | “/football/rankings/fifa/” and 34 other values |
| live | 8 | true in 8 of 8 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/flashscore/ranking-categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://www.flashscore.com/",
"categories": [
{
"key": "tennis-atp",
"name": "ATP Singles",
"sport": "tennis",
"path": "/tennis/rankings/atp/"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.rankingCategoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.rankingCategoriesDataDoc | No | ||||
| data.categories | array | No | rankingCategoryDoc record, 5 fields: key, live, name, path, sport. Described under Flashscore rankings API. | |||
| data.source_url | string | No | https://www.flashscore.com/ | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 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/flashscore/ranking-categories" \
-H "x-api-key: $CRAWLORA_API_KEY"