hmda_filtered_aggregations
Retrieve mortgage lending aggregation data filtered by state, MSA/MD, county, or institution (LEI), with demographic filters such as race, sex, and loan type.
Instructions
Get mortgage lending aggregation data filtered by geography or institution. Filter by state (FIPS code), MSA/MD, county, or institution (LEI). Same demographic filters as nationwide. At least one geographic or institution filter recommended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leis | No | Legal Entity Identifiers (comma-separated) to filter by institution | |
| year | Yes | Filing year (e.g. 2022). Required. | |
| races | No | Race filter (comma-separated) | |
| sexes | No | Sex filter (comma-separated) | |
| msamds | No | MSA/MD codes (comma-separated) | |
| states | No | State FIPS codes (comma-separated): '06' (CA), '36' (NY), '48' (TX) | |
| loan_types | No | Loan type codes (comma-separated) | |
| actions_taken | No | Action taken codes (comma-separated) |