---
title: "Complaint totals for a model or model year"
method: GET
path: "/v2/safety/{ref}/complaints/summary"
tags: ["safety"]
---

# Complaint totals for a model or model year

`GET /v2/safety/{ref}/complaints/summary`

## Request

- Base URL: `https://api.cardog.app`
- URL: `https://api.cardog.app/v2/safety/{ref}/complaints/summary`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

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.

## Path parameters

- `ref` string, required

## Response `200`

Complaint counts

- ComplaintsSummary
  - `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")
    - string: The model year ID, e.g. "model-year:toyota/rav4/2021"
    - string: The model ID, 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
    - `system` string, nullable, required: The system of the vehicle, as NHTSA files it: the part of the component name before the first colon ("POWER TRAIN" for "POWER TRAIN:AUTOMATIC TRANSMISSION"). Null when the complaint names no component.
    - `complaints` integer, required: Complaints that name this system. A complaint that names two systems counts in both, so these can add up to more than `totalCount`.
  - `byMonth` object[], required: Complaints per filing month, oldest first; months with no complaints are omitted
    - `month` string, required: Month the complaints were filed with NHTSA, YYYY-MM
    - `complaints` integer, required: Complaints filed that month
  - `byModelYear` object[], required: Complaints per model year, newest first. One entry for a model-year scope.
    - `modelYearRef` string, required: The model year ID, e.g. "model-year:toyota/rav4/2021"
    - `year` integer, required: Model year
    - `complaints` integer, required: Complaints filed against this model year
  - `links` object: Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

## Other responses

- `400`: The request is invalid. The error response names each bad value in `refs` or `details` and, where it can, suggests the nearest valid ref in `suggestions`. We never fall back to a fuzzy match.
- `401`: No valid API key or session
- `404`: Resource not found
- `429`: Per-minute rate limit exceeded
- `500`: Internal error

## Changes

- **2026-12-04** `375a3b69c5c8`: 2 info
  - added `subschema #1, subschema #2` to the `ref` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `ref` response property `anyOf` list for the response status `200`
- **2026-11-20** `d7a9494f5c04`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cardog/apis/cardog-api-v2/changes/v2/safety/:ref/complaints/summary/get.md)

---

[API](https://skmtc.dev/cardog/apis/cardog-api-v2.md) - [All operations](https://skmtc.dev/cardog/apis/cardog-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/cardog/apis/cardog-api-v2/revisions/016058226dc5?raw)
