API reference
VIN Decoder API
Decode any VIN: make, model, year, engine, equipment, plus recalls, complaints and crash stars.
- Host
vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com- Base path
/v1/vin- Auth
X-RapidAPI-Key,X-RapidAPI-Host- For agents
openapi.json·vin.md
Overview and pricing · Tutorial: VIN Decoder API · RapidAPI playground (opens in a new tab) ↗ · Apify actor (opens in a new tab) ↗
Decoding
Specifications of one VIN or up to 50.
Decode VIN
GET /v1/vin/decode
Decode a VIN: make, model, year, engine, equipment. Decode a 17-character VIN: make, model, year, trim, body, engine, battery, transmission, drive, plant and safety equipment from NHTSA vPIC, plus check digit and manufacturer country. Full specs for North American vehicles; others usually get make, plant and year. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
vin required |
query | string |
17-character VIN. Spaces and dashes are ignored. |
curl -G "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/decode" \
--data-urlencode "vin=1HGCM82633A004352" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
import requests
url = "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/decode"
params = {
"vin": "1HGCM82633A004352"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/decode?vin=1HGCM82633A004352", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
},
});
console.log(await res.json());
Decode VINs in Bulk
POST /v1/vin/decode/bulk
Decode up to 50 VINs. The same decoding for up to 50 VINs in one call, in order. A malformed VIN gets `invalid_vin` and is not billed. 1 credit per decoded VIN.
| Parameter | In | Type | Description |
|---|---|---|---|
vins required |
body | string[] |
Up to 50 VINs. |
curl -X POST "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/decode/bulk" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"vins": [
"1HGCM82633A004352",
"5YJ3E1EA2KF317000"
]
}'
import requests
url = "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/decode/bulk"
payload = {
"vins": [
"1HGCM82633A004352",
"5YJ3E1EA2KF317000"
]
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/decode/bulk", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"vins": [
"1HGCM82633A004352",
"5YJ3E1EA2KF317000"
]
}),
});
console.log(await res.json());
Recalls & Safety
Safety recalls and NCAP crash-test ratings.
Get Vehicle Recalls
GET /v1/vin/recalls
Safety recalls for a VIN's make, model and year. NHTSA safety recalls for the vehicle's make, model and model year, newest first: campaign number, date, component, summary, consequence, remedy, and the park-it / park-outside / over-the-air flags. 404 `vehicle_not_found` when NHTSA cannot identify the model (not billed). 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
vin required |
query | string |
17-character VIN. Spaces and dashes are ignored. |
curl -G "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/recalls" \
--data-urlencode "vin=1HGCM82633A004352" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
import requests
url = "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/recalls"
params = {
"vin": "1HGCM82633A004352"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/recalls?vin=1HGCM82633A004352", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
},
});
console.log(await res.json());
Get Vehicle Complaints
GET /v1/vin/complaints
Owner complaints for a VIN's make, model and year. Find a model's known weak points: NHTSA owner complaints for the VIN's make, model and year, with totals (crashes, fires, injuries, deaths), the most reported components and the latest complaints. 404 `vehicle_not_found` when NHTSA cannot identify it (not billed). 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
vin required |
query | string |
17-character VIN. Spaces and dashes are ignored. |
limit |
query | integer |
Latest complaints to return, 0-50. Default 20. |
curl -G "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/complaints" \
--data-urlencode "vin=1HGCM82633A004352" \
--data-urlencode "limit=5" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
import requests
url = "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/complaints"
params = {
"vin": "1HGCM82633A004352",
"limit": 5
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/complaints?vin=1HGCM82633A004352&limit=5", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
},
});
console.log(await res.json());
Get Vehicle Safety Ratings
GET /v1/vin/safety-ratings
NCAP crash-test star ratings for a VIN's model. NHTSA 5-Star Safety Ratings (NCAP) of each tested variant of the model year: overall, frontal, side, rollover and side pole stars, rollover risk, and the counts of complaints, recalls and investigations. An empty list means NHTSA did not crash-test this model. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
vin required |
query | string |
17-character VIN. Spaces and dashes are ignored. |
curl -G "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/safety-ratings" \
--data-urlencode "vin=1HGCM82633A004352" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
import requests
url = "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/safety-ratings"
params = {
"vin": "1HGCM82633A004352"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/safety-ratings?vin=1HGCM82633A004352", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
},
});
console.log(await res.json());
Validation
Format, check digit, country and year, offline.
Validate VIN
GET /v1/vin/validate
Check a VIN's format and check digit, offline. Length and alphabet, check digit, manufacturer code (WMI) with its region and country, model year and serial number, computed from the 17 characters alone. Instant and works for any country. A malformed VIN is an answer (`valid: false` and the reason), not an error. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
vin required |
query | string |
17-character VIN. Spaces and dashes are ignored. |
curl -G "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/validate" \
--data-urlencode "vin=1HGCM82633A004352" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
import requests
url = "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/validate"
params = {
"vin": "1HGCM82633A004352"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/validate?vin=1HGCM82633A004352", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com",
},
});
console.log(await res.json());
Response
{
"vin": "1HGCM82633A004352",
"valid": true,
"reason": "Well-formed VIN, check digit correct.",
"check_digit_valid": true,
"wmi": "1HG",
"region": "North America",
"country": "United States",
"model_year": 2003,
"model_year_candidates": [2003],
"serial_number": "004352",
"found": true,
"manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"make": "HONDA",
"model": "Accord",
"trim": "EX-V6",
"vehicle_type": "PASSENGER CAR",
"body_class": "Coupe",
"doors": 2,
"engine": {
"cylinders": 6,
"displacement_l": 3.0,
"power_hp": 240.0,
"configuration": "V-Shaped",
"model": "J30A4",
"fuel": "Gasoline"
},
"transmission": { "style": "Automatic", "speeds": 5 },
"gvwr_class": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
"plant": { "city": "MARYSVILLE", "state": "OHIO", "country": "UNITED STATES (USA)" },
"airbags": {
"front": "1st Row (Driver and Passenger)",
"side": "1st Row (Driver and Passenger)",
"curtain": "1st and 2nd Rows"
},
"equipment": {},
"notes": []
}
From a real response. Recent vehicles also list their equipment, for example a 2019 Tesla Model 3:
"engine": { "fuel": "Electric", "electrification": "BEV (Battery Electric Vehicle)" },
"equipment": {
"abs": "Standard",
"esc": "Standard",
"automatic_emergency_braking": "Standard",
"pedestrian_emergency_braking": "Standard",
"blind_spot_warning": "Standard",
"lane_keeping_assist": "Standard",
"adaptive_cruise_control": "Optional",
"backup_camera": "Standard",
"...": "..."
}
Why developers pick this API
- 🏛️ Official data: specifications, recalls, complaints and ratings straight from the NHTSA (U.S. Department of Transportation), the source the big vehicle-data vendors start from.
- 🧩 Five answers, one key: decoding, recalls, complaints, crash tests and offline validation, where you would otherwise wire several providers.
- 💸 Priced for fleets and marketplaces: about $0.0002 per VIN on PRO (popular VIN APIs charge $0.0014 to $0.002), and failed calls (4xx, 5xx) use 0 credits.
- 🧼 Forgiving input: lower case, spaces and dashes are fine, and a typo is caught by the check digit before it costs you a lookup.
Recalls
curl "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/recalls?vin=1HGCM82633A004352" \
-H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
{
"vehicle": { "vin": "1HGCM82633A004352", "make": "HONDA", "model": "Accord", "model_year": 2003 },
"count": 24,
"recalls": [
{
"campaign": "19E068000",
"date": "2019-10-10",
"manufacturer": "Dorman Products, Inc.",
"component": "VEHICLE SPEED CONTROL:ACCELERATOR PEDAL",
"summary": "...",
"consequence": "...",
"remedy": "...",
"park_it": false,
"park_outside": false,
"over_the_air": false
}
],
"note": "Recalls cover every vehicle of this make, model and year; ask the manufacturer whether this one was already repaired."
}
Owner complaints
curl "https://vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com/v1/vin/complaints?vin=5YJ3E1EA2KF317000&limit=5" \
-H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: vin-decoder-specs-recalls-safety-ratings.p.rapidapi.com"
{
"vehicle": { "vin": "5YJ3E1EA2KF317000", "make": "TESLA", "model": "Model 3", "model_year": 2019 },
"count": 627,
"crashes": 62,
"fires": 5,
"injuries": 32,
"deaths": 4,
"top_components": [
{ "component": "FORWARD COLLISION AVOIDANCE", "count": 171 },
{ "component": "ELECTRICAL SYSTEM", "count": 94 },
{ "component": "AIR BAGS", "count": 90 },
{ "...": "..." }
],
"complaints": [
{
"id": 11779526,
"incident_date": "2026-10-23",
"filed_date": "2026-11-20",
"components": ["AIR BAGS", "SEAT BELTS"],
"crash": false,
"fire": false,
"injuries": 0,
"deaths": 0,
"summary": "The safety systems of seat belt and airbags are faulty. ..."
}
],
"note": "Complaints cover every vehicle of this make, model and year, as reported by owners to NHTSA; they are not verified defects."
}
From a real response, shortened. A model's weak points at a glance: what owners report most, how often it ended in a crash or a fire, and the latest accounts word for word.
Safety ratings
{
"vehicle": { "vin": "5YJ3E1EA2KF317000", "make": "TESLA", "model": "Model 3", "model_year": 2019 },
"count": 2,
"ratings": [
{
"description": "2019 Tesla Model 3 4 DR RWD",
"overall": "5",
"frontal_crash": "5",
"side_crash": "5",
"rollover": "5",
"rollover_risk_percent": 6.6,
"side_pole": "5",
"complaints": 627,
"recalls": 22,
"investigations": 14,
"front_crash_photo": "https://static.nhtsa.gov/crashTest/images/2019/v10383P081.jpg",
"...": "..."
}
]
}
An empty ratings list means NHTSA did not crash-test that model.
Coverage
Specifications, recalls, complaints and ratings come from the NHTSA (U.S. Department of Transportation) databases: complete for vehicles sold in North America. For other vehicles NHTSA usually knows the manufacturer, make, plant and year, and the API names the make of 100+ European and Asian manufacturer codes it does not know (Renault, Peugeot, Skoda, Dacia, BYD...). found tells you whether NHTSA knew the VIN, and notes explains what is missing. /validate works offline for every VIN: check digit, manufacturer region and country, model year.
Most European VINs do not use the check digit, so check_digit_valid: false is normal for them; on a North American VIN it means a typo.
Errors
| Status | code |
Meaning |
|---|---|---|
| 400 | invalid_vin |
Not 17 characters, or characters a VIN never uses (I, O, Q). |
| 400 | invalid_request |
Missing VIN, or more than 50 in a bulk call. |
| 404 | vehicle_not_found |
Recalls, complaints and ratings need the make, model and year, and NHTSA does not know them for this VIN. Not billed. |
| 429 | daily_limit_reached |
Daily safety limit of your plan; resets at 00:00 UTC. |
| 503 | source_unavailable |
NHTSA did not answer; retry. Not billed. |
Use it from an AI agent
Add this MCP server and the VIN Decoder - Bulk Specs, Recalls & Safety Equipment actor becomes a tool your agent can call. Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify.
https://mcp.apify.com?tools=helenisapi/vin-decoder-bulk
Prefer plain HTTP? Give your agent the OpenAPI document or the Markdown reference.