Frequently asked questions for MotoGP v2
Click on the categories below or browse questions on the right panel.
Categories
.
Coverage
What races are covered in the MotoGP API?
The entire MotoGP, Moto2, Moto3, and Superbike championships. For a more detailed breakdown, reference our Coverage Matrix.
Is it updated in real-time?
No, the MotoGP API provides only post-event updates.
Does this API include Qualifying and Practice sessions?
Yes, qualifying and practice sessions are updated post-event.
Integration
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.
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
}
]
},
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
Stage Types
What are the valid stage types?
sport
season
event
practice
qualifying
qualifying_part
spring_race
race
Stage & Driver 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
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:93533" name="Bagnaia, Francesco" gender="male" nationality="Italy" country_code="ITA">
<team id="sr:competitor:4567" name="Ducati Lenovo Team" gender="male" nationality="Italy" country_code="ITA"/>
<result points="412" bike_number="63" position="1" victories="10" races="34" races_with_points="28" pole_positions="8" podiums="26" fastest_laps="7" victory_pole_and_fastest_lap="5"/>
</competitor>
<competitor id="sr:competitor:192704" name="Martin, Jorge" gender="male" nationality="Spain" country_code="ESP">
<team id="sr:competitor:22039" name="Prima Pramac Racing" gender="male" nationality="Italy" country_code="ITA"/>
<result points="398" bike_number="89" position="2" victories="11" races="35" races_with_points="31" pole_positions="5" podiums="20" fastest_laps="5" victory_pole_and_fastest_lap="2"/>
</competitor>
<competitor id="sr:competitor:197398" name="Bezzecchi, Marco" gender="male" nationality="Italy" country_code="ITA">
More questions?
Reach out to [email protected] for further assistance.