LiveScore API endpoint
Returns the public full article record, including the article's structured content when supplied by LiveScore. Copy the path following /en/news/ from an article slug in /livescore/news.
/livescore/news-articleQuery parameter:
path (required): two to eight lowercase path segments following /en/news/, copied from an article slug returned by /api/v1/livescore/news.Returns the public article record embedded in the page, including its structured content when LiveScore supplies it. Syndicated or redirected records may contain a redirectUrl instead of an article body. The endpoint only fetches a fixed LiveScore origin.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| path | string | Yes | Two to eight lowercase path segments after /en/news/, copied from an article slug | football/man-city-guilty-of-114-charges-what-happens-next-man-city-square | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/livescore/news-article?path=football%2Fman-city-guilty-of-114-charges-what-happens-next-man-city-square" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"source_url": "https://www.livescore.com/en/news/football/example-football-story/",
"data": {
"title": "Example football story",
"content": {
"json": {
"content": [
{
"nodeType": "paragraph"
}
]
}
}
}
}
}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/news-article?path=football%2Fman-city-guilty-of-114-charges-what-happens-next-man-city-square" \
-H "x-api-key: $CRAWLORA_API_KEY"