Get Recall Campaign
GEThttps://api-vehicle-recalls.dataandapis.com/v1/recalls/{nhtsa_id}
Get Recall Campaign é 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 caminho
| Parâmetro | Exemplo | |
|---|---|---|
| nhtsa_id | 26V558000 | Obrigatório |
Exemplo de requisição
curl
curl "https://api-vehicle-recalls.dataandapis.com/v1/recalls/26V558000" \
-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.getRecallCampaign({ nhtsa_id: "26V558000" });Node.js (fetch)
const res = await fetch("https://api-vehicle-recalls.dataandapis.com/v1/recalls/26V558000", {
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.get_recall_campaign(nhtsa_id="26V558000")Python (requests)
import os, requests
r = requests.get(
"https://api-vehicle-recalls.dataandapis.com/v1/recalls/26V558000",
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,
"recall": {
"nhtsa_id": "26V558000",
"report_received": "2026-09-01",
"manufacturer": "Tesla, Inc.",
"subject": "Front Suspension Lateral Link May Separate",
"component": "SUSPENSION",
"recall_type": "Vehicle",
"potentially_affected": 19,
"do_not_drive": false,
"fire_risk_when_parked": false,
"mfr_campaign_number": "SB-26-31-004",
"defect_summary": "Tesla, Inc. (Tesla) is recalling certain 2026 Model Y vehicles. One or more front suspension lateral link fasteners may not have been properly tightened, allowing the lateral link to loosen or separate from the sub-frame.",
"consequence_summary": "A lateral link separation could shift the wheel alignment, causing a loss of vehicle control and increasing the risk of a crash.",
"corrective_action": "Tesla Service will tighten or replace the fasteners and check wheel the alignment, free of charge. In addition, Tesla Service will replace any related parts that may have been damaged as necessary. Owner notification letters are expected to be mailed October 30, 2026. Owners may contact Tesla customer service at 1-877-798-3752. Tesla's number for this recall is SB-26-31-004.",
"completion_rate": 0,
"nhtsa_link": "https://www.nhtsa.gov/recalls?nhtsaId=26V558000",
"affected_vehicles": [
{
"make": "TESLA",
"model": "MODEL Y",
"year": 2026
}
]
}
}