LenDb.ai Keys API

The Keys API from LenDb.ai — 2 operation(s) for keys.

GitHub OpenAPI

Operations 3

POST /keys/request Ask for a free API key (agent self-signup) #
GET /keys/request/{request_id} Poll a key request; returns the key once after approval #
POST /keys/request/{request_id} Poll a key request with the claim secret in the body #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lendb-ai:lendb-ai-keys-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lendb-ai-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LenDb.ai public read Keys 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: Keys
paths:
  /keys/request:
    post:
      operationId: requestApiKey
      summary: Ask for a free API key (agent self-signup)
      description: Emails a verification link to `email`. When a person approves it, the key is shown to them once, and you can collect it once from GET /keys/request/{request_id} with the returned claim_secret. Limited per IP and to 3 requests per email address per day. Requests expire after 24 hours.
      security:
      - {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              - use_case
              properties:
                email:
                  type: string
                  format: email
                  description: The person who approves and owns the key.
                use_case:
                  type: string
                  minLength: 3
                  maxLength: 500
                name:
                  type: string
                  maxLength: 80
                  description: Optional key name.
      responses:
        '202':
          description: Verification email sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - pending_verification
                  request_id:
                    type: string
                    format: uuid
                  claim_secret:
                    type: string
                    description: 'Shown only once. Send as Authorization: Bearer <claim_secret> when polling.'
                  poll_url:
                    type: string
                    format: uri
                  expires_at:
                    type: string
                    format: date-time
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Keys
  /keys/request/{request_id}:
    get:
      operationId: claimApiKey
      summary: Poll a key request; returns the key once after approval
      description: 'Send `Authorization: Bearer `. `?claim_secret=` still works but is deprecated (secrets in URLs end up in logs, referrers and history); responses that used it carry a `Deprecation` header. Poll every 10 seconds or slower.'
      security:
      - {}
      parameters:
      - name: request_id
        in: path
        required: true
        description: The request_id POST /keys/request returned.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: pending_verification, or ready with the key (returned only once)
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - pending_verification
                    - ready
                  api_key:
                    type: string
                    description: Present once, when status is ready.
                  key_prefix:
                    type: string
        '404':
          $ref: '#/components/responses/NotFound'
        '410':
          description: Already claimed or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Keys
    post:
      operationId: claimApiKeyPost
      summary: Poll a key request with the claim secret in the body
      description: 'Same as GET, for clients that cannot set headers: send `{"claim_secret": "ldb_claim_..."}` as JSON or a form field (or the Authorization header). Poll every 10 seconds or slower.'
      security:
      - {}
      parameters:
      - name: request_id
        in: path
        required: true
        description: The request_id POST /keys/request returned.
        schema:
          type: string
          format: uuid
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                claim_secret:
                  type: string
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                claim_secret:
                  type: string
      responses:
        '200':
          description: pending_verification, or ready with the key (returned only once)
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - pending_verification
                    - ready
                  api_key:
                    type: string
                    description: Present once, when status is ready.
                  key_prefix:
                    type: string
        '404':
          $ref: '#/components/responses/NotFound'
        '410':
          description: Already claimed or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Keys
components:
  responses:
    BadRequest:
      description: Bad request
      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'
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  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