Open documentation ↗Overview
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
- Authentication
- No auth
- HTTPS
- No
- CORS
- Unknown
- Category
- Finance
- Base URL
https://api.consumerfinance.gov:443/- Version
- 1.0
- Endpoints
- 6
- OpenAPI
- Specification ↗
- Spec updated
- 2018-08-24
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.consumerfinance.gov:443/data" \
-H "Accept: application/json"const response = await fetch("https://api.consumerfinance.gov:443/data", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.consumerfinance.gov:443/data",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| 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
Compare alternatives →Stripe
FinancePayment processing, subscriptions, and financial management
SEC EDGAR Data
FinanceAPI to access annual reports of public US companies
Plaid
FinanceConnect with user's bank accounts and access transaction data
Fed Treasury
FinanceU.S. Department of the Treasury Data
Razorpay IFSC
FinanceIndian Financial Systems Code (Bank Branch Codes)
Klarna
FinanceKlarna payment and shopping service
Listed from APIs.guru (CC0).