SofaScore API endpoint
Returns the events (matches) in one category, such as a country, that start on a UTC date, ordered by start time. Get the category `id` from the categories endpoint (or `category_id` from scheduled-tournaments). `date` must be a real calendar date written `YYYY-MM-DD` and is a UTC day; to cover a local day in another timezone, request the neighbouring dates and filter on `start_timestamp`. An empty `events` list is a valid response when the category has no fixtures that day. Returns 404 for an unknown category id.
/sofascore/scheduled-eventsReturns the events (matches) in one category, such as a country, that start on a UTC date, ordered by start time. Events use the same shape as live-events, team-events, and round-events.
Query parameters:
category_id: required. Numeric SofaScore category id, taken from the categories endpoint (or category_id from scheduled-tournaments), for example 13 for Brazil football.date: required. UTC calendar date written YYYY-MM-DD. Impossible dates (2026-02-30), other formats, and extra text are rejected before any upstream request.Notable response behavior:
date is a UTC day. SofaScore answers a date request with every event whose local day matches in any timezone (roughly the previous evening to the next afternoon UTC); this endpoint keeps only events whose start_timestamp falls inside the requested UTC day, so count matches the event_count totals of scheduled-tournaments. To cover another timezone's local day, request the neighbouring dates and filter on start_timestamp.events array is a valid response when the category has no fixtures that UTC day.| Field | Filled in, of 27 checked | Values in the sample |
|---|---|---|
| id | 27 | |
| slug | 27 | |
| start_timestamp | 27 | 2026-10-13 |
| start_time | 27 | 2026-10-13 |
| status | 27 | |
| tournament | 27 | |
| home_team | 27 | |
| away_team | 27 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| category_id | string | Yes | Numeric SofaScore category id from the categories endpoint | 13 | |
| date | string | Yes | UTC calendar date, YYYY-MM-DD | 2026-10-08 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/sofascore/scheduled-events?category_id=13&date=2026-10-08" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"category_id": 13,
"date": "2026-10-08",
"count": 1,
"source_url": "https://api.sofascore.com/api/v1/category/13/scheduled-events/2026-10-08",
"fetched_at": "2026-10-07T14:00:00Z",
"events": [
{
"id": 15237995,
"slug": "sao-paulo-cruzeiro",
"start_timestamp": 1791419400,
"start_time": "2026-10-08T00:30:00Z",
"status": {
"code": 0,
"description": "Not started",
"type": "notstarted"
},
"tournament": {
"id": 83,
"name": "Campeonato Brasileiro Série A",
"category": "Brazil",
"unique_tournament_id": 325,
"unique_tournament_name": "Campeonato Brasileiro Série A"
},
"home_team": {
"id": 1954,
"name": "Cruzeiro",
"short_name": "Cruzeiro",
"slug": "cruzeiro",
"country": "Brazil"
},
"away_team": {
"id": 1981,
"name": "São Paulo",
"short_name": "São Paulo",
"slug": "sao-paulo",
"country": "Brazil"
}
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.scheduledEventsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.ScheduledEventsResponse | No | ||||
| data.category_id | integer | No | ||||
| data.count | integer | No | ||||
| data.date | string | No | 2026-10-08 | |||
| data.events | array | No | EventSummary record, 38 fields: away_score, away_team, home_score, home_team, id, slug, start_time, start_timestamp, status, tournament, winner_code. Described under SofaScore live events API. | |||
| data.fetched_at | string | No | ||||
| data.source_url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/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/sofascore/scheduled-events?category_id=13&date=2026-10-08" \
-H "x-api-key: $CRAWLORA_API_KEY"