A REST API providing access to racing data -- events, tracks, drivers, and series.
/v1
Auth: Bearer API key
Rate limit: 100 req / 15 min
Endpoints under /v1 require an API key, passed as a bearer token:
Authorization: Bearer <key>
Keys are issued per person/company and checked against a stored hash on each request. A key stops working once its expiration date passes.
Returns { "status": "ok" }. Not rate-limited, no auth required.
Upcoming events (event_date >= today), ordered ascending.
Query params: trackId, season
Past events, ordered descending.
Query params: trackId, season
Get an event by ID.
Entrants for an event, grouped by series.
Query params: seriesId
Results for an event, grouped by series then race (heat, B main, feature, etc.), ordered by
each race's race_type_order.
Query params: seriesId, raceId
List tracks.
Query params: city, state (name or abbreviation),
country, postalCode
Get a track by ID.
List drivers.
Query params: city, state (name or abbreviation),
country, status
Get a driver by ID.
List all racing entities (series and non-series entities).
Query params: name (partial match), vehicleClass
List only WRG series (inner join on wrg_series).
Get a racing entity by ID.
Every error response has the shape:
{ "error": { "code": "...", "message": "..." } }