LenDb.ai Lenders API
The Lenders API from LenDb.ai — 2 operation(s) for lenders.
The Lenders API from LenDb.ai — 2 operation(s) for lenders.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lendb-ai:lendb-ai-lenders-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LenDb.ai public read Lenders API
version: 1.0.0-preview
summary: Made for humans. Built for robots.
description: 'Independent, growing, lender-neutral database of US mortgage loan officers (free; coverage is partial). Every fact is sourced. Ranked results explain themselves with reasons[]. Responses never contain phone numbers or email addresses.
No key is needed: anonymous calls are limited per IP (60/min, 1200/hour). A free API key raises that to 120/min and 10000 calls per UTC day. Send it as `Authorization: Bearer ldb_live_...`. `?api_key=` still works on this API but is deprecated (keys in URLs end up in logs, referrers and history) and is not accepted by the MCP server. Get one at https://lendb.ai/developers, or let an agent request one with POST /keys/request. Over a limit: HTTP 429 with Retry-After. Keyed responses include X-LenDb-Key-Prefix, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, X-LenDb-Daily-Limit and X-LenDb-Daily-Remaining.'
contact:
email: bot@lendb.ai
url: https://lendb.ai/bot
servers:
- url: https://lendb.ai/api/v1
security:
- {}
- bearerKey: []
- queryKey: []
tags:
- name: Lenders
paths:
/lenders:
get:
operationId: listLenders
summary: Lenders
description: Lenders filtered by name, state, type or FHA approval, up to limit.
parameters:
- name: q
in: query
required: false
description: Name or DBA contains.
schema:
type: string
- name: state
in: query
required: false
description: HQ state, or has loan officers licensed in the state.
schema:
type: string
- name: type
in: query
required: false
description: Lender type.
schema:
type: string
enum:
- bank
- credit_union
- imb
- broker
- other
- name: fha_approved
in: query
required: false
description: 'true: only lenders that are FHA-approved per HUD''s FHA Single Family Portfolio Snapshot data (see Lender.program_approvals).'
schema:
type: boolean
- name: limit
in: query
required: false
description: Max results (1 to 100).
schema:
type: integer
minimum: 1
maximum: 100
default: 25
responses:
'200':
description: Lenders
content:
application/json:
schema:
type: object
properties:
sample:
type: boolean
description: Present and true while the response contains fictional sample data.
notice:
type: string
count:
type: integer
results:
type: array
items:
$ref: '#/components/schemas/Lender'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Lenders
/lenders/{nmls_id}:
get:
operationId: getLender
summary: One lender by company NMLS ID
description: 'One lender: type, headquarters state, loan programs, program approvals and HMDA activity when on file, how many of its loan officers LenDb lists, and the last verified date.'
parameters:
- name: nmls_id
in: path
required: true
description: The lender's company NMLS ID.
schema:
type: integer
responses:
'200':
description: Lender
content:
application/json:
schema:
type: object
properties:
sample:
type: boolean
description: Present and true while the response contains fictional sample data.
notice:
type: string
lender:
$ref: '#/components/schemas/Lender'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Lenders
components:
schemas:
Error:
type: object
properties:
error:
type: string
message:
type: string
LenderActivity:
type: object
description: 'Home loans the lender funded, from HMDA (Home Mortgage Disclosure Act data published by the FFIEC and CFPB): closed-end mortgages on 1 to 4 unit homes, no home equity lines or reverse mortgages. About the company, never a loan officer. Absent when LenDb has no HMDA match for the lender, which does not mean it makes no loans (small lenders do not report). HMDA data for year N is published in spring N+1.'
properties:
source:
type: string
enum:
- HMDA
source_name:
type: string
description: Cite as '<source_name>, <as_of_year>'.
source_url:
type: string
format: uri
as_of_year:
type: integer
scope:
type: string
third_party_share:
type:
- number
- 'null'
description: Share of the newest year's loans submitted through a third party (broker or non-delegated correspondent).
includes_brokered:
type: boolean
description: 'third_party_share is 20% or more: say the lender funded these loans, including loans brokers originated.'
years:
type: array
description: Newest first.
items:
type: object
properties:
year:
type: integer
loans:
type: integer
by_loan_type:
type: object
properties:
conventional:
type: integer
fha:
type: integer
va:
type: integer
usda:
type: integer
purchase:
type: integer
refinance:
type: integer
other_purpose:
type: integer
jumbo:
type: integer
description: Above the county conforming loan limit.
investor:
type: integer
description: Investment properties.
volume_usd:
type:
- integer
- 'null'
description: Sum of loan amounts (HMDA $10,000 band midpoints). Null when the average loan size fails LenDb's outlier check.
top_states:
type: array
items:
type: object
properties:
state:
type: string
loans:
type: integer
note:
type: string
Provenance:
type: object
required:
- source
- verified_at
properties:
source:
type: string
enum:
- nmls
- state_regulator
- lender_site
- claimed
- vendor
- manual
- lender_provided
- lo_provided
- state_agency
- lo_own_site
source_url:
type:
- string
- 'null'
format: uri
verified_at:
type: string
format: date
ProgramApproval:
type: object
properties:
program:
type: string
enum:
- fha
source:
type: string
enum:
- HUD
as_of:
type: string
pattern: ^[0-9]{4}-[0-9]{2}$
description: 'YYYY-MM: the newest month of HUD-endorsed loans that shows the lender.'
source_url:
type: string
format: uri
description: HUD's FHA Single Family Portfolio Snapshot page.
Lender:
type: object
properties:
sample:
type: boolean
nmls_id:
type: integer
slug:
type: string
canonical_url:
type: string
format: uri
nmls_consumer_access_url:
type: string
format: uri
name:
allOf:
- $ref: '#/components/schemas/Provenance'
- type: object
required:
- value
properties:
value:
type: string
dba_names:
type: array
items:
type: string
type:
type: string
enum:
- bank
- credit_union
- imb
- broker
- other
website:
oneOf:
- allOf:
- $ref: '#/components/schemas/Provenance'
- type: object
required:
- value
properties:
value:
type: string
- type: 'null'
lo_directory_url:
type:
- string
- 'null'
hq_state:
type:
- string
- 'null'
loan_programs:
allOf:
- $ref: '#/components/schemas/Provenance'
- type: object
required:
- value
properties:
value:
type: array
items:
type: string
program_approvals:
type: array
description: 'Agency approvals. program fha: an FHA-approved lender per HUD''s FHA Single Family Portfolio Snapshot (HUD lists it as the approved mortgagee on loans it endorsed; matched to this lender by name and states, confidence 0.9 or more). Shown as ''FHA-approved lender (HUD FHA data, loans endorsed through <month>)''. Absent means no HUD match on file, not that the lender lacks FHA approval.'
items:
$ref: '#/components/schemas/ProgramApproval'
activity:
$ref: '#/components/schemas/LenderActivity'
loan_officer_count:
type: integer
last_verified_at:
type: string
format: date
responses:
RateLimited:
description: Rate limit or daily quota reached. Honor Retry-After.
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Unknown, malformed or revoked API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerKey:
type: http
scheme: bearer
description: Free API key, ldb_live_... Optional.
queryKey:
type: apiKey
in: query
name: api_key
description: 'Deprecated: the same key as a query parameter. Prefer the Authorization header; keys in URLs end up in logs and history. Not accepted by /mcp.'
externalDocs:
description: llms-full.txt
url: https://lendb.ai/llms-full.txt