Flashscore API endpoint
Returns the ten-or-fewer public team, player, and tournament results shown in Flashscore's search overlay. This is a changing curated list, not a complete entity directory.
/flashscore/top-searchParameters: none.
Notable response behavior: returns the current public top entities displayed by Flashscore's search overlay (up to 10 teams, players, or tournament templates). This list changes over time and is not a complete entity directory. Use /api/v1/flashscore/search?q=... for query-driven results. Results observed in the current live capture are soccer-focused, even though the top-search request asks the shared search service for entity types 1 through 4; do not assume this endpoint covers top entities in every sport.
| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| id | 10 | |
| url | 10 | “barcelona” and 9 other values |
| name | 10 | “Barcelona” and 9 other values |
| gender | 10 | |
| type | 10 | |
| sport | 10 | |
| participantTypes | 9 | median 1 entry |
| defaultCountry | 10 | |
| images | 10 | median 3 entries |
| teams | 0 | |
| defaultTournament | 1 | |
| superTemplate | 0 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/flashscore/top-search" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"source_url": "https://s.livesport.services/api/v2/top-search/?lang-id=1&limit=10&project-id=2&project-type-id=1&type-ids=1%2C2%2C3%2C4",
"results": [
{
"id": "SKbpVP5K",
"url": "barcelona",
"name": "Barcelona",
"type": {
"id": 2,
"name": "Team"
},
"sport": {
"id": 1,
"name": "Soccer"
}
}
]
}
}Request schema
No body schema
Response schema
#/definitions/flashscore.topSearchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | flashscore.topSearchDataDoc | No | ||||
| data.results | array | No | searchResultDoc record, 23 fields: defaultCountry, defaultTournament, gender, id, images, name, participantTypes, sport, superTemplate, teams, type, url. Described under Flashscore search API. | |||
| data.source_url | string | No | https://s.livesport.services/api/v2/top-search/?lang-id=1&limit=10&project-id=2&project-type-id=1&type-ids=1%2C2%2C3%2C4 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 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/top-search" \
-H "x-api-key: $CRAWLORA_API_KEY"