Frequently asked questions for Formula E v2
Click on the categories below or browse questions on the right panel.
Categories
.
Coverage
What races are covered in the Formula E API?
The entire Formula E Championship. For a more detailed breakdown, reference our Coverage Matrix.
Integration
What format are date fields presented in?
When we present date only values we present these in the ISO 8601 standard format.
ex: 2013-04-03
We use these for attributes that have date and no time (such as birthdate). For more information: https://en.wikipedia.org/wiki/ISO_8601
What format are the date/time fields presented in?
All of our Date/Time attributes are in UTC, presented in the ISO 8601 standard format.
ex: 2013-04-03T18:15:00+00:00
For more information: https://en.wikipedia.org/wiki/ISO_8601
How do I locate the TTL (Time to Live)/cache on an API endpoint?
The cache (in seconds) can be accessed in the returned header information on each RESTful API call, under cache-control
.
ex. cache-control: max-age=1, public, s-maxage=1
or
cache-control: public, must-revalidate, max-age=120
How do I know what 'stage' I am currently looking at?
Each stage has a stage
element. The stage
element has an attribute type
which displays the stage type. The valid stage types are listed here.
<stage id="sr:stage:686254" description="Australian Grand Prix 2021" scheduled="2021-11-19T01:30:00+00:00"
scheduled_end="2021-11-21T08:00:00+00:00" type="event" status="Cancelled" single_event="false">
"stages": [
{
"id": "sr:stage:686254",
"description": "Australian Grand Prix 2021",
"scheduled": "2021-11-19T01:30:00+00:00",
"scheduled_end": "2021-11-21T08:00:00+00:00",
"type": "event",
"status": "Cancelled",
"single_event": false,
"venue": {
"id": "sr:venue:1011",
"name": "Melbourne Grand Prix Circuit",
"city": "Melbourne",
"country": "Australia",
"coordinates": "-37.840089,144.953527",
"country_code": "AUS",
"length": 5303,
"url_official": "http://www.grandprix.com.au",
"debut": 1996,
"curves_left": 6,
"curves_right": 10,
"laps": 58,
"timezone": "Australia/Melbourne"
},
"stages": [
{
"id": "sr:stage:686256",
"description": "Practice 1",
"scheduled": "2021-11-19T01:30:00+00:00",
"scheduled_end": "2021-11-19T02:30:00+00:00",
"type": "practice",
"single_event": false
},
{
"id": "sr:stage:686258",
"description": "Practice 2",
"scheduled": "2021-11-19T05:00:00+00:00",
"scheduled_end": "2021-11-19T06:00:00+00:00",
"type": "practice",
"single_event": false
},
{
"id": "sr:stage:686260",
"description": "Practice 3",
"scheduled": "2021-11-20T03:00:00+00:00",
"scheduled_end": "2021-11-20T04:00:00+00:00",
"type": "practice",
"single_event": false
},
{
"id": "sr:stage:686262",
"description": "Qualification",
"scheduled": "2021-11-20T06:00:00+00:00",
"scheduled_end": "2021-11-20T07:00:00+00:00",
"type": "qualifying",
"single_event": false,
"stages": [
{
"id": "sr:stage:686264",
"description": "Q1",
"scheduled": "2021-03-20T00:00:00+00:00",
"scheduled_end": "2021-03-20T00:00:00+00:00",
"type": "qualifying_part",
"single_event": false
},
{
"id": "sr:stage:686266",
"description": "Q2",
"scheduled": "2021-03-20T00:00:00+00:00",
"scheduled_end": "2021-03-20T00:00:00+00:00",
"type": "qualifying_part",
"single_event": false
},
{
"id": "sr:stage:686268",
"description": "Q3",
"scheduled": "2021-03-20T00:00:00+00:00",
"scheduled_end": "2021-03-20T00:00:00+00:00",
"type": "qualifying_part",
"single_event": false
}
]
},
{
"id": "sr:stage:686270",
"description": "Race",
"scheduled": "2021-11-21T06:00:00+00:00",
"scheduled_end": "2021-11-21T08:00:00+00:00",
"type": "race",
"single_event": false
}
]
},
How do I retrieve information about an individual driver?
Use the Competitor Profile endpoint with the required driver's competitor ID. The best place to get the driver's competitor ID is the Stage Summary endpoint, using the season stage ID.
Stage Types
What are the valid stage types?
sport
season
event
practice
qualifying
race
Race & Result Statuses
What are the valid statuses of a race or stage?
Cancelled
- The stage is cancelled and will not be taking placeClosed
- The stage is over and we have validated the resultsCompleted
- The stage is over, but we have not finished data collection and validationFinished
- The stage is overNot Started
- The stage has not begunPreliminary
- The stage is about to beginRunning
- The stage is currently in progress
What are the valid result statuses?
Finished
Out
Probabilities
Where are the race probabilities for Formula E?
At this time, Sportradar only provides probabilities at the championship level for Formula E.
How do I get probabilities for the entire Championship? Or only one race?
You can use season, event, and race stage IDs as parameters for the Stage Probabilities endpoint.
Probabilities are available for the individual driver to win the season, a single event, and race stage. Probabilities are not available on the Sport, Practice, Qualifying, or Lap stages.
Standings
How do I see the Championship points table?
Use the Stage Summary endpoint and a season stage ID as the parameter. The competitors
node lists competitors, ranked with points, position, victories, races, races with points, and podiums.
<competitors>
<competitor id="sr:competitor:561360" name="Dennis, Jake" gender="male" nationality="Great Britain" country_code="GBR">
<team id="sr:competitor:422431" name="Avalanche Andretti Formula E" gender="male" nationality="USA" country_code="USA"/>
<result points="229" car_number="27" position="1" victories="2" races="16" races_with_points="12" pole_positions="2" podiums="11" fastest_laps="5" victory_pole_and_fastest_lap="1"/>
</competitor>
<competitor id="sr:competitor:643838" name="Cassidy, Nick" gender="male" nationality="New Zealand" country_code="NZL">
<team id="sr:competitor:422439" name="Envision Racing" gender="male" nationality="Great Britain" country_code="GBR"/>
<result points="199" car_number="37" position="2" victories="4" races="16" races_with_points="12" pole_positions="1" podiums="8" fastest_laps="1"/>
</competitor>
<competitor id="sr:competitor:417089" name="Evans, Mitch" gender="male" nationality="New Zealand" country_code="NZL">
More questions?
Reach out to [email protected] for further assistance.