GET /v1/date/{date} returns every match on one UTC date. It is the endpoint to call when you know the day and nothing else, and the IDs it returns are what the match endpoints take. The date is YYYY-MM-DD in UTC, not the caller's local day.
The status filter decides what comes back. Omitted, it returns played matches only, which is what the endpoint did before fixtures existed. upcoming returns fixtures not yet played with a null score and status of not_started; all returns both.
A league's fixtures are also available from the league endpoint, which is the better call when you already know the competition. For a day across every competition, this is the one.
Endpoint
Every request takes an X-API-KEY header and returns the JSON envelope described on the overview.
List matches by date
The covered matches on that day. The usual entry point for browsing: take a match ID and follow it into the match endpoints. The list is the same for every plan; a match older than the free window still answers 403 when you open it. Dates before the window answer 403 here. By default only played matches are returned, so a future date is empty unless you pass `status=upcoming` or `status=all` for the fixtures.
datestringrequiredCalendar date as YYYY-MM-DD
statusstringWhich matches to return: played (default — settled results only), upcoming (fixtures not yet played, with a null score and status not_started), or all. Omit it to keep the historical played-only response.
curl https://api.pitchapi.dev/v1/date/{date} \
-H "X-API-KEY: $PITCH_KEY"Common questions
- Which timezone is the date in?
- UTC. A match at 00:30 local time can belong to the previous UTC date, so compute the date on the server rather than from a visitor's clock.
- Why are there no upcoming matches by default?
- The default is played only, matching the endpoint's original behaviour. Pass
status=upcomingfor fixtures orstatus=allfor both.