SofaScore matches by date
Every event on a day, for one tournament (tournament_id, from /sofascore/v1/scheduled-tournaments), one category or country (category_id, from /sofascore/v1/categories), or, with neither, the day's most followed tournaments of sport (top, default 10): id, link, start time, status, teams, score, winner, tournament, season, round and the full record under raw. The day is UTC unless utc_offset is set.
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
| name | type | description |
|---|---|---|
date | string | YYYY-MM-DD (default today). Example: 2026-11-04 |
tournament_id | string | Unique-tournament id (7 = UEFA Champions League) or tournament link. Example: 7 |
category_id | string | Category id (1 = England, 1465 = Europe). |
sport | string | Sport for the most-followed-tournaments mode (default football; same values as /sofascore/v1/live). |
top | integer | How many of the day's most followed tournaments, 1-20 (default 10), when neither id is given. |
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/matches?date=2026-11-04&tournament_id=7" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/sofascore/v1/matches",
params={"date": "2026-11-04", "tournament_id": "7"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/sofascore/v1/matches");
url.searchParams.set("date", "2026-11-04");
url.searchParams.set("tournament_id", "7");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); 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)
{"date": "2026-11-04","utc_offset": 0,"tournament_id": 7,"category_id": null,"count": 9,"events": [{"id": 16939047,"custom_id": "Egbsapb","slug": "aek-athens-real-madrid","url": "https://www.sofascore.com/football/match/aek-athens-real-madrid/Egbsapb#id:16939047","sport": "football","start_time": "2026-11-04T17:45:00.000Z","status": "notstarted","status_description": "Not started","status_code": 0,"home_team": {"id": 3250,"name": "AEK Athens","short_name": "AEK","code": "AEK","slug": "aek-athens","country": "Greece","url": "https://www.sofascore.com/football/team/aek-athens/3250","logo": "https://img.sofascore.com/api/v1/team/3250/image"},"away_team": {"id": 2829,"name": "Real Madrid","short_name": "Real Madrid","code": "RMA","slug": "real-madrid","country": "Spain","url": "https://www.sofascore.com/football/team/real-madrid/2829","logo": "https://img.sofascore.com/api/v1/team/2829/image"},"home_score": null,"away_score": null,"winner": null,"tournament": {"id": 7,"name": "UEFA Champions League","slug": "uefa-champions-league"},"category": {"id": 1465,"name": "Europe","country_code": null},"season": {"id": 96518,"name": "UEFA Champions League 26/27","year": "26/27"},"round": 4},{"id": 16938962,"custom_id": "Usclb","slug": "fenerbahce-liverpool-fc","url": "https://www.sofascore.com/football/match/fenerbahce-liverpool-fc/Usclb#id:16938962","sport": "football","start_time": "2026-11-04T17:45:00.000Z","status": "notstarted","status_description": "Not started","status_code": 0,"home_team": {"id": 3052,"name": "Fenerbahçe","short_name": "Fenerbahçe","code": "FEN","slug": "fenerbahce","country": "Türkiye","url": "https://www.sofascore.com/football/team/fenerbahce/3052","logo": "https://img.sofascore.com/api/v1/team/3052/image"},"away_team": {"id": 44,"name": "Liverpool FC","short_name": "Liverpool","code": "LIV","slug": "liverpool","country": "England","url": "https://www.sofascore.com/football/team/liverpool/44","logo": "https://img.sofascore.com/api/v1/team/44/image"},"home_score": null,"away_score": null,"winner": null,"tournament": {"id": 7,"name": "UEFA Champions League","slug": "uefa-champions-league"},"category": {"id": 1465,"name": "Europe","country_code": null},"season": {"id": 96518,"name": "UEFA Champions League 26/27","year": "26/27"},"round": 4},"… 7 more"],"cached": false,"credits_used": 1}