safety

Owner complaints for a model year

Changed on

Owner complaints filed with NHTSA for a model year, newest first. NHTSA publishes one row per affected component, all under one complaint number (ODI number), so by default a complaint about three components is three rows.

group=complaint returns one row per complaint, with every component in components. Crash and fire are true if any row says so, injuries and deaths are the largest number reported, and totalCount counts complaints. fields=list shortens summary to its first sentence, at most 160 characters. Costs 1 credit.

get/v2/safety/{ref}/complaints

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. Encode any slash in the ref as %2F.

Query parameters

page, integer

Page number

limit, integer

Results per page: 1 to 100, or up to 500 with group=complaint. A larger value is a 400.

group, 'complaint'

complaint: one row per complaint, with every component in components

fields, 'list'

list: shorten summary to its first sentence, for list views

Response

Complaints, newest first

Complaints required
modelYearRef, string nullable required

Null when the query covered more than one model year

totalCount, integer required

Rows across every page: complaints with group=complaint, complaint and component rows without it

complaints, object[] required

This page of complaints, newest first

pagination, object required
links, object

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

Changes

    • breaking

      the pagination/limit response property's max was increased from 250.00 to 500.00 for the response status

    • info

      added the new optional query request parameter fields

    • info

      added the new optional query request parameter group

    2 more changes in this revision