# The Consumer Financial Protection Bureau API

> Learn more about home mortgage data, download the data yourself, or build new tools using our API.

The Consumer Financial Protection Bureau is a finance API from consumerfinance.gov. It needs no API key. It is served over plain HTTP. Its OpenAPI description documents 6 endpoints.

## At a glance

- Category: [Finance](https://www.openparable.com/apis/category/finance)
- Provider: consumerfinance.gov
- Authentication: None (no API key)
- HTTPS: No
- CORS: Not stated
- Base URL: https://api.consumerfinance.gov:443/
- Documentation: http://cfpb.github.io/api/hmda/
- OpenAPI description: https://api.apis.guru/v2/specs/consumerfinance.gov/1.0/swagger.json
- Version: 1.0
- Specification updated: 2018-08-24

## Example request

```bash
curl -X GET "https://api.consumerfinance.gov:443/data" \
  -H "Accept: application/json"
```

## Endpoints

- `GET /data` — Get a list of all datasets.
- `GET /data/hmda` — Get metadata for this dataset.
- `GET /data/hmda/concept/{concept}` — Get information about a particular concept in this dataset.
- `GET /data/hmda/slice/{slice}` — Query a slice in this dataset.
- `GET /data/hmda/slice/{slice}/metadata` — Get the metadata for a slice in this dataset.
- `GET /data/{dataset}` — Get metadata about a dataset.

## Questions

### Does the The Consumer Financial Protection Bureau API need an API key?

No. The The Consumer Financial Protection Bureau API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the The Consumer Financial Protection Bureau API support HTTPS?

The The Consumer Financial Protection Bureau API is listed as HTTP only, so avoid sending secrets to it.

### How many endpoints does the The Consumer Financial Protection Bureau API have?

Its OpenAPI description lists 6 endpoints in version 1.0. All of them are shown on this page.

### What are alternatives to the The Consumer Financial Protection Bureau API?

Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.

## Similar finance APIs

- [Stripe](https://www.openparable.com/apis/stripe): Payment processing, subscriptions, and financial management
- [SEC EDGAR Data](https://www.openparable.com/apis/sec-edgar-data): API to access annual reports of public US companies
- [Plaid](https://www.openparable.com/apis/plaid): Connect with user's bank accounts and access transaction data
- [Fed Treasury](https://www.openparable.com/apis/fed-treasury): U.S. Department of the Treasury Data
- [Razorpay IFSC](https://www.openparable.com/apis/razorpay-ifsc): Indian Financial Systems Code (Bank Branch Codes)
- [Klarna](https://www.openparable.com/apis/klarna): Klarna payment and shopping service
- [Citi](https://www.openparable.com/apis/citi): All Citigroup account and statement data APIs
- [Zoho Books](https://www.openparable.com/apis/zoho-books): Online accounting software, built for your business
- [FRED](https://www.openparable.com/apis/fred): Economic data from the Federal Reserve Bank of St. Louis
- [Polygon](https://www.openparable.com/apis/polygon): Historical stock market data
- [MercadoPago](https://www.openparable.com/apis/mercadopago): Mercado Pago API reference - all the information you need to develop your integrations
- [Open Banking - Payments initiation service](https://www.openparable.com/apis/open-banking-payments-initiation-service): Open Banking - Payments initiation service

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/the-consumer-financial-protection-bureau (OpenParable). Cite the canonical URL above.
