Skip to content
API v2 docs

Races & series

Race calendar

GET

/v2/races/calendar

All plans

Markdown copyOpen in the playground →

A whole month of a race sport in one call: each UTC day that has at least one session, with the ids of the races running that day. Built for month views in motorsport and cycling. Available since 2026-11-20.

Days without a session are left out, and meta.count is the number of days returned. A race weekend appears under every day on which one of its sessions starts. Duplicate race entries the source files under a second series that never runs are left out (since 2026-11-25). The ids resolve on /v2/races/{id}; for one day with the races themselves, use /v2/races?date=.

Parameters

sport

queryrequired

motorsport | cycling

month

queryrequired

UTC month in YYYY-MM format

Response

meta
sport, month, count (days)
errors
400 bad_request — the month is missing or not YYYY-MM, or the sport is not one of the race sports403 history_not_in_plan — your plan’s history does not reach back to that month

The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.

curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/races/calendar?month=…&sport=…"
Example
{ "data": [ { "date": "2026-11-20", "raceIds": [697366, 703278] }, { "date": "2026-11-21", "raceIds": [703278, 697366] }, … ],
  "meta": { "sport": "motorsport", "month": "2026-11", "count": 14 } }