Flashscore API endpoint
Returns public article metadata and image credits for an article id from a Flashscore match news listing. Article body text is not included.
/flashscore/news-articleQuery parameters:
id (required): eight-character article id returned by a Flashscore match news listing.Returns the public article title, slug, publication/edit timestamps, and image metadata including credits and available image variants. Article body text is not included; use /api/v1/flashscore/news-article-body for the full text. An unknown article id returns not found.
| Field | Filled in, of 16 checked | Values in the sample |
|---|---|---|
| url | 16 | livesport-ott-images.ssl.cdn.cra.cz |
| alt_text | 16 | median 23 characters |
| credit | 16 | REUTERS / Scott Heppell in all 16 |
| variant_type_id | 16 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Eight-character Flashscore article id | GYDHQ2yR | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/flashscore/news-article?id=GYDHQ2yR" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://2.ds.lsapp.eu/pq_graphql?_hash=nah&articleId=GYDHQ2yR",
"article": {
"id": "GYDHQ2yR",
"type": "STANDARD",
"published_at": 1790163122,
"title": "Premier League panel admits penalty awarded to Sunderland vs Arsenal was wrong",
"slug": "premier-league-panel-admits-penalty-awarded-to-sunderland-vs-arsenal-was-wrong",
"images": [
{
"url": "https://livesport-ott-images.ssl.cdn.cra.cz/d9623cbc-957c-4955-bdc9-e82567576136",
"alt_text": "Arteta on the touchline",
"credit": "REUTERS / Scott Heppell",
"variant_type_id": 1
}
]
}
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.newsArticleResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.newsArticleDataDoc | No | ||||
| data.article | flashscore.newsArticleDoc | No | ||||
| data.article.edited_at | integer | No | ||||
| data.article.id | string | No | GYDHQ2yR | |||
| data.article.images | array | No | ||||
| data.article.images[].alt_text | string | No | Arteta on the touchline | |||
| data.article.images[].credit | string | No | REUTERS / Scott Heppell | |||
| data.article.images[].url | string | No | https://livesport-ott-images.ssl.cdn.cra.cz/d9623cbc-957c-4955-bdc9-e82567576136 | |||
| data.article.images[].variant_type_id | integer | No | 1 | |||
| data.article.published_at | integer | No | 1790163122 | |||
| data.article.slug | string | No | premier-league-panel-admits-penalty-awarded-to-sunderland-vs-arsenal-was-wrong | |||
| data.article.title | string | No | Premier League panel admits penalty awarded to Sunderland vs Arsenal was wrong | |||
| data.article.type | string | No | STANDARD | |||
| data.source_url | string | No | https://2.ds.lsapp.eu/pq_graphql?_hash=nah&articleId=GYDHQ2yR | |||
| 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/flashscore/news-article?id=GYDHQ2yR" \
-H "x-api-key: $CRAWLORA_API_KEY"