---
title: "Complaints Over Time"
method: GET
path: "/consumer-complaints/totals"
tags: ["Consumer Complaints"]
---

# Complaints Over Time

`GET /consumer-complaints/totals`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/consumer-complaints/totals`
- Auth: API key in query parameter `apikey`

Monthly (or yearly) counts of the complaints consumers sent about financial companies (credit reports, debt collection, mortgages, bank accounts, credit cards, loans, money transfers and more), from official public data, since December 2011, with how the companies answered. Counts only: no single complaint and no complaint text.

The answer is {by, filters, as_of, rows, about}. Before the first data load the rows are empty and note says "Data is being prepared".

## Query parameters

- `by` string
- `ticker` string
- `company` string
- `bank_id` string
- `product_group` string
- `state` string
- `date_from` string
- `date_to` string

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
