Developers
Build on LenDb.
What you get
- Read API at
/api/v1: ranked loan officers for a situation and place (/match?q=), profiles by NMLS ID, lenders, and the specialty taxonomy. Described by an OpenAPI 3.1 document. - MCP server at
https://lendb.ai/mcp(streamable HTTP):find_loan_officers,get_loan_officer,get_lender,list_specialtiesandexplain_specialty. All five are read-only; keys are requested here or through the REST API, never through MCP. - Every answer is sourced and carries a
canonical_urlto cite. Phone numbers and email addresses are never in the API or MCP, with or without a key.
Limits
API (/api/v1) | MCP (/mcp) | |
|---|---|---|
| No key (per IP) | 60/min, 1,200/hour | 30/min, 600/hour |
| Free key | 120/min and 10,000 calls a day per key, API and MCP combined. Days reset at 00:00 UTC. | |
Over a limit you get HTTP 429 with Retry-After. Keyed responses carry X-LenDb-Key-Prefix, RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset for the minute window, and X-LenDb-Daily-Limit and X-LenDb-Daily-Remaining for the day. Up to 5 active keys per account. Need more? Tell us.
Quick start
Without a key:
curl 'https://lendb.ai/api/v1/match?q=VA%20loan%20in%20San%20Diego'With a key, send it as a bearer token. On /api/v1, ?api_key= still works but is deprecated (keys in URLs end up in logs and browser history); the MCP server accepts the header only.
curl -i 'https://lendb.ai/api/v1/match?q=duplex%20in%20Austin,%20self-employed' \
-H 'Authorization: Bearer ldb_live_...'Connect the MCP server
Claude Code
claude mcp add --transport http lendb https://lendb.ai/mcp \
--header "Authorization: Bearer ldb_live_..."Claude (claude.ai and Claude Desktop)
Add LenDb from Claude's Connectors Directory in one click. Or add a custom connector in Settings, Connectors, with the URL https://lendb.ai/mcp. No OAuth or key needed: it runs at the anonymous limits. Keys go in the Authorization header only (clients that can set headers, like Claude Code or Cursor), never in the URL.
ChatGPT
Add LenDb from ChatGPT's plugin directory in one click, then type @ in a new chat to use it. Or, at chatgpt.com/plugins, choose Add custom MCP server, enter the same URL with no authentication, and create it as a plugin.
Cursor
In ~/.cursor/mcp.json:
{
"mcpServers": {
"lendb": {
"url": "https://lendb.ai/mcp",
"headers": { "Authorization": "Bearer ldb_live_..." }
}
}
}Any other MCP client: {"lendb": {"url": "https://lendb.ai/mcp"}}.
Agents can ask for a key
An agent can request a key for its person, who approves it by email. Nobody else sees the key: it is shown once to the person who approves, and handed once to the agent that asked.
POST /api/v1/keys/requestwith{"email": "...", "use_case": "...", "name": "optional"}. The answer has arequest_id, a one-timeclaim_secretand apoll_url.- We email a link to that address. The person reviews the request, accepts the terms and approves it.
- The agent polls
GET /api/v1/keys/request/{request_id}withAuthorization: Bearer <claim_secret>every 10 seconds or slower, and receives the key once.
curl -X POST https://lendb.ai/api/v1/keys/request \
-H 'content-type: application/json' \
-d '{"email":"you@example.com","use_case":"Find VA loan officers for my clients","name":"my-agent"}'Requests are limited per email address and per network, and expire after 24 hours.
Change on 2026-12-15: claim secrets no longer accepted in URLs. When an agent polls /api/v1/keys/request/{request_id}, send the claim secret as Authorization: Bearer <claim_secret>, or POST it as {"claim_secret": "..."}. Until December 15, 2026 the ?claim_secret= query parameter still works and those responses carry a Deprecation header; after that date it is ignored and the request answers 404. Secrets in URLs can end up in server logs, browser history and Referer headers, so we are closing that path. API keys are not affected by this change.
The rules, briefly
- Cite the
canonical_urland pass along thereasonswe return. - Keep keys secret. Do not put them in public code or client-side apps; revoke a leaked key in your dashboard.
- Using a key means you accept the Terms of Use, including the API section. Verify licenses at NMLS Consumer Access (opens in a new tab).
More for machines: llms.txt, the guide for bots, and the OpenAPI document.