Flashscore API endpoint
Returns the exact currently usable public News section keys, names, and source paths from the live navigation inventory. Olympic Games is excluded because its linked page currently returns 404.
/flashscore/news-categoriesReturns all currently usable public sections from the Flashscore News navigation.
Parameters: none.
Notable response behavior: the exact valid category keys are all, football, uefa-nations-league, tennis, features, premier-league, nfl, mlb, nba, nhl, formula-1, champions-league, europa-league, conference-league, darts, snooker, golf, road-cycling, laliga, bundesliga, serie-a, ligue-1, badminton, handball, hockey, basketball, cricket, rugby-union, athletics, baseball, fifa, rugby-league, motorsport, aussie-rules, flashscore-ratings, american-sports, african-football, combat-sports, winter-sports, and transfer-news. Olympic Games was visible in navigation but is excluded because its linked News URL currently returns 404.
Every category except all also carries entity_id and entity_type from the navigation: SPORT (for example football = SW9D1eZo), TOURNAMENT_TEMPLATE (for example premier-league = dYlOSQOD) or TAG (an editorial tag such as features). The SPORT ids are the inputs of /api/v1/flashscore/entity-news with type=sport; the TOURNAMENT_TEMPLATE ids work with type=tournament. basketball and mlb share the id zcDLaZ3b and golf and american-sports share EkWXj6U9, because ids are only unique within an entity type.
| Field | Filled in, of 40 checked | Values in the sample |
|---|---|---|
| key | 40 | |
| name | 40 | “All” and 39 other values |
| path | 40 | “/news/” and 39 other values |
| entity_id | 39 | |
| entity_type | 39 | SPORT (17), TOURNAMENT_TEMPLATE (14), TAG (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/news-categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"categories": [
{
"key": "all",
"name": "All",
"path": "/news/"
},
{
"key": "football",
"name": "Football",
"path": "/news/football/",
"entity_id": "SW9D1eZo",
"entity_type": "SPORT"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.newsCategoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.newsCategoriesDataDoc | No | ||||
| data.categories | array | No | newsCategoryDoc record, 5 fields: entity_id, entity_type, key, name, path. Described under Flashscore News listings API. | |||
| data.source_url | string | No | https://www.flashscore.com/news/ | |||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/flashscore/news-categories" \
-H "x-api-key: $CRAWLORA_API_KEY"