The Consumer Financial Protection Bureau (CFPB) provides public REST APIs for searching consumer financial complaint data, accessing Home Mortgage Disclosure Act (HMDA) mortgage lending records, and retrieving regulatory filing data. These APIs support financial researchers, journalists, developers, and the general public in understanding consumer financial markets and lending practices across the United States.
Search and retrieve consumer financial complaints submitted to companies. Contains over 15 million records filterable by product, issue, company, state, and date range.
- Documentation: https://cfpb.github.io/api/ccdb/api.html
- Base URL: https://www.consumerfinance.gov/data-research/consumer-complaints/search/api/v1/
- GitHub: https://github.com/cfpb/ccdb5-api
Access Home Mortgage Disclosure Act (HMDA) mortgage lending data. Generate aggregation reports and download raw data filtered by geography and financial institution.
- Documentation: https://ffiec.cfpb.gov/documentation/api/data-browser/
- Base URL: https://ffiec.cfpb.gov/v2/data-browser-api/
- GitHub: https://github.com/cfpb/hmda-platform
Submit HMDA regulatory filings programmatically. For use by covered financial institutions required to report mortgage lending data.
- Documentation: https://ffiec.cfpb.gov/documentation/category/developer-apis
- Base URL: https://ffiec.cfpb.gov/
- Website: https://www.consumerfinance.gov/
- Developer Portal: https://cfpb.github.io/
- GitHub Organization: https://github.com/cfpb
- Data Research: https://www.consumerfinance.gov/data-research/
- X (Twitter): https://twitter.com/CFPB
- Technical Support: tech@consumerfinance.gov
As a U.S. Government agency, CFPB source code and public data are in the public domain within the United States. All public APIs are free to use with no authentication required for public data endpoints.