Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Docs

IndyCar Overview

Introduction

The IndyCar API provides schedules and post-race results for the entire IndyCar Series. All data is collected via Sportradar’s expert operators.

Select the IndyCar package in our Coverage Matrix for events and data offered.

This API uses a descending, stage-based structure. By changing the stage ID, you can retrieve information on a season, event, race, or any of the practice or qualifying stages.

Additional feeds provide complementary stats, including racer profiles and race win probabilities.

🗝️

Authentication is required for all API calls.



Stage Format

The core of this API is built around the concept of stages. For example, an event may contain the following stage types: practice, qualifying, and race. Each of those stages, in turn, have stages. The IDs of each stage are usable in the Stage Summary path to request information about that particular stage.

See the below Stage Types table for all available stage types, their sub-stages, and their definitions.

The best way to start the navigation with the IndyCar API is the Seasons endpoint. From there, obtain the stage ID for the season required and use that in the Stage Summary as a starting point into the sub-stages.


Stage Types

Stage Type

Information Included

Sub-stages

Sport

sport

sr:stage:295065

Information about the seasons included. Limited to the current and previous season only.

  • Note probabilities do not return valid data on this stage.

IndyCar seasons

Season

season

Contains the season schedule, driver standings and statistics.

Events on the IndyCar calendar for that season

Event

event

Information about a single event, the competitors, the teams, and the circuit.

Sessions (eg: Practice, Qualifying, Race)

Practice

practice

Competitors and results of practice such as fastest time etc.

None

Qualifying

qualifying

Information pertaining to the qualifying stage of the event including conditions, competitors, and overall qualifying results.

Qualifying Parts

Qualifying Part

qualifying_part

Information about the individual qualifying parts of the overall qualifying stage such as conditions, competitors, and results.

None

Race

race

Details of the race itself including the competitors, lap by lap, and overall results.

Laps

Lap

lap

Specific details on individual laps such as driver positions, times, etc. Note probabilities do not return valid data on this stage.

None



API Map


Endpoint Descriptions

Competitor Merge Mappings - Provides the valid Sportradar Id in cases when two competitors have been merged into one.

Competitor Profile – Provides biographical information for a given driver. 

Deleted Stages - Provides all deleted stages within a given season.

Seasons - Provides a complete historical list of available seasons. This is the starting point for the IndyCar API. 

Stage Probabilities – Provides the outrights for each driver for a given race. 

Stage Schedule – Provides schedule information for a given stage. 

Stage Summary – Provides schedules and results information based on the stage provided (season, event, practice, qualifying, qualifying part, or race).


Data Retrieval Sample

To find the win probabilities for a given race:

  1. Call the Seasons endpoint and find the Stage Id for the current season
  2. Call the Stage Schedule using the 'season' Stage Id
  3. Locate the Stage Id for the upcoming race
  4. Call the Stage Probabilities using the 'race' Stage Id
  5. Within the results locate the win probability for each racer

The probability of a win for each racer is displayed.



Integration Links


OpenAPI Spec

Our IndyCar API is available via OpenAPI. Click below to view and/or download the spec.

IndyCar v2 OpenAPI


Postman Workspace

Our entire Media APIs are available on Postman. Click the link above to be taken directly to our Indycar API collection.

Feel free to follow and/or fork any collections to receive updates.


Schema Download

Open the zip file below to access our entire Indycar API XSD schema.

Indycar v2 Schema