API Data

This is the API

Content Block Missing

LabelLinkExpires (s)Parameters
assetsdata/car/assets900
['image paths are relative to https://images-static.iracing.com/']
getdata/car/get900

Content Block Missing

LabelLinkExpires (s)Parameters
getdata/carclass/get900

Content Block Missing

LabelLinkExpires (s)Parameters
categoriesdata/constants/categories900
Constant; returned directly as an array of objects
divisionsdata/constants/divisions900
Constant; returned directly as an array of objects
event_typesdata/constants/event_types900
Constant; returned directly as an array of objects

Content Block Missing

LabelLinkExpires (s)Parameters
ovaldata/driver_stats_by_category/oval900
sports_cardata/driver_stats_by_category/sports_car900
formula_cardata/driver_stats_by_category/formula_car900
roaddata/driver_stats_by_category/road900
dirt_ovaldata/driver_stats_by_category/dirt_oval900
dirt_roaddata/driver_stats_by_category/dirt_road900

Content Block Missing

LabelLinkExpires (s)Parameters
combined_sessionsdata/hosted/combined_sessions60
LabelTypeNote
package_idnumberIf set, return only sessions using this car or track package ID.
Sessions that can be joined as a driver or spectator, and also includes non-league pending sessions for the user.
sessionsdata/hosted/sessions60
Sessions that can be joined as a driver. Without spectator and non-league pending sessions for the user.

Content Block Missing

LabelLinkExpires (s)Parameters
cust_league_sessionsdata/league/cust_league_sessions900
LabelTypeNote
minebooleanIf true, return only sessions created by this user.
package_idnumberIf set, return only sessions using this car or track package ID.
directorydata/league/directory900
LabelTypeNote
searchstringWill search against league name, description, owner, and league ID.
tagstringOne or more tags, comma-separated.
restrict_to_memberbooleanIf true include only leagues for which customer is a member.
restrict_to_recruitingbooleanIf true include only leagues which are recruiting.
restrict_to_friendsbooleanIf true include only leagues owned by a friend.
restrict_to_watchedbooleanIf true include only leagues owned by a watched member.
minimum_roster_countnumberIf set include leagues with at least this number of members.
maximum_roster_countnumberIf set include leagues with no more than this number of members.
lowerboundnumberFirst row of results to return. Defaults to 1.
upperboundnumberLast row of results to return. Defaults to lowerbound + 39.
sortstringOne of relevance, leaguename, displayname, rostercount. displayname is owners's name. Defaults to relevance.
orderstringOne of asc or desc. Defaults to asc.
getdata/league/get900
LabelTypeNote
league_idnumber
include_licensesbooleanFor faster responses, only request when necessary.
get_points_systemsdata/league/get_points_systems900
LabelTypeNote
league_idnumber
season_idnumberIf included and the season is using custom points (points_system_id:2) then the custom points option is included in the returned list. Otherwise the custom points option is not returned.
membershipdata/league/membership900
LabelTypeNote
cust_idnumberIf different from the authenticated member, the following resrictions apply: - Caller cannot be on requested customer's block list or an empty list will result; - Requested customer cannot have their online activity prefrence set to hidden or an empty list will result; - Only leagues for which the requested customer is an admin and the league roster is not private are returned.
include_leagueboolean
rosterdata/league/roster900
LabelTypeNote
league_idnumber
include_licensesbooleanFor faster responses, only request when necessary.
seasonsdata/league/seasons900
LabelTypeNote
league_idnumber
retiredbooleanIf true include seasons which are no longer active.
season_standingsdata/league/season_standings900
LabelTypeNote
league_idnumber
season_idnumber
car_class_idnumber
car_idnumberIf car_class_id is included then the standings are for the car in that car class, otherwise they are for the car across car classes.
season_sessionsdata/league/season_sessions900
LabelTypeNote
league_idnumber
season_idnumber
results_onlybooleanIf true include only sessions for which results are available.

Content Block Missing

LabelLinkExpires (s)Parameters
club_historydata/lookup/club_history900
LabelTypeNote
season_yearnumber
season_quarternumber
Returns an earlier history if requested quarter does not have a club history.
countriesdata/lookup/countries900
driversdata/lookup/drivers900
LabelTypeNote
search_termstringA cust_id or partial name for which to search.
league_idnumberNarrow the search to the roster of the given league.
getdata/lookup/get900
?weather=weather_wind_speed_units&weather=weather_wind_speed_max&weather=weather_wind_speed_min&licenselevels=licenselevels
licensesdata/lookup/licenses900

Content Block Missing

