Skip to main content
GET
List matches
Start here to get the match_id that every other match endpoint needs. Recipes with code: Fixtures and results.

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer YOUR_API_KEY. Get one at https://www.thestatsapi.com/api-keys

Query Parameters

page
integer
default:1

Page number, starting at 1. meta.total_pages tells you how many there are

Required range: x >= 1
per_page
integer
default:20

Results per page (default 20, max 100). The older name limit also works the same way

Required range: 1 <= x <= 100
competition_id
string

Only matches in this competition

season_id
string

Only matches in this season. If you also send competition_id, the season must belong to it or you get 400 SEASON_COMPETITION_MISMATCH

team_id
string

Only matches this team plays in, home or away

date_from
string<date>

Kickoff on or after this date, YYYY-MM-DD. Days are read in the utc_offset time zone (UTC by default)

date_to
string<date>

Kickoff on or before the end of this date, YYYY-MM-DD. Must not be earlier than date_from

utc_offset
string
default:+00:00

Time zone offset for reading date_from and date_to, as +HH:MM or -HH:MM (hours up to 14). Defaults to +00:00 (UTC). Kickoff times in the response are always UTC

Pattern: ^[+-](?:0?\d|1[0-4]):[0-5]\d$
matchday
integer

Round number in a league season (positive integer)

Required range: x >= 1
status
enum<string>

Match status

Available options:
scheduled,
live,
finished,
postponed,
cancelled
stage
enum<string>
default:all

regular returns league and group-stage matches only. playoff returns knockout and play-off matches only (for example Champions League knockout rounds or Championship play-offs). all (default) returns both

Available options:
regular,
playoff,
all
group
enum<string>

Group letter A to L (case-insensitive) for tournaments with a group stage, such as the FIFA World Cup. Requires competition_id; without it you get 400

Available options:
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L
sort
enum<string>
default:-utc_date

Kickoff order. -utc_date (default) is newest first. utc_date is soonest first; use it with status=scheduled for upcoming fixtures. Matches with the same kickoff are ordered by match ID, so pages are stable

Available options:
-utc_date,
utc_date

Response

A page of matches.

data
object[]
meta
object