Legacy v1

Vehicle Complaints

Last updated:

API reference for searching and retrieving NHTSA vehicle complaint information.

Docs for the previous API generation. v1 endpoints keep working, but new work should target v2. See v2 Safety reference.

The complaints API returns complaints filed with the National Highway Traffic Safety Administration (NHTSA). Search by make, model, year, component, and other criteria to find safety issues and patterns affecting specific vehicles.

Search complaints

GET /v1/complaints/search

Search NHTSA complaints by make, model, year range, component, and state, with pagination and sorting.

Optional parameters

ParameterTypeDescription
makesstringComma-separated list of vehicle makes to filter by (e.g., "HONDA,TOYOTA,FORD").
modelsstringComma-separated list of vehicle models to filter by (e.g., "CIVIC,CAMRY,F150").
yearMinnumberMinimum model year for filtering (default: 1900).
yearMaxnumberMaximum model year for filtering (default: current year + 2).
componentsstringComma-separated list of components to filter by (e.g., "Brake System,Air Bag System").
statesstringComma-separated list of states to filter by (e.g., "CA,TX,NY").
productTypesstringComma-separated list of product types: "V" (Vehicle), "T" (Tires), "E" (Equipment), "C" (Child Restraint).
crashInvolvedbooleanFilter for complaints involving crashes (true/false).
fireInvolvedbooleanFilter for complaints involving fires (true/false).
hasInjuriesbooleanFilter for complaints with injuries (true/false).
hasDeathsbooleanFilter for complaints with deaths (true/false).
dateStartstringStart date for incident date range (YYYY-MM-DD format).
dateEndstringEnd date for incident date range (YYYY-MM-DD format).
limitnumberMaximum number of results to return (default: 10).
offsetnumberNumber of results to skip for pagination (default: 0).
sortstringField to sort by: "incident_date", "date_received", "year", "make", "model", "component_description", "injured_count", "deaths_count" (default: "date_received").
orderstringSort order: "asc" or "desc" (default: "desc").
curl "https://api.cardog.app/v1/complaints/search" \
  -H "x-api-key: your-api-key" \
  -G \
  -d "makes=HONDA,TOYOTA" \
  -d "models=CIVIC,CAMRY" \
  -d "yearMin=2020" \
  -d "yearMax=2023" \
  -d "limit=5" \
  -d "sort=date_received" \
  -d "order=desc"
curl "https://api.cardog.app/v1/complaints/search" \
  -H "x-api-key: your-api-key" \
  -G \
  -d "components=Brake System,Air Bag System" \
  -d "crashInvolved=true" \
  -d "hasInjuries=true" \
  -d "states=CA,TX,NY" \
  -d "dateStart=2023-01-01" \
  -d "dateEnd=2023-12-31" \
  -d "limit=10"

Response:

Example

4 keys
"response": {
"success": true,
"provider": "NHTSA",
"data": [
0: {51 items}
],
"meta": {
"filter": {15 items},
"count": 1
}
}

Get complaint by ID

GET /v1/complaints/:id

Retrieve one complaint by its identifier. The response includes incident, vehicle, and consumer details.

Required parameters

ParameterTypeDescription
idnumberThe unique identifier of the complaint to retrieve.
curl "https://api.cardog.app/v1/complaints/1234567" \
  -H "x-api-key: your-api-key"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get complaint details by ID
const complaint = await client.complaints.byId(1234567);

console.log(`${complaint.data.year} ${complaint.data.make} ${complaint.data.model}`);
console.log(`Component: ${complaint.data.componentDescription}`);
console.log(`Description: ${complaint.data.complaintDescription}`);

Example

