Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: LenDb.ai public read Stats 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: Stats
paths:
/stats:
get:
operationId: getStats
summary: Coverage counts
description: 'The counts behind /stats: loan officers, enriched profiles, lenders, licenses, specialty tags, and profiles by state, specialty and language, with the date of the freshest verified fact.'
responses:
'200':
description: Coverage
content:
application/json:
schema:
type: object
properties:
canonical_url:
type: string
format: uri
summary:
type: string
generated_at:
type: string
format: date-time
last_verified:
type: string
format: date
loan_officers:
type: integer
profiles_enriched:
type: integer
lenders:
type: integer
lenders_with_profiles:
type: integer
licenses:
type: integer
specialty_tags:
type: integer
by_state:
type: array
items:
type: object
by_specialty:
type: array
items:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
tags:
- Stats
components:
schemas:
Error:
type: object
properties:
error:
type: string
message:
type: string
responses:
Unauthorized:
description: Unknown, malformed or revoked API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
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'
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