SofaScore categories (countries) by date

GET https://api.api.sh/sofascore/v1/categories
1 credit / call sports try it in the playground →

The categories (countries and international groupings) of a sport. With date, only those with events that day, each with its event count and the tournament ids playing; use a category id with /sofascore/v1/matches to list its events.

Every response includes credits_used: the credits this call cost.

Part of the SofaScore API: 28 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
sport football | basketball | tennis | ice-hockey | american-football | baseball | handball | volleyball | cricket | rugby | mma | motorsport | esports | table-tennis | darts | snooker | futsal | badminton | waterpolo | beach-volley | aussie-rules | bandy | floorball | minifootball | cycling Sport (default football). Example: football
date string YYYY-MM-DD. Without it, every category of the sport. Example: 2026-11-04
utc_offset integer Seconds east of UTC that define the day (default 0).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/sofascore/v1/categories?sport=football&date=2026-11-04" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"sport": "football","date": "2026-11-04","count": 128,"total_events": 1228,"categories": [{"id": 1,"name": "England","slug": "england","country_code": "EN","priority": 10,"total_events": 4,"unique_tournament_ids": [18,24]},{"id": 8,"name": "Denmark","slug": "denmark","country_code": "DK","priority": 0,"total_events": 2,"unique_tournament_ids": [23788]},"… 126 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.