Vehicle Safety Profile
GEThttps://api-vehicle-recalls.dataandapis.com/v1/complaints/stats
Vehicle Safety Profile is an endpoint of the Vehicle Recalls API. Every NHTSA recall since 1967 and 2.24 million owner complaints by make, model and year.
Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.
Request
Query parameters
| Parameter | Example | |
|---|---|---|
| make | CHEVROLET | Required |
| model | BOLT EV | Optional |
| year | 2019 | Optional |
Example request
curl
curl "https://api-vehicle-recalls.dataandapis.com/v1/complaints/stats?make=CHEVROLET&model=BOLT%20EV&year=2019" \
-H "X-Api-Key: YOUR_API_KEY"Node.js
const res = await fetch("https://api-vehicle-recalls.dataandapis.com/v1/complaints/stats?make=CHEVROLET&model=BOLT%20EV&year=2019", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python
import os, requests
r = requests.get(
"https://api-vehicle-recalls.dataandapis.com/v1/complaints/stats?make=CHEVROLET&model=BOLT%20EV&year=2019",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Example response
Example response{
"ok": true,
"make": "CHEVROLET",
"model": "BOLT EV",
"year": 2019,
"totals": {
"complaints": 241,
"crashes": 2,
"fires": 15,
"injured": 5,
"deaths": 0
},
"top_components": [
{
"component": "ELECTRICAL SYSTEM",
"complaints": 80
},
{
"component": "STEERING",
"complaints": 45
},
{
"component": "FUEL/PROPULSION SYSTEM",
"complaints": 44
},
{
"component": "UNKNOWN OR OTHER",
"complaints": 20
…
Show full response
Example response
{
"ok": true,
"make": "CHEVROLET",
"model": "BOLT EV",
"year": 2019,
"totals": {
"complaints": 241,
"crashes": 2,
"fires": 15,
"injured": 5,
"deaths": 0
},
"top_components": [
{
"component": "ELECTRICAL SYSTEM",
"complaints": 80
},
{
"component": "STEERING",
"complaints": 45
},
{
"component": "FUEL/PROPULSION SYSTEM",
"complaints": 44
},
{
"component": "UNKNOWN OR OTHER",
"complaints": 20
…{
"ok": true,
"make": "CHEVROLET",
"model": "BOLT EV",
"year": 2019,
"totals": {
"complaints": 241,
"crashes": 2,
"fires": 15,
"injured": 5,
"deaths": 0
},
"top_components": [
{
"component": "ELECTRICAL SYSTEM",
"complaints": 80
},
{
"component": "STEERING",
"complaints": 45
},
{
"component": "FUEL/PROPULSION SYSTEM",
"complaints": 44
},
{
"component": "UNKNOWN OR OTHER",
"complaints": 20
},
{
"component": "POWER TRAIN",
"complaints": 13
},
{
"component": "VISIBILITY/WIPER",
"complaints": 4
},
{
"component": "SERVICE BRAKES",
"complaints": 4
},
{
"component": "FORWARD COLLISION AVOIDANCE: WARNINGS",
"complaints": 4
},
{
"component": "SEAT BELTS",
"complaints": 3
},
{
"component": "LANE DEPARTURE: BLIND SPOT DETECTION",
"complaints": 3
}
]
}
