> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Multifamily loans and lenders

> Every HMDA-reported loan on a 5+ unit building since 2018, with the lender, amount, rate, term, LTV and who bought it, and lenders with their multifamily lending by place and their banks' commercial real estate concentration from the latest call report.

Find who lends on apartment buildings and on what terms. `multifamily_loans` lists every loan on a building of five or more units that a lender reported under the Home Mortgage Disclosure Act (HMDA), from 2018 on, nationwide. `lenders` lists those lenders, with their multifamily lending in a place and, for banks, how concentrated they are in commercial real estate. Rows cost \$1 per 1,000, the same as any [find](/docs/api/find.md).

GET`/v1/find/multifamily_loans`GET`/v1/find/lenders`

Both are types of [find](/docs/api/find.md), so they take the same `where`, `in`, `near`, `lat` and `lng`, `radius_m`, `sort`, `limit` and `cursor`. `limit` goes up to 100 rows a call; follow `next_cursor` for more.

## Multifamily loans

Each row is one loan that a bank, credit union or mortgage company originated or bought in a year: the lender's name and LEI, the amount, interest rate, term, combined loan-to-value, property value, unit band, purpose, whether it was a business-purpose loan, and who bought it that year (Fannie Mae, Freddie Mac, Ginnie Mae, a private securitizer, a bank or a life insurer).

HMDA's public file has no address, so a loan is placed only by its census tract. `location` is the tract's Census centre point, marked `approximate`, and a loan is never linked to a property. The file also rounds every amount and property value to the middle of a \$10,000 band, and gives units as bands (5-24, 25-49, 50-99, 100-149, 150+). A value the lender didn't report, or was exempt from reporting, is null; `exempt_fields` lists the exempt ones. So is a value no loan can have, such as a 1,111% rate (HMDA's exempt code reported as a number); `implausible_fields` lists those.

`totals` counts and adds up every matching loan, not only the page. A loan one lender made and another bought in the same year is reported by both, so add `where=action = originated` to count each loan once. `hmda_coverage` lists the years held. HMDA covers banks, credit unions and mortgage companies above its reporting thresholds. Life companies, CMBS conduits and debt funds don't report, so an empty answer means no HMDA lender reported a loan there, not that none was made.

| Field | Type | Operators | Description |
| - | - | - | - |
| `year` | integer | `=` `>=` `<=` `>` `<` `in` | The HMDA year: when the loan was made or bought. |
| `lei` | string | `=` `in` | The lender's Legal Entity Identifier (20 characters). |
| `lender` | string | `~` | Lender name contains |
| `action` | enum | `=` `in` | Whether the filer made the loan or bought it from another lender. One of `originated`, `purchased`. |
| `amount` | number, usd | `=` `>=` `<=` `>` `<` | The loan amount, US dollars: the public file's midpoint of a \$10,000 band. Also read as loan\_amount. |
| `units` | integer, units | `=` `>=` `<=` `>` `<` | Units in the building: HMDA publishes bands, and rows answer units\_band. |
| `rate` | number, percent | `=` `>=` `<=` `>` `<` | Interest rate, percent. |
| `term_months` | integer, months | `=` `>=` `<=` `>` `<` | Loan term, months. |
| `cltv` | number, percent | `=` `>=` `<=` `>` `<` | Combined loan-to-value, percent. |
| `purpose` | enum | `=` `in` | What the loan was for, as HMDA reports it. One of `purchase`, `improvement`, `refinance`, `cash_out_refinance`, `other`, `not_applicable`. |
| `purchaser` | enum | `=` `in` | Who bought the loan in the year it was made; not\_sold when the filer kept it or sold it later. One of `not_sold`, `fannie_mae`, `ginnie_mae`, `freddie_mac`, `farmer_mac`, `private_securitizer`, `bank_or_thrift`, `credit_union_mortgage_or_finance_company`, `life_insurer`, `affiliate`, `other`. |
| `loan_type` | enum | `=` `in` | The loan's insurance or guarantee program; conventional when none. One of `conventional`, `fha`, `va`, `usda`. |
| `business_purpose` | boolean | `=` | Whether the loan is for a business or commercial purpose. Rows answer it as business\_purpose (and business\_or\_commercial\_purpose). Also read as business\_or\_commercial\_purpose. |
| `tract` | string | `=` | The 11-digit census tract GEOID the loan is placed in. Rows answer it as tract (and census\_tract). Also read as census\_tract. |

