LiveScore API endpoint
Returns the event data embedded in a public LiveScore match page. Data uses LiveScore's event payload shape; available fields vary by event and stage.
/livescore/matchQuery parameters:
path (required): the five path segments following /en/ in a LiveScore match URL. For example, football/uefa-nations-league/league-b-group-3/austria-vs-israel/1738267.The returned data is LiveScore's embedded event object. Available fields depend on the match and stage. The path is restricted to lowercase alphanumeric and hyphen segments and is always fetched from www.livescore.com.
| Field | Filled in, of 11 checked | Values in the sample |
|---|---|---|
| id | 11 | |
| name | 11 | “matchTabs.Info” and 9 other values |
| href | 10 | “info/” and 8 other values |
| isVisible | 5 | true in 0 of 5 |
| subId | 2 | “Livescore_6” |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| path | string | Yes | Five path segments following /en/ in a LiveScore match URL | football/uefa-nations-league/league-b-group-3/austria-vs-israel/1738267 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/livescore/match?path=football%2Fuefa-nations-league%2Fleague-b-group-3%2Faustria-vs-israel%2F1738267" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://www.livescore.com/en/football/uefa-nations-league/league-b-group-3/austria-vs-israel/1738267/",
"data": {
"event": {
"id": "1738267",
"homeTeamName": "Austria",
"awayTeamName": "Israel",
"hasStats": true
}
}
}
}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/match?path=football%2Fuefa-nations-league%2Fleague-b-group-3%2Faustria-vs-israel%2F1738267" \
-H "x-api-key: $CRAWLORA_API_KEY"