SofaScore API (sofascore.com): Real-Time Scores, Results & Match Stats. Get detailed sports data including live scores, fixtures, results, and stats from SofaScore across football (soccer), tennis, basketball, hockey and more.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Requests (30d)
7,443
Avg latency
527ms
Uptime
100.0%
Returns a list of all categories (countries/regions) for a given sport.
Request schema
Sport slug, lowercase letters, numbers and hyphens only (football, basketball, tennis, ice-hockey, volleyball, handball, baseball, american-football, mma, esports, ...). Call /v1/general/sports for the full list.
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"alpha2": {
"type": [
"string",
"null"
]
},
"imagePath": {
"type": [
"string",
"null"
]
},
"proxyImagePath": {
"type": [
"string",
"null"
]
}
}
}
}Returns a list of unique tournaments for a given category.
Request schema
SofaScore category (country/region) ID. Returned by /v1/category/list.
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"imagePath": {
"type": "string"
},
"proxyImagePath": {
"type": "string"
},
"category": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"alpha2": {
"type": "string"
},
"imagePath": {
"type": "string"
},
"proxyImagePath": {
"type": "string"
}
}
},
"hasRounds": {
"type": "null"
}
}
}
}Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/sofascore/v1/category/list?sport_slug=football" \
-d '{"sport_slug":"football"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/sofascore/v1/category/list?sport_slug=football \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for SofaScore.