Complaint

A consumer financial complaint submitted to the CFPB Consumer Complaint Database

Consumer FinanceGovernmentComplaintsMortgageHMDAFinancial DataRegulatoryOpen Data

Properties

Name Type Description
complaint_id integer The unique identification number for a complaint
company string The company the complaint is about
company_public_response stringnull The company's optional, public-facing response to the consumer's complaint
company_response string The response from the company about this complaint
complaint_what_happened stringnull A description of the complaint provided by the consumer
date_received string The date the CFPB received the complaint (YYYY-MM-DD)
date_sent_to_company stringnull The date the CFPB sent the complaint to the company
has_narrative boolean Indicates this complaint has a narrative
issue string The issue the consumer identified in the complaint
product string The type of product the consumer identified in the complaint
state stringnull The state of the mailing address provided by the consumer (two-letter abbreviation)
sub_issue stringnull The sub-issue the consumer identified in the complaint
sub_product stringnull The type of sub-product the consumer identified in the complaint
submitted_via string How the complaint was submitted to the CFPB
tags stringnull Data that supports easier searching and sorting of complaints
timely string Indicates whether the company gave a timely response
zip_code stringnull The mailing ZIP code provided by the consumer
View JSON Schema on GitHub

JSON Schema

cfpb-complaint-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cfpb/main/json-schema/cfpb-complaint-schema.json",
  "title": "Complaint",
  "description": "A consumer financial complaint submitted to the CFPB Consumer Complaint Database",
  "type": "object",
  "properties": {
    "complaint_id": {
      "type": "integer",
      "description": "The unique identification number for a complaint"
    },
    "company": {
      "type": "string",
      "description": "The company the complaint is about"
    },
    "company_public_response": {
      "type": ["string", "null"],
      "description": "The company's optional, public-facing response to the consumer's complaint"
    },
    "company_response": {
      "type": "string",
      "description": "The response from the company about this complaint"
    },
    "complaint_what_happened": {
      "type": ["string", "null"],
      "description": "A description of the complaint provided by the consumer"
    },
    "date_received": {
      "type": "string",
      "format": "date",
      "description": "The date the CFPB received the complaint (YYYY-MM-DD)"
    },
    "date_sent_to_company": {
      "type": ["string", "null"],
      "description": "The date the CFPB sent the complaint to the company"
    },
    "has_narrative": {
      "type": "boolean",
      "description": "Indicates this complaint has a narrative"
    },
    "issue": {
      "type": "string",
      "description": "The issue the consumer identified in the complaint"
    },
    "product": {
      "type": "string",
      "description": "The type of product the consumer identified in the complaint"
    },
    "state": {
      "type": ["string", "null"],
      "description": "The state of the mailing address provided by the consumer (two-letter abbreviation)"
    },
    "sub_issue": {
      "type": ["string", "null"],
      "description": "The sub-issue the consumer identified in the complaint"
    },
    "sub_product": {
      "type": ["string", "null"],
      "description": "The type of sub-product the consumer identified in the complaint"
    },
    "submitted_via": {
      "type": "string",
      "enum": ["Web", "Referral", "Phone", "Postal mail", "Email", "Fax"],
      "description": "How the complaint was submitted to the CFPB"
    },
    "tags": {
      "type": ["string", "null"],
      "description": "Data that supports easier searching and sorting of complaints"
    },
    "timely": {
      "type": "string",
      "enum": ["Yes", "No"],
      "description": "Indicates whether the company gave a timely response"
    },
    "zip_code": {
      "type": ["string", "null"],
      "description": "The mailing ZIP code provided by the consumer"
    }
  },
  "required": ["complaint_id", "company", "date_received", "product", "issue"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cfpb-complaint"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.