LiveScore API endpoint
Returns the event, player, section, and competition identifiers indexed by a sport and date. These IDs are date-specific and can help callers enumerate score-page sections.
/livescore/scores-tocQuery parameters:
sport (required): one of soccer, hockey, basketball, tennis, or cricket. Obtain the complete set from /api/v1/livescore/sports.date (required): calendar date in YYYYMMDD format.timezone_offset (optional): UTC offset in whole hours from -12 through 14; defaults to 0.Returns the upstream ID inventory for that sport and date, including event (Eids), player (Pids), section (Sids), and, when available, competition (CompIds) IDs. Values are date-specific.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| sport | string | Yes | LiveScore sport id Allowed values: soccer, hockey, basketball, tennis, cricket. | soccer | |
| date | string | Yes | Calendar date in YYYYMMDD format | 20260926 | |
| timezone_offset | integer | No | 0 | UTC offset in hours from -12 through 14; defaults to 0 Minimum: -12. Maximum: 14. | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/livescore/scores-toc?sport=soccer&date=20260926" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://prod-cdn-mev-api.lsmedia1.com/api/v2/date/soccer/20260926/toc/0",
"data": {
"Eids": [
"1738267"
],
"Pids": [
"12345"
],
"Sids": [
"24563"
],
"CompIds": [
"1"
]
}
}
}Request schema
No body schema
Response schema
#/definitions/livescore.responseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | livescore.sourceDataDoc | No | ||||
| data.data | object | No | ||||
| data.source_url | string | No | https://www.livescore.com/en/football/uefa-nations-league/league-b-group-3/austria-vs-israel/1738267/ | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/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/livescore/scores-toc?sport=soccer&date=20260926" \
-H "x-api-key: $CRAWLORA_API_KEY"