vehicles

get/vehicles/bySearch

Request

  • Base URL: https://api.nhtsa.gov (the document declares no server; this is the origin it was published from)
  • URL: https://api.nhtsa.gov/vehicles/bySearch
  • Auth: none declared

Query parameters

querystring required

A fuzzy search query to search with

allKeywordsboolean

match must have all keywords. true or false. defaults to true

datastring

A comma separated list of data to return (crashtestratings, safetyfeatures, recommendedfeatures, complaints, recalls, investigations, manufacturercommunications, none, all), defaults to 'crashtestratings'.

productDetailstring

Valid inputs: [minimal], [all] without brackets. Choose which detail level to show. defaults to: [all]

dateStartstring date

Find vehicles manufactured since this date (inclusive). Format: yyyy-MM-dd

dateEndstring date

Find vehicles manufactured up to this date (inclusive). Format: yyyy-MM-dd

sortstring

The column to sort records by. Valid inputs: ['overallRating', 'overallFrontCrashRating', 'overallSideCrashRating', 'rolloverRating', 'recallsCount', 'investigationsCount', 'complaintsCount', 'manufacturerCommunicationsCount']

orderstring

Which direction the 'sort' parameter is applied, valid inputs: [asc, desc]

filterstring

Filter the response by the specified field. Valid inputs: [vehicleClass]

filterValuestring

The value to use as a filter. Valid inputs: [SUV, TRUCK, PASSENGERCAR, VAN, BUS]

maxinteger

The maximum number of records to return, upper bound: 50.

offsetinteger

The offset of the records listing (for pagination).

Response

Paginated list of vehicles whose make, model, year, or trim match the supplied search query.

Changes

No recorded changes to this operation across all 1 revision of this API.