LiveScore API endpoint
Returns public competition or stage page data and its visible sections. Competition ids and tabs vary by sport; discover English sitemap-listed paths, including cricket stage pages, with /livescore/competitions.
/livescore/competitionQuery parameter: path is required and accepts 3–5 lowercase path segments following /en/ from a public LiveScore competition or stage page, or one of its linked sections. Examples: football/england/premier-league, football/england/premier-league/standings, football/england/premier-league/stats/teams, basketball/usa/nba/standings, or cricket/test-series/the-ashes-2025.
The service reads the current Next.js build id from the public LiveScore homepage, then fetches that route's page-data JSON. It returns initialData, including the competition or stage header, current tabs, tables, and sections as supplied for that page. Competition pages identify themselves with competitionId; stage pages such as The Ashes identify themselves with stage. Live evidence includes Premier League overview (tabs: overview, fixtures, results, standings, player stats, team stats), NBA overview (overview, fixtures, results, standings), and The Ashes stage page (overview, fixtures, results). Discover English sitemap-listed paths with /livescore/competitions. Score competitions visible for a date remain discoverable from /livescore/scores.
| Field | Filled in, of 6 checked | Values in the sample |
|---|---|---|
| id | 6 | |
| href | 6 | “/en/football/england/premier-league/” and 5 other values |
| name | 6 | “common.overview” and 5 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| path | string | Yes | Three to five lowercase path segments following /en/, such as football/england/premier-league or football/england/premier-league/standings | football/england/premier-league | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/livescore/competition?path=football%2Fengland%2Fpremier-league" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"source_url": "https://www.livescore.com/_next/data/<current-build-id>/en/football/england/premier-league/standings.json",
"data": {
"header": {
"competition": "Premier League",
"tabs": [
{
"id": "standings"
}
]
},
"tables": {
"league": {}
},
"sections": []
}
}
}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/competition?path=football%2Fengland%2Fpremier-league" \
-H "x-api-key: $CRAWLORA_API_KEY"