2 keys
"response": {
"success": true,
"data": {
"complaintId": 1234567,
"odiNumber": "ODI-2023-001234",
"manufacturerName": "Honda Motor Co., Ltd.",
"make": "HONDA",
"model": "CIVIC",
"year": 2023,
"vin": "1HGCV1F34PA123456",
"crashInvolved": true,
"incidentDate": "2023-06-15",
"fireInvolved": false,
"injuredCount": 1,
"deathsCount": 0,
"componentDescription": "Brake System",
"consumerCity": "Los Angeles",
"consumerState": "CA",
"dateAdded": "2023-07-01",
"dateReceived": "2023-06-20",
"mileage": 15000,
"occurrences": 1,
"complaintDescription": "Brake pedal went to floor while driving, causing extended stopping distance. Vehicle was traveling at approximately 45 mph when the brake pedal suddenly went to the floor. Driver was able to stop the vehicle using the emergency brake, but the incident resulted in a minor collision with another vehicle. Driver sustained minor injuries and was treated at the scene. Police report was filed and vehicle was towed to a repair facility.",
"complaintType": "Safety",
"policeReportFiled": true,
"purchaseDate": "2023-01-15",
"originalOwner": true,
"antiLockBrakes": true,
"cruiseControl": true,
"numCylinders": 4,
"driveTrain": "FWD",
"fuelSystem": "FI",
"fuelType": "GS",
"transmissionType": "AUTO",
"vehicleSpeed": 45,
"dotTireId": null,
"tireSize": null,
"tireLocation": null,
"tireFailureType": null,
"originalEquipment": true,
"manufactureDate": "2022-12-01",
"seatType": null,
"restraintType": null,
"dealerName": "Honda of Downtown LA",
"dealerTelephone": "213-555-0123",
"dealerCity": "Los Angeles",
"dealerState": "CA",
"dealerZip": "90012",
"productType": "V",
"repaired": false,
"medicalAttention": true,
"vehicleTowed": true,
"processedAt": "2023-07-01T10:30:00Z",
"provider": "NHTSA"
}
}

Get complaint statistics

GET /v1/complaints/stats/overview

Retrieve aggregate statistics for NHTSA complaints: totals, top makes, top components, and top states.

curl "https://api.cardog.app/v1/complaints/stats/overview" \
  -H "x-api-key: your-api-key"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get complaint statistics
const stats = await client.complaints.stats();

console.log(`Total complaints: ${stats.data.totalComplaints}`);
console.log(`With injuries: ${stats.data.complaintsWithInjuries}`);
console.log(`With crashes: ${stats.data.complaintsWithCrashes}`);

console.log("Top components:");
for (const component of stats.data.topComponents) {
  console.log(`  ${component.component}: ${component.count}`);
}

Example

2 keys
"response": {
"success": true,
"data": {
"totalComplaints": 1542034,
"complaintsWithInjuries": 234567,
"complaintsWithDeaths": 12345,
"complaintsWithCrashes": 456789,
"complaintsWithFires": 67890,
"topMakes": [5 items],
"topComponents": [5 items],
"topStates": [5 items]
}
}

Additional statistics endpoints

EndpointDescription
GET /v1/complaints/stats/makesRetrieve the top vehicle makes by complaint count.
GET /v1/complaints/stats/componentsRetrieve the top components by complaint count.
GET /v1/complaints/stats/statesRetrieve the top states by complaint count.

Data Fields

Fields in each complaint record include:

FieldTypeDescription
complaintIdnumberUnique NHTSA complaint identifier.
odiNumberstringNHTSA ODI (Office of Defects Investigation) number.
makestringVehicle make (e.g., "HONDA", "TOYOTA").
modelstringVehicle model (e.g., "CIVIC", "CAMRY").
yearnumberVehicle model year.
vinstringVehicle Identification Number.
crashInvolvedbooleanWhether the complaint involved a crash.
fireInvolvedbooleanWhether the complaint involved a fire.
injuredCountnumberNumber of people injured in the incident.
deathsCountnumberNumber of people killed in the incident.
componentDescriptionstringDescription of the component involved in the complaint.
complaintDescriptionstringDetailed description of the complaint.
consumerCitystringCity where the complaint originated.
consumerStatestringState where the complaint originated.
incidentDatestringDate when the incident occurred.
dateReceivedstringDate when NHTSA received the complaint.
mileagenumberVehicle mileage at the time of the incident.
policeReportFiledbooleanWhether a police report was filed.
medicalAttentionbooleanWhether medical attention was required.
vehicleTowedbooleanWhether the vehicle was towed.

Product Types

Complaints are categorized by product type:

CodeDescription
VVehicle complaints.
TTire complaints.
EEquipment complaints.
CChild restraint complaints.

Was this helpful?