LabelLinkExpires (s)Parameters
awardsdata/member/awards900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
chart_datadata/member/chart_data900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
category_idnumber1 - Oval; 2 - Road; 3 - Dirt oval; 4 - Dirt road
chart_typenumber1 - iRating; 2 - TT Rating; 3 - License/SR
getdata/member/get900
LabelTypeNote
cust_idsnumbers?cust_ids=2,3,4
include_licensesboolean
infodata/member/info900
Always the authenticated member.
participation_creditsdata/member/participation_credits900
Always the authenticated member.
profiledata/member/profile900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.

Content Block Missing

LabelLinkExpires (s)Parameters
getdata/results/get900
LabelTypeNote
subsession_idnumber
include_licensesboolean
Get the results of a subsession, if authorized to view them. series_logo image paths are relative to https://images-static.iracing.com/img/logos/series/
event_logdata/results/event_log900
LabelTypeNote
subsession_idnumber
simsession_numbernumberThe main event is 0; the preceding event is -1, and so on.
lap_chart_datadata/results/lap_chart_data900
LabelTypeNote
subsession_idnumber
simsession_numbernumberThe main event is 0; the preceding event is -1, and so on.
lap_datadata/results/lap_data900
LabelTypeNote
subsession_idnumber
simsession_numbernumberThe main event is 0; the preceding event is -1, and so on.
cust_idnumberRequired if the subsession was a single-driver event. Optional for team events. If omitted for a team event then the laps driven by all the team's drivers will be included.
team_idnumberRequired if the subsession was a team event.
search_hosteddata/results/search_hosted900
LabelTypeNote
start_range_beginstringSession start times. ISO-8601 UTC time zero offset: "2022-04-01T15:45Z".
start_range_endstringISO-8601 UTC time zero offset: "2022-04-01T15:45Z". Exclusive. May be omitted if start_range_begin is less than 90 days in the past.
finish_range_beginstringSession finish times. ISO-8601 UTC time zero offset: "2022-04-01T15:45Z".
finish_range_endstringISO-8601 UTC time zero offset: "2022-04-01T15:45Z". Exclusive. May be omitted if finish_range_begin is less than 90 days in the past.
cust_idnumberThe participant's customer ID. Ignored if team_id is supplied.
team_idnumberThe team ID to search for. Takes priority over cust_id if both are supplied.
host_cust_idnumberThe host's customer ID.
session_namestringPart or all of the session's name.
league_idnumberInclude only results for the league with this ID.
league_season_idnumberInclude only results for the league season with this ID.
car_idnumberOne of the cars used by the session.
track_idnumberThe ID of the track used by the session.
category_idsnumbersTrack categories to include in the search. Defaults to all. ?category_ids=1,2,3,4
Hosted and league sessions. Maximum time frame of 90 days. Results split into one or more files with chunks of results. For scraping results the most effective approach is to keep track of the maximum end_time found during a search then make the subsequent call using that date/time as the finish_range_begin and skip any subsessions that are duplicated. Results are ordered by subsessionid which is a proxy for start time. Requires one of: start_range_begin, finish_range_begin. Requires one of: cust_id, team_id, host_cust_id, session_name.
search_seriesdata/results/search_series900
LabelTypeNote
season_yearnumberRequired when using season_quarter.
season_quarternumberRequired when using season_year.
start_range_beginstringSession start times. ISO-8601 UTC time zero offset: "2022-04-01T15:45Z".
start_range_endstringISO-8601 UTC time zero offset: "2022-04-01T15:45Z". Exclusive. May be omitted if start_range_begin is less than 90 days in the past.
finish_range_beginstringSession finish times. ISO-8601 UTC time zero offset: "2022-04-01T15:45Z".
finish_range_endstringISO-8601 UTC time zero offset: "2022-04-01T15:45Z". Exclusive. May be omitted if finish_range_begin is less than 90 days in the past.
cust_idnumberInclude only sessions in which this customer participated. Ignored if team_id is supplied.
team_idnumberInclude only sessions in which this team participated. Takes priority over cust_id if both are supplied.
series_idnumberInclude only sessions for series with this ID.
race_week_numnumberInclude only sessions with this race week number.
official_onlybooleanIf true, include only sessions earning championship points. Defaults to all.
event_typesnumbersTypes of events to include in the search. Defaults to all. ?event_types=2,3,4,5
category_idsnumbersLicense categories to include in the search. Defaults to all. ?category_ids=1,2,3,4
Official series. Maximum time frame of 90 days. Results split into one or more files with chunks of results. For scraping results the most effective approach is to keep track of the maximum end_time found during a search then make the subsequent call using that date/time as the finish_range_begin and skip any subsessions that are duplicated. Results are ordered by subsessionid which is a proxy for start time but groups together multiple splits of a series when multiple series launch sessions at the same time. Requires at least one of: season_year and season_quarter, start_range_begin, finish_range_begin.
season_resultsdata/results/season_results900
LabelTypeNote
season_idnumber
event_typenumberRetrict to one event type: 2 - Practice; 3 - Qualify; 4 - Time Trial; 5 - Race
race_week_numnumberThe first race week of a season is 0.

