# HMDA mortgage lending counts and amounts (CFPB Data Browser)

Consumer Financial Protection Bureau HMDA Data Browser: how many US home loan applications and originations, and what total loan amount, by state, year, action taken, loan purpose and loan type.

- No API key needed to call
- Source: [Consumer Financial Protection Bureau, Home Mortgage Disclosure Act Data Browser API](https://ffiec.cfpb.gov/documentation/api/data-browser/)
- Licence and terms: [US federal government work \(17 U.S.C. 105\)](https://ffiec.cfpb.gov/data-browser/)
- Coverage: United States
- Answers are shared and cached for 21600 seconds.

## Questions you can ask

- How many California home purchase mortgages were originated, approved but not accepted, or denied in 2023? (operation `hmda_lending_totals`)

## Operations

### HMDA mortgage counts and loan amounts by state

Answers: how many mortgage applications of each kind \(originated, denied, withdrawn and so on\) were reported in a US state and year, and what was their total loan amount? One group per code in the list parameters.

- `state`: required, string, Two-letter US state code.
- `year`: required, integer, HMDA reporting year.
- `actions_taken`: optional, string, Comma-separated action codes: 1 loan originated, 2 approved not accepted, 3 denied, 4 withdrawn, 5 incomplete file, 6 purchased loan, 7 preapproval denied, 8 preapproval approved not accepted. One group is returned per code.
- `loan_purposes`: optional, string, Comma-separated loan purpose codes: 1 home purchase, 2 home improvement, 31 refinancing, 32 cash-out refinancing, 4 other, 5 not applicable.
- `loan_types`: optional, string, Comma-separated loan type codes: 1 conventional, 2 FHA, 3 VA, 4 USDA rural.

Example: How many California home purchase mortgages were originated, approved but not accepted, or denied in 2023?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"hmda","operation":"hmda_lending_totals","params":{"state":"CA","year":2023,"actions_taken":"1,2,3","loan_purposes":"1"}}}
```

Over HTTP:

```
curl '/v1/connectors/hmda/hmda_lending_totals?state=CA&year=2023&actions_taken=1%2C2%2C3&loan_purposes=1'
```

## Source notice

Source: Federal Financial Institutions Examination Council and Consumer Financial Protection Bureau, HMDA data. Work of the United States federal government: not subject to copyright \(17 U.S.C. 105\). Terms were not quoted here: see the terms page. Values are trimmed and reordered here; the publisher does not endorse this presentation.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
