NHTSA API
Overview
The NHTSA vPIC API provides free access to the U.S. National Highway Traffic Safety Administration's vehicle product information catalog, including VIN decoding, make/model lookups, and recall data. No API key is required, making it one of the easiest vehicle APIs to start using. It is the official government source for vehicle identification in the United States.
Beginner Tip
The most useful endpoint for beginners is the VIN decoder — just pass any U.S. vehicle's 17-character VIN and get back detailed specs including make, model, year, engine, and body style. Always append ?format=json to get JSON instead of XML.
Available Data
Example Response
{
"make": "Toyota",
"model": "Camry",
"year": 2025,
"engine": "2.5L 4-cylinder",
"fuel_economy": {
"city_mpg": 28,
"highway_mpg": 39
},
"msrp": 28400
} Field Reference
Results Array of decoded vehicle attribute objects, each with Variable, Value, and VariableId fields. Variable Name of the vehicle attribute (e.g., "Make", "Model", "Model Year", "Body Class"). Value Decoded value for the corresponding variable — may be null if not determinable from the VIN. Count Total number of result records returned in this response. Message Status message from the API (e.g., "Results returned successfully"). ErrorCode Error code if the VIN could not be fully decoded — "0" means no errors. Implementation Example
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://vpic.nhtsa.dot.gov/api/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Brazilian Vehicles and Prices
⭐ Beginner's PickThis API provides official vehicle pricing data from FIPE (Fundacao Instituto de Pesquisas Economicas), Brazil's most trusted automotive price guide.
Helipaddy sites
Helipaddy provides a directory API for helicopter landing sites and passenger drone pads, including GPS coordinates, access restrictions, and contact details.
Kelley Blue Book
Kelley Blue Book (KBB) is one of America's most trusted vehicle valuation services, and its API gives access to car pricing, configurations, and detailed vehicle data.
Mercedes-Benz
The Mercedes-Benz API platform provides access to connected vehicle features including telematics data, remote vehicle controls, car configurator, and dealer locator services.
Smartcar
Smartcar is a connected car API that lets you read vehicle data (odometer, fuel level, location) and send commands (lock/unlock) to real cars with owner permission.