Content Block Missing

LabelLinkExpires (s)Parameters
listdata/season/list900
LabelTypeNote
season_yearnumber
season_quarternumber
race_guidedata/season/race_guide60
LabelTypeNote
fromstringISO-8601 offset format. Defaults to the current time. Include sessions with start times up to 3 hours after this time. Times in the past will be rewritten to the current time.
include_end_after_frombooleanInclude sessions which start before 'from' but end after.
spectator_subsessionidsdata/season/spectator_subsessionids60
LabelTypeNote
event_typesnumbersTypes of events to include in the search. Defaults to all. ?event_types=2,3,4,5
spectator_subsessionids_detaildata/season/spectator_subsessionids_detail60
LabelTypeNote
event_typesnumbersTypes of events to include in the search. Defaults to all. ?event_types=2,3,4,5
season_idsnumbersSeasons to include in the search. Defaults to all. ?season_ids=513,937

Content Block Missing

LabelLinkExpires (s)Parameters
assetsdata/series/assets900
['image paths are relative to https://images-static.iracing.com/']
getdata/series/get900
past_seasonsdata/series/past_seasons900
LabelTypeNote
series_idnumber
Get all seasons for a series. Filter list by official:true for seasons with standings.
seasonsdata/series/seasons900
LabelTypeNote
include_seriesboolean
stats_seriesdata/series/stats_series900
To get series and seasons for which standings should be available, filter the list by official: true.

Content Block Missing

LabelLinkExpires (s)Parameters
member_bestsdata/stats/member_bests900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
car_idnumberFirst call should exclude car_id; use cars_driven list in return for subsequent calls.
member_careerdata/stats/member_career900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
member_divisiondata/stats/member_division900
LabelTypeNote
season_idnumber
event_typenumberThe event type code for the division type: 4 - Time Trial; 5 - Race
Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Always for the authenticated member.
member_recapdata/stats/member_recap900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
yearnumberSeason year; if not supplied the current calendar year (UTC) is used.
seasonnumberSeason (quarter) within the year; if not supplied the recap will be fore the entire year.
member_recent_racesdata/stats/member_recent_races900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
member_summarydata/stats/member_summary900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
member_yearlydata/stats/member_yearly900
LabelTypeNote
cust_idnumberDefaults to the authenticated member.
season_driver_standingsdata/stats/season_driver_standings900
LabelTypeNote
season_idnumber
car_class_idnumber
club_idnumberDefaults to all (-1).
divisionnumberDivisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all.
race_week_numnumberThe first race week of a season is 0.
season_supersession_standingsdata/stats/season_supersession_standings900
LabelTypeNote
season_idnumber
car_class_idnumber
club_idnumberDefaults to all (-1).
divisionnumberDivisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all.
race_week_numnumberThe first race week of a season is 0.
season_team_standingsdata/stats/season_team_standings900
LabelTypeNote
season_idnumber
car_class_idnumber
race_week_numnumberThe first race week of a season is 0.
season_tt_standingsdata/stats/season_tt_standings900
LabelTypeNote
season_idnumber
car_class_idnumber
club_idnumberDefaults to all (-1).
divisionnumberDivisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all.
race_week_numnumberThe first race week of a season is 0.
season_tt_resultsdata/stats/season_tt_results900
LabelTypeNote
season_idnumber
car_class_idnumber
race_week_numnumberThe first race week of a season is 0.
club_idnumberDefaults to all (-1).
divisionnumberDivisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all.
season_qualify_resultsdata/stats/season_qualify_results900
LabelTypeNote
season_idnumber
car_class_idnumber
race_week_numnumberThe first race week of a season is 0.
club_idnumberDefaults to all (-1).
divisionnumberDivisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all.
world_recordsdata/stats/world_records900
LabelTypeNote
car_idnumber
track_idnumber
season_yearnumberLimit best times to a given year.
season_quarternumberLimit best times to a given quarter; only applicable when year is used.

Content Block Missing

LabelLinkExpires (s)Parameters
getdata/team/get900
LabelTypeNote
team_idnumber
include_licensesbooleanFor faster responses, only request when necessary.

Content Block Missing

LabelLinkExpires (s)Parameters
member_season_resultsdata/time_attack/member_season_results900
LabelTypeNote
ta_comp_season_idnumber
Results for the authenticated member, if any.

Content Block Missing

LabelLinkExpires (s)Parameters
assetsdata/track/assets900
['image paths are relative to https://images-static.iracing.com/']
getdata/track/get900