Flashscore API endpoint
Lists the Flashscore season calendar sections currently available, covering ATP, WTA, golf, badminton and Formula 1. Each category has its `key`, name, sport and canonical path. Use a `key` with the Flashscore calendar endpoint. It takes no parameters.
/flashscore/calendar-categoriesQuery parameters: none.
Returns the six currently verified public season calendar sections and their canonical paths. Use each key with /api/v1/flashscore/calendar.
| Field | Filled in, of 6 checked | Values in the sample |
|---|---|---|
| key | 6 | |
| name | 6 | “ATP Tour Calendar” and 5 other values |
| sport | 6 | “tennis” and 3 other values |
| path | 6 | “/tennis/calendar/atp/” and 5 other values |
| 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/calendar-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 Tour Calendar",
"sport": "tennis",
"path": "/tennis/calendar/atp/"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.calendarCategoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.calendarCategoriesDataDoc | No | ||||
| data.categories | array | No | calendarCategoryDoc record, 4 fields: key, name, path, sport. Described under Flashscore season calendar 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/calendar-categories" \
-H "x-api-key: $CRAWLORA_API_KEY"