Search a county or city by name, a county by FIPS (`county:17031`), or a state with `in`. A city is searched by the tracts whose centre falls inside its Census boundary. A ZIP code isn't an HMDA place, so send a county, city or point instead. Use `near` or `lat` and `lng` with `radius_m` (up to 50,000) for the tracts around a point. From 2024 HMDA files Connecticut by planning region rather than county, so search the state or a region for those years. Sort by `-year` (the default), `-amount`, `amount`, `-rate`, `rate` or `-cltv`.

### Request

The largest multifamily loans made in Cook County, Illinois, in 2024:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/multifamily_loans" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "in=Cook County, IL" \
  --data-urlencode "where=year = 2024" \
  --data-urlencode "where=action = originated" \
  --data-urlencode "sort=-amount" \
  --data-urlencode "limit=1"
```

```typescript TypeScript theme={null}
const params = new URLSearchParams({ in: "Cook County, IL", sort: "-amount", limit: "1" });
params.append("where", "year = 2024");
params.append("where", "action = originated");
const res = await fetch(`https://api.westkite.com/v1/find/multifamily_loans?${params}`, {
  headers: { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` },
});
const { data } = await res.json();
```

```python Python theme={null}
import os, requests

res = requests.get(
    "https://api.westkite.com/v1/find/multifamily_loans",
    params=[("in", "Cook County, IL"), ("where", "year = 2024"), ("where", "action = originated"), ("sort", "-amount"), ("limit", 1)],
    headers={"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"},
)
data = res.json()["data"]
```

### Response

An abridged answer:

```json Response 200 theme={null}
{
  "data": {
    "type": "multifamily_loans",
    "returned": 1,
    "totals": { "loans": 1248, "volume": 4578220000 },
    "loans": [
      {
        "id": "hmda:2024:5429",
        "year": 2024,
        "lender": { "lei": "KB1H1DSPRFMYMCUFXT09", "name": "WELLS FARGO BANK NA", "rssd": "451965" },
        "action": "originated",
        "amount": 1000005000,
        "rate": 6.21,
        "term_months": 60,
        "cltv": 56.5,
        "property_value": 256305000,
        "units_band": "150+",
        "purpose": "refinance",
        "business_or_commercial_purpose": true,
        "purchaser": "not_sold",
        "interest_only": true,
        "exempt_fields": [],
        "census_tract": "17031838300",
        "county_fips": "17031",
        "state": "IL",
        "location": { "coordinates": [-87.638404, 41.901567], "basis": "tract_centroid", "approximate": true }
      }
    ],
    "linked_to_properties": false,
    "hmda_coverage": { "status": "covered", "years": [2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025] },
    "next_cursor": "mf1.1"
  }
}
```

## Lenders

One row per HMDA lender, by LEI, with its RSSD ID where the HMDA reporter panel gives one (the panel was published for 2018 to 2023). `activity` is its multifamily lending in the place and years you ask for: loans and volume, originated and bought, by year, and its five largest counties. With no place or year, it covers every year held, nationwide. Sorted by multifamily volume by default.

For an FDIC-insured bank, `bank` is its latest FDIC call report, with the `quarter`:

* `cre_concentration_pct`: construction, multifamily and non-owner-occupied commercial real estate loans, as a percent of total risk-based capital. A bank using the community bank leverage ratio reports no total risk-based capital, so its tier 1 capital plus loan-loss allowance is used instead, and `capital_basis` says so.
* `construction_concentration_pct`: construction and land development loans over the same capital.
* `cre_growth_36m_pct`: how much those loans grew over the 36 months before.
* `screens_met`: which of the banking regulators' screens the bank is over: 300% of capital in commercial real estate with 50% growth over three years, or 100% in construction.

These ratios are worked out from the call report. They are not a regulator's finding, and they leave out commercial real estate loans that aren't secured by real estate. `bank` is null for a lender that isn't an FDIC-insured bank, such as a mortgage company or credit union.

| Field | Type | Operators | Description |
| - | - | - | - |
| `lei` | string | `=` `in` | The lender's Legal Entity Identifier (20 characters). |
| `name` | string | `~` | Lender name contains |
| `rssd` | string | `=` | Federal Reserve RSSD ID |
| `fdic_cert` | integer | `=` | The bank's FDIC certificate number. |
| `year` | integer | `=` `>=` `<=` `>` `<` `in` | The HMDA years whose lending counts. |
| `action` | enum | `=` `in` | Which lending counts: loans the lender made, bought, or both (default). One of `originated`, `purchased`. |
| `regulator` | enum | `=` `in` | The lender's federal regulator as HMDA reports it. One of `occ`, `frb`, `fdic`, `ncua`, `hud`, `cfpb`. |
| `bank` | boolean | `=` | = true (FDIC-insured banks with a call report) or = false |
| `volume` | number, usd | `>=` `>` | Multifamily lending in the place and years asked, US dollars (HMDA band midpoints added up). |
| `loans` | integer | `>=` `>` | Multifamily loans in the place and years asked. |
| `cre_concentration` | number, percent | `=` `>=` `<=` `>` `<` | Commercial real estate loans (construction, multifamily and non-owner-occupied nonresidential) as a share of the bank's total risk-based capital, percent, from its latest call report. Regulators look harder above 300%. Banks only; rows answer it as bank.cre\_concentration (and bank.cre\_concentration\_pct). |
| `construction_concentration` | number, percent | `=` `>=` `<=` `>` `<` | Construction and land loans as a share of the bank's total risk-based capital, percent. Regulators look harder above 100%. Rows answer it as bank.construction\_concentration (and bank.construction\_concentration\_pct). |

Sort by `-volume` (the default), `-loans`, `-cre_concentration`, `-construction_concentration` or `name`.

### Request

Banks lending on apartments in Cook County since 2023 whose commercial real estate is at least 300% of capital:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/lenders" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "in=Cook County, IL" \
  --data-urlencode "where=year >= 2023" \
  --data-urlencode "where=cre_concentration >= 300" \
  --data-urlencode "sort=-cre_concentration"
```

One lender's profile, by LEI:

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/find/lenders" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "where=lei = 7H6GLXDRUGQFU57RNE97"
```

### Response

An abridged answer:

```json Response 200 theme={null}
{
  "data": {
    "type": "lenders",
    "returned": 1,
    "lenders": [
      {
        "id": "lender:7H6GLXDRUGQFU57RNE97",
        "lei": "7H6GLXDRUGQFU57RNE97",
        "name": "JPMorgan Chase Bank, NA",
        "rssd": "852218",
        "activity": {
          "years": [2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025],
          "loans": 36193,
          "volume": 123738875000,
          "by_year": [{ "year": 2025, "loans": 4227, "volume": 18473875000 }],
          "top_counties": [
            { "county_fips": "06037", "county": "Los Angeles County", "state": "CA", "loans": 15321, "volume": 37044485000 },
            { "county_fips": "36061", "county": "New York County", "state": "NY", "loans": 1544, "volume": 8727730000 }
          ]
        },
        "bank": {
          "fdic_cert": 628,
          "quarter": "2026-09-30",
          "capital_basis": "total_risk_based_capital",
          "cre_loans": 167930000000,
          "cre_concentration_pct": 52.3,
          "construction_concentration_pct": 6,
          "cre_growth_36m_pct": 10.3,
          "screens_met": []
        }
      }
    ]
  }
}
```

## Sources

| Source | What it gives | Updated |
| - | - | - |
| HMDA loan-level data, Consumer Financial Protection Bureau and FFIEC | Every reported loan on a 5+ unit dwelling, 2018 on | Each spring, for the year before |
| HMDA filer list and reporter panel | Lender names, RSSD ID, regulator and parent | With each HMDA year (panel to 2023) |
| FDIC BankFind call reports | Bank loans by type and capital | Each quarter |
| Census Gazetteer | Tract centre points | With the Census |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.