CFPB Consumer Complaint

Schema for a complaint record returned by the CCDB API.

BankingComplaintsConsumer ProtectionFederal-GovernmentFinancial-ServicesHMDAMortgagesOpen Data

Properties

Name Type Description
complaint_id string
date_received string
date_sent_to_company string
product string
sub_product string
issue string
sub_issue string
company string
company_response string
company_public_response string
consumer_consent_provided string
consumer_disputed string
complaint_what_happened string
state string
zip_code string
tags string
timely string
submitted_via string
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/consumer-financial-protection-bureau/refs/heads/main/json-schema/cfpb-complaint-schema.json",
  "title": "CFPB Consumer Complaint",
  "description": "Schema for a complaint record returned by the CCDB API.",
  "type": "object",
  "properties": {
    "complaint_id": { "type": "string" },
    "date_received": { "type": "string", "format": "date" },
    "date_sent_to_company": { "type": "string", "format": "date" },
    "product": { "type": "string" },
    "sub_product": { "type": "string" },
    "issue": { "type": "string" },
    "sub_issue": { "type": "string" },
    "company": { "type": "string" },
    "company_response": {
      "type": "string",
      "enum": [
        "Closed",
        "Closed with explanation",
        "Closed with monetary relief",
        "Closed with non-monetary relief",
        "Closed with relief",
        "Closed without relief",
        "In progress",
        "Untimely response"
      ]
    },
    "company_public_response": { "type": "string" },
    "consumer_consent_provided": { "type": "string" },
    "consumer_disputed": { "type": "string" },
    "complaint_what_happened": { "type": "string" },
    "state": { "type": "string", "minLength": 2, "maxLength": 2 },
    "zip_code": { "type": "string" },
    "tags": { "type": "string" },
    "timely": { "type": "string", "enum": ["Yes", "No"] },
    "submitted_via": {
      "type": "string",
      "enum": ["Web", "Phone", "Email", "Postal mail", "Fax", "Referral"]
    }
  },
  "required": ["complaint_id", "date_received", "product", "company"]
}

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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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