Flashscore API endpoint
Returns article references from the public news layout associated with a match. Article content is not included; use the article id with flashscore-news-article for public metadata.
/flashscore/match-newsQuery parameters:
id (required): eight-character match id from a Flashscore match URL.Returns the public news-layout sections linked to the match, with article ids and sort keys. Some matches can have an empty sections array. This endpoint returns references only; use /api/v1/flashscore/news-article?id=<article-id> for public article metadata. Article body text is not included.
| Field | Filled in, of 1 checked | Values in the sample |
|---|---|---|
| id | 1 | |
| name | 1 | “articlesOnParticipants” |
| articles | 1 | median 14 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Eight-character Flashscore match id | xtmHKGT0 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/flashscore/match-news?id=xtmHKGT0" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://2.ds.lsapp.eu/pq_graphql?_hash=fsned&entityId=xtmHKGT0&layoutTypeId=2&projectId=2",
"match_id": "xtmHKGT0",
"layout_id": 80103,
"name": "Default EVENT layout",
"sections": [
{
"id": 1,
"name": "articlesOnParticipants",
"articles": [
{
"id": "GYDHQ2yR",
"article": {
"sort_key": 1790163122
}
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.matchNewsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.matchNewsDataDoc | No | ||||
| data.layout_id | integer | No | 80103 | |||
| data.match_id | string | No | xtmHKGT0 | |||
| data.name | string | No | Default EVENT layout | |||
| data.sections | array | No | ||||
| data.sections[].articles | array | No | ||||
| data.sections[].articles[].article | flashscore.matchNewsArticleSortKeyDoc | No | ||||
| data.sections[].articles[].article.sort_key | integer | No | 1790163122 | |||
| data.sections[].articles[].id | string | No | GYDHQ2yR | |||
| data.sections[].id | integer | No | 1 | |||
| data.sections[].name | string | No | articlesOnParticipants | |||
| data.source_url | string | No | https://2.ds.lsapp.eu/pq_graphql?_hash=fsned&entityId=xtmHKGT0&layoutTypeId=2&projectId=2 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/flashscore/match-news?id=xtmHKGT0" \
-H "x-api-key: $CRAWLORA_API_KEY"