Flashscore API endpoint
Discovers competitions present in a selected sport's score feed, including the provider competition id, label, region, canonical path, and event count. This is the active feed-date inventory, not an archive of inactive or historical seasons.
/flashscore/competitionsParameters:
sport (required): one of football, tennis, basketball, hockey, golf, formula-1, baseball, snooker, american-football, aussie-rules, badminton, bandy, beach-soccer, beach-volleyball, boxing, cricket, cycling, darts, esports, field-hockey, floorball, futsal, handball, horse-racing, kabaddi, mma, motorsport, netball, pesapallo, rugby-league, rugby-union, table-tennis, volleyball, water-polo, winter-sports, moto-racing, ski-jumping, alpine-skiing, cross-country-skiing, biathlon.day_offset (optional): integer from -7 to 7, relative to today. Defaults to 0.Notable response behavior: this is the set of competitions with events in the selected date's score feed. It is not a catalog of inactive competitions or historical seasons. Each row includes event count and any observed region and canonical path. To discover the wider current country/category/competition navigation, use /api/v1/flashscore/navigation and follow its returned paths.
| Field | Filled in, of 101 checked | Values in the sample |
|---|---|---|
| id | 101 | |
| name | 101 | “AFRICA: Olympic Games Women - Qualification” and 100 other values |
| region | 101 | “Africa” and 63 other values |
| path | 101 | “/football/world/olympic-games-women/” and 100 other values |
| event_count | 101 | 1 to 20, median 2 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| sport | string | Yes | Sport key Allowed values: football, tennis, basketball, hockey, golf, formula-1, baseball, snooker, american-football, aussie-rules, badminton, bandy, beach-soccer, beach-volleyball, boxing, cricket, cycling, darts, esports, field-hockey, floorball, futsal, handball, horse-racing, kabaddi, mma, motorsport, netball, pesapallo, rugby-league, rugby-union, table-tennis, volleyball, water-polo, winter-sports, moto-racing, ski-jumping, alpine-skiing, cross-country-skiing, biathlon. | football | |
| day_offset | integer | No | 0 | Days from today; -7 to 7; defaults to 0 Minimum: -7. Maximum: 7. | 0 |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/flashscore/competitions?sport=football" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sport": "football",
"day_offset": 0,
"competitions": [
{
"id": "eng.1",
"name": "Premier League",
"region": "England",
"path": "/football/england/premier-league/",
"event_count": 10
}
]
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.competitionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.competitionsDataDoc | No | ||||
| data.competitions | array | No | ||||
| data.competitions[].event_count | integer | No | 10 | |||
| data.competitions[].id | string | No | 8bP2bXmH | |||
| data.competitions[].name | string | No | AFRICA: Africa Cup of Nations - Qualification | |||
| data.competitions[].path | string | No | /football/africa/africa-cup-of-nations/ | |||
| data.competitions[].region | string | No | Africa | |||
| data.day_offset | integer | No | 0 | |||
| data.source_url | string | No | https://global.flashscore.ninja/2/x/feed/f_1_0_8_en_1 | |||
| data.sport | string | No | football | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/flashscore/competitions?sport=football" \
-H "x-api-key: $CRAWLORA_API_KEY"