The NHTSA Crash data Application Programming Interface (API) provides various ways to get crash data collected by DOT NHTSA’s Fatality Analysis Reporting System (FARS) program. The APIs are primarily targeted for developers, programmers or researchers interested in obtaining Crash statistics on Fatal Motor Vehicle Crashes. The API supports multiple data output formats, namely, XML, CSV/XLSX, JSV and JSON. FARS data starting from 2010 onwards is made available through this website. There are different APIs provided to make it easier to query specific data.
For non-developers that would like to query FARS data, please visit www-fars.nhtsa.dot.gov/querytool/
Fatality Analysis Reporting System (FARS) API
Output Format
Get Crash List Information
/crashes/GetCaseList?states=1,51&fromYear=2014&toYear=2015&minNumOfVehicles=1&maxNumOfVehicles=6&format=json
More Information
Less Information
This provides a list of fatal crashes that have occurred in multiple States in one or more years. In order to get the crashes occurred in multiple states,
please send in the State Numbers using comma as the delimiter. Please mention the FromYear and ToYear to include the multiple crash years data. Please try to limit the year range
as data limit has been set to 5000 records. Please look up state codes here.
Get Crash Details
/crashes/GetCaseDetails?stateCase=10003&caseYear=2014&state=1&format=json
More Information
Less Information
This provides details of a fatal crash that has occurred in a State for a given year. In order to get the details of a crash, please send in the State Number, Case Number and Case Year.
Get Crashes By Vehicle
/crashes/GetCrashesByVehicle?make=6&model=41&modelyear=2003&bodyType=4&fromCaseYear=2010&toCaseYear=2015
&state=21&format=json
More Information
Less Information
This provides a list of fatal crashes by vehicle type that have occurred throughout United States. In order to get the list of crashes,
please send in one or more vehicle details for Make, Model, Model Year, BodyType, FromCaseYear, ToCaseYear and State. Please try to limit
the year range as data limit has been set to 5000 records.
Get Crashes By Occupant
/crashes/GetCrashesByPerson?age=30&sex=2&seatPos=11&injurySeverity=2&fromCaseYear=2014&toCaseYear=2015&state=1
&includeOccupants=true&includeNonOccupants=true&format=json
More Information
Less Information
This provides a list of fatal crashes by occupant that have occurred throughout United States. In order to get the list of crashes,
please send in one or more occupant details for Age, Sex, Seat Position, InjurySeverity, FromCaseYear, ToCaseYear and State. Please try
to limit the year range as data limit has been set to 5000 records.
Get Crashes By Location
/crashes/GetCrashesByLocation?fromCaseYear=2014&toCaseYear=2015&state=1&county=1&format=json
More Information
Less Information
This provides a list of fatal crashes by location that have occurred throughout United States. In order to get the list of crashes,
please send in one or more location details for FromCaseYear, ToCaseYear, State and County. Please try to limit the year range
as data limit has been set to 5000 records.
Get Summary Counts
/analytics/GetInjurySeverityCounts?fromCaseYear=2014&toCaseYear=2015&state=1&format=json
More Information
Less Information
This provides a count of injury severity that have occurred throughout United States. In order to get the count of fatalities and crashes,
please send in the year range FromCaseYear and ToCaseYear.
Get Variables
/definitions/GetVariables?dataYear=2010&format=json
More Information
Less Information
This api returns the list of variables for the data year specified in the Dataset. Please send in the data year to get the list of variables for the specific year.
Get Variable Attributes
/definitions/GetVariableAttributes?variable=make&caseYear=2010&format=json
/definitions/GetVariableAttributesForModel?variable=model&caseYear=2010&make=49&format=json
/definitions/GetVariableAttributesForbodyType?variable=bodytype&make=20&model=4&format=json
More Information
Less Information
This list of api returns the list of variable attributes for the specified variable name or attributes for make model and body type specified in the Dataset.
Please use the appropriate api to get information for variable name or information on make or/and model or/and body type.
Get FARS Data By Year
/FARSData/GetFARSData?dataset=Accident&caseYear=2014&format=csv
More Information
Less Information
This exports the FARS data by given year (2010 - 2017). In order to get the FARS Data, please send in the Dataset Name and Case Year.
The following are the valid dataset names:
ACCIDENT, CEVENT, DAMAGE, DISTRACT, DRIMPAIR, FACTOR, MANEUVER, NMCRASH, NMIMPAIR, NMPRIOR, PARKWORK, PBTYPE, PERSON, SAFETYEQ, VEHICLE, VEVENT
VINDECODE, VINDERIVED, VIOLATION, VISION, VSOE