Outlap

API

Outlap's schedule is available as a free, read-only JSON API and as iCalendar feeds. No key or sign-up is needed, and requests are allowed from any origin. Base URL:

https://outlap.lol/api/v1

The full description is available as OpenAPI 3.1, which you can load into most API clients and code generators.

Fair use

  • The schedule is rebuilt about once an hour and responses are cached for five minutes, so there is no point polling more often than that. If you serve many users, fetch once on your server rather than from every client.
  • More than 30 requests to /api/ within 10 seconds from one IP address are blocked for 10 seconds with status 429, whose body is not JSON. Wait and retry; paging through the whole schedule takes only a few requests.
  • Send a descriptive User-Agent if you can, so heavy traffic can be traced to you rather than blocked.
  • Schedules come from series sites and Wikipedia, and change without notice. Treat them as a guide and check the series' own site for anything that matters. Mentioning Outlap is appreciated but not required.

Times and events

All times are UTC, in ISO 8601. An event is a race weekend or a rally; its sessions are the practice, qualifying and race sessions in order. Most organisers publish only start times, so estimatedEnd marks an end time Outlap has estimated.

Until a timetable is published, an event is allDay: start and end are then dates (end inclusive) and sessions is empty. Previous years' times are never used as a guess. Event ids are stable across refreshes, so you can store them.

{
  "id": "dakar-2026",
  "series": "dakar",
  "name": "Dakar Rally 2026",
  "location": "Saudi Arabia",
  "start": "2026-01-03",
  "end": "2026-01-17",
  "allDay": true,
  "url": "https://en.wikipedia.org/wiki/2026_Dakar_Rally",
  "calendarUrl": "https://outlap.lol/calendar.ics?event=dakar-2026",
  "sessions": []
}

Endpoints

GET /events

Events overlapping a time window, ordered by start, in pages of up to 100. With no filters, it covers every event in the current and next season.

ParameterDescription
seriesComma-separated series ids, such as f1,motogp. Defaults to all series.
fromOnly events ending after this point. A date (2026-03-01) means midnight UTC; a date-time needs an offset (2026-03-01T12:00:00+02:00).
toOnly events starting before this point. A date includes the whole UTC day.
sessionsall (default), main (qualifying, sprint, race) or races (sprint, race). Timed events left with no sessions are dropped.
limitEvents per page, from 1 to 500. Defaults to 100.
cursorThe nextCursor from the previous page.
curl 'https://outlap.lol/api/v1/events?series=f1&from=2026-03-01&to=2026-03-08&sessions=main'
{
  "generatedAt": "2026-11-22T06:58:31.087Z",
  "events": [
    {
      "id": "f1-2026-1",
      "series": "f1",
      "name": "Australian Grand Prix",
      "round": 1,
      "location": "Albert Park Grand Prix Circuit, Melbourne, Australia",
      "start": "2026-03-06T01:30:00.000Z",
      "end": "2026-03-08T06:00:00.000Z",
      "allDay": false,
      "url": "https://en.wikipedia.org/wiki/2026_Australian_Grand_Prix",
      "calendarUrl": "https://outlap.lol/calendar.ics?event=f1-2026-1",
      "sessions": [
        {
          "name": "Qualifying",
          "kind": "qualifying",
          "start": "2026-03-07T05:00:00.000Z",
          "end": "2026-03-07T06:00:00.000Z",
          "estimatedEnd": true
        },
        {
          "name": "Race",
          "kind": "race",
          "start": "2026-03-08T04:00:00.000Z",
          "end": "2026-03-08T06:00:00.000Z",
          "estimatedEnd": true
        }
      ]
    }
  ],
  "nextCursor": null
}

nextCursor is null on the last page. Otherwise, request the same URL with cursor set to it to get the next page, keeping the other parameters unchanged. Cursors stay valid when the schedule refreshes between pages: you get the events after the last one you received. Don't build or edit cursors yourself; their format may change.

GET /events/{id}

One event with all its sessions, as { "generatedAt", "event" }. Unknown ids return 404.

GET /series

Every series with its id, full name, short name, brand color and group.

GET /status

When the schedule was built (generatedAt) and, for each data source, whether its last refresh worked and when the data now served was fetched. A failed source keeps serving its last good data.

Errors

Invalid parameters return 400 and unknown events 404, with a JSON body:

{ "error": { "status": 400, "message": "Unknown series: f9" } }

Example

const url = new URL('https://outlap.lol/api/v1/events?series=f1&sessions=races&from=2026-03-01');
const events = [];
for (let cursor = null; ; ) {
  if (cursor) url.searchParams.set('cursor', cursor);
  const page = await (await fetch(url)).json();
  events.push(...page.events);
  cursor = page.nextCursor;
  if (!cursor) break;
}
for (const e of events) console.log(e.name, e.sessions.at(-1)?.start);

Calendar feeds

To put races in a calendar app rather than your own code, subscribe to https://outlap.lol/calendar.ics. It takes series and sessions as above, plus alarm (minutes of warning before each session). Each event's calendarUrl is a feed of that event alone. Add download=1 to download a file instead of opening it.

Versioning

Within /v1, fields and series may be added but none will be removed or change meaning; ignore fields you don't know. Breaking changes get a new version, with the old one kept running for a while. /api/events, which predates this API, is deprecated: switch to /api/v1/events. Questions and requests go to GitHub.

Series ids

IdSeries
f1Formula 1
f2Formula 2
f3Formula 3
f1academyF1 Academy
formulaeFormula E
indycarIndyCar
indynxtIndy NXT
superformulaSuper Formula
sflSuper Formula Lights
frecaFormula Regional European Championship
euroformulaEuroformula Open
gb3GB3 Championship
macauMacau Grand Prix
nascarNASCAR Cup Series
oreillyNASCAR O'Reilly Auto Parts Series
truckNASCAR Craftsman Truck Series
arcaARCA Menards Series
motogpMotoGP
moto2Moto2
moto3Moto3
worldsbkSuperbike World Championship
worldsspSupersport World Championship
bsbBritish Superbike Championship
iomttIsle of Man TT
nw200North West 200
sgpFIM Speedway Grand Prix
mxgpFIM Motocross World Championship
supercrossAMA Supercross
promxAMA Pro Motocross
smxSuperMotocross World Championship
trialgpFIM Trial World Championship
endurogpFIM Enduro World Championship
wecFIA WEC
elmsEuropean Le Mans Series
almsAsian Le Mans Series
lemanscupMichelin Le Mans Cup
imsaIMSA SportsCar Championship
igtcIntercontinental GT Challenge
nlsNürburgring Langstrecken-Serie
n24Nürburgring 24 Hours
h2424H Series
supertaikyuSuper Taikyu Series
dtmDTM
supergtSuper GT
gtwceGT World Challenge Europe
gtwcaGT World Challenge America
gtwcasiaGT World Challenge Asia
gtwcausGT World Challenge Australia
britishgtBritish GT Championship
gtmastersADAC GT Masters
supercupPorsche Supercup
btccBritish Touring Car Championship
supercarsSupercars Championship
tcrTCR World Tour
wrcWorld Rally Championship
ercEuropean Rally Championship
dakarDakar Rally
w2rcWorld Rally-Raid Championship
rallycrossFIA Rallycross
nhraNHRA Drag Racing Series
formuladriftFormula Drift
pikespeakPikes Peak International Hill Climb

Back to the calendar