Reference$0.001 per call, 1,000 free a month
Recalls by year, make and model
Recall campaigns filed with NHTSA for a year, make and model, with component, summary, consequence and remedy. Use it before you have a VIN, or to screen a whole model line.
GET /v1/recalls
Parameters
| Name | In | Description |
|---|---|---|
| year* | query | Model year, 1981 or later. |
| make* | query | Make, such as Hyundai. |
| model* | query | Model, such as Tucson. |
Request
curl "https://api.hubcapdata.com/v1/recalls?year=2022&make=Hyundai&model=Tucson" \
-H "Authorization: Bearer YOUR_API_KEY"Response
Sample data from test mode. Live responses have the same fields.
{
"data": {
"vehicle": {
"year": 2022,
"make": "Hyundai",
"model": "Tucson"
},
"count": 1,
"recalls": [
{
"campaign_number": "23V310000",
"reported_on": "2023-12-15",
"component": "ELECTRICAL SYSTEM",
"summary": "The rearview camera image may not display when the vehicle is in reverse.",
"consequence": "A rearview camera that does not display reduces the driver’s rear visibility, increasing the risk of a crash.",
"remedy": "Dealers will update the camera software, free of charge.",
"park_it": false,
"park_outside": false,
"over_the_air_fix": true
}
]
},
"meta": {
"request_id": "req_4n8b2v6c1x9z3l7k5j0h",
"mode": "live",
"cost": 0.001,
"cached": false,
"balance": 98.42
}
}Errors
400 invalid input, 401 bad key, 402 not enough credit, 404 no record (free), 429 rate limited, 503 sources unavailable (free). See Errors.