SofaScore team matches

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

A team's latest results (last) or upcoming fixtures (next) in every competition. Pass next_page back as page; null on the last page.

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
team_idrequired string SofaScore team id or a team link (sofascore.com/football/team/arsenal/42). 42 = Arsenal. Example: 42
direction last | next last (default) or next.
page integer Page, from 0. Pass next_page back as page; null on the last page.

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

Example

curl "https://api.api.sh/sofascore/v1/team/matches?team_id=42" \
  -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)

{"team_id": 42,"direction": "last","page": 0,"count": 30,"next_page": 1,"events": [{"id": 14025021,"custom_id": "Rkb","slug": "bournemouth-arsenal","url": "https://www.sofascore.com/football/match/bournemouth-arsenal/Rkb#id:14025021","sport": "football","start_time": "2026-04-11T11:30:00.000Z","status": "finished","status_description": "Ended","status_code": 100,"home_team": {"id": 42,"name": "Arsenal","short_name": "Arsenal","code": "ARS","slug": "arsenal","country": "England","url": "https://www.sofascore.com/football/team/arsenal/42","logo": "https://img.sofascore.com/api/v1/team/42/image"},"away_team": {"id": 60,"name": "Bournemouth","short_name": "Bournemouth","code": "BOU","slug": "bournemouth","country": "England","url": "https://www.sofascore.com/football/team/bournemouth/60","logo": "https://img.sofascore.com/api/v1/team/60/image"},"home_score": 1,"away_score": 2,"winner": "away","tournament": {"id": 17,"name": "Premier League","slug": "premier-league"},"category": {"id": 1,"name": "England","country_code": "EN"},"season": {"id": 76986,"name": "Premier League 25/26","year": "25/26"},"round": 32},{"id": 15632631,"custom_id": "Rsbkb","slug": "sporting-cp-arsenal","url": "https://www.sofascore.com/football/match/sporting-cp-arsenal/Rsbkb#id:15632631","sport": "football","start_time": "2026-04-15T19:00:00.000Z","status": "finished","status_description": "Ended","status_code": 100,"home_team": {"id": 42,"name": "Arsenal","short_name": "Arsenal","code": "ARS","slug": "arsenal","country": "England","url": "https://www.sofascore.com/football/team/arsenal/42","logo": "https://img.sofascore.com/api/v1/team/42/image"},"away_team": {"id": 3001,"name": "Sporting CP","short_name": "Sporting","code": "SCP","slug": "sporting","country": "Portugal","url": "https://www.sofascore.com/football/team/sporting/3001","logo": "https://img.sofascore.com/api/v1/team/3001/image"},"home_score": 0,"away_score": 0,"winner": "draw","tournament": {"id": 7,"name": "UEFA Champions League","slug": "uefa-champions-league"},"category": {"id": 1465,"name": "Europe","country_code": null},"season": {"id": 76953,"name": "UEFA Champions League 25/26","year": "25/26"},"round": 27},"… 28 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.