Search Recalls
GEThttps://api-vehicle-recalls.dataandapis.com/v1/recalls
Search Recalls é um endpoint da Vehicle Recalls API. Todos os recalls da NHTSA desde 1967 e 2,24 milhões de reclamações de proprietários por marca, modelo e ano.
Envie sua chave no header X-Api-Key. Cada chamada custa 1 token; uma chave gratuita inclui 500 tokens por mês.
Requisição
Parâmetros de consulta
| Parâmetro | Exemplo | |
|---|---|---|
| component | Opcional | |
| do_not_drive | Opcional | |
| limit | 20 | Opcional |
| make | HONDA | Opcional |
| manufacturer | Opcional | |
| model | CR-V | Opcional |
| page | 1 | Opcional |
| q | Opcional | |
| since | Opcional | |
| type | Vehicle | Opcional |
| year | 2019 | Opcional |
Exemplo de requisição
curl
curl "https://api-vehicle-recalls.dataandapis.com/v1/recalls?limit=20&make=HONDA&model=CR-V&page=1&type=Vehicle&year=2019" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.vehicleRecalls.searchRecalls({
limit: 20,
make: "HONDA",
model: "CR-V",
page: 1,
type: "Vehicle",
year: 2019,
});Node.js (fetch)
const res = await fetch("https://api-vehicle-recalls.dataandapis.com/v1/recalls?limit=20&make=HONDA&model=CR-V&page=1&type=Vehicle&year=2019", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.vehicle_recalls.search_recalls(
limit=20,
make="HONDA",
model="CR-V",
page=1,
type="Vehicle",
year=2019,
)Python (requests)
import os, requests
r = requests.get(
"https://api-vehicle-recalls.dataandapis.com/v1/recalls?limit=20&make=HONDA&model=CR-V&page=1&type=Vehicle&year=2019",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guia do pacote npm dataandapis →Guia do pacote Python dataandapis →
Exemplo de resposta
Exemplo de resposta{
"ok": true,
"total": 8,
"page": 1,
"limit": 20,
"count": 3,
"results": [
{
"nhtsa_id": "26V332000",
"report_received": "2026-05-21",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Air Bags May Deploy Unintentionally During a Crash",
"component": "AIR BAGS",
"recall_type": "Vehicle",
"potentially_affected": 98892,
"do_not_drive": false,
"fire_risk_when_parked": false
},
{
"nhtsa_id": "23V858000",
"report_received": "2023-12-18",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Fuel Pump May Fail",
"component": "FUEL SYSTEM, GASOLINE",
"recall_type": "Vehicle",
"potentially_affected": 2490460,
"do_not_drive": false,
"fire_risk_when_parked": false
…
Ver resposta completa
Exemplo de resposta
{
"ok": true,
"total": 8,
"page": 1,
"limit": 20,
"count": 3,
"results": [
{
"nhtsa_id": "26V332000",
"report_received": "2026-05-21",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Air Bags May Deploy Unintentionally During a Crash",
"component": "AIR BAGS",
"recall_type": "Vehicle",
"potentially_affected": 98892,
"do_not_drive": false,
"fire_risk_when_parked": false
},
{
"nhtsa_id": "23V858000",
"report_received": "2023-12-18",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Fuel Pump May Fail",
"component": "FUEL SYSTEM, GASOLINE",
"recall_type": "Vehicle",
"potentially_affected": 2490460,
"do_not_drive": false,
"fire_risk_when_parked": false
…{
"ok": true,
"total": 8,
"page": 1,
"limit": 20,
"count": 3,
"results": [
{
"nhtsa_id": "26V332000",
"report_received": "2026-05-21",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Air Bags May Deploy Unintentionally During a Crash",
"component": "AIR BAGS",
"recall_type": "Vehicle",
"potentially_affected": 98892,
"do_not_drive": false,
"fire_risk_when_parked": false
},
{
"nhtsa_id": "23V858000",
"report_received": "2023-12-18",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Fuel Pump May Fail",
"component": "FUEL SYSTEM, GASOLINE",
"recall_type": "Vehicle",
"potentially_affected": 2490460,
"do_not_drive": false,
"fire_risk_when_parked": false
},
{
"nhtsa_id": "23V158000",
"report_received": "2023-03-09",
"manufacturer": "Honda (American Honda Motor Co.)",
"subject": "Seat Belt Buckle May Not Latch",
"component": "SEAT BELTS",
"recall_type": "Vehicle",
"potentially_affected": 448613,
"do_not_drive": false,
"fire_risk_when_parked": false
}
]
}