safety

Complaint totals for a model or model year

Changed on

Totals of NHTSA owner complaints instead of the complaints themselves: distinct complaints (ODI numbers), crashes, fires, injuries and deaths, and counts per component system, per month filed and per model year. Takes a model-year ref, or a model ref for every year of the model. Costs 1 credit.

get/v2/safety/{ref}/complaints/summary

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

ref, string required

A model-year ref or a model ref. Encode any slash in the ref as %2F.

Response

Complaint counts

ComplaintsSummary required
ref, union required

What was counted: one model year (e.g. "model-year:toyota/rav4/2021") or every year of a model (e.g. "model:toyota/rav4")

totalCount, integer required

Complaints in scope, each counted once. The complaints list counts one row per component instead, so its totalCount can be higher; quote this one.

crashes, integer required

Complaints that report a crash

fires, integer required

Complaints that report a fire

injuryComplaints, integer required

Complaints that report at least one injury

injuries, integer required

People reported injured, summed across complaints

deaths, integer required

Deaths reported, summed across complaints

firstFiled, string nullable required

Earliest filing date in scope, YYYY-MM-DD. Null when there are no complaints.

lastFiled, string nullable required

Latest filing date in scope, YYYY-MM-DD. Null when there are no complaints.

bySystem, object[] required

Complaints per system, most complaints first

byMonth, object[] required

Complaints per filing month, oldest first; months with no complaints are omitted

byModelYear, object[] required

Complaints per model year, newest first. One entry for a model-year scope.

links, object

Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

Changes

    • info

      added subschema #1 subschema #2 to the ref response property anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the ref response property anyOf list for the response status

    • info

      endpoint added