LastDatabase · Schema

LeadSearchResponse

Contact DataLead GenerationB2B DataEmail VerificationData EnrichmentSales ProspectingMCP

Properties

Name Type Description
status boolean
type string
count integer
data array Lead records. Available fields depend on the requested inventory type and source data.
View JSON Schema on GitHub

JSON Schema

lastdatabase-lead-search-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lastdatabase/main/json-schema/lastdatabase-lead-search-response-schema.json",
  "title": "LeadSearchResponse",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lastdatabase-openapi.yml#/components/schemas/LeadSearchResponse",
  "type": "object",
  "required": [
    "status",
    "type",
    "count",
    "data"
  ],
  "properties": {
    "status": {
      "type": "boolean",
      "const": true
    },
    "type": {
      "type": "string",
      "enum": [
        "email",
        "phone",
        "fax"
      ]
    },
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "data": {
      "type": "array",
      "description": "Lead records. Available fields depend on the\nrequested inventory type and source data.\n",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/EmailLead"
          },
          {
            "$ref": "#/$defs/PhoneLead"
          },
          {
            "$ref": "#/$defs/FaxLead"
          }
        ]
      }
    }
  },
  "$defs": {
    "EmailLead": {
      "type": "object",
      "description": "Email lead record. Additional fields may be returned\nby the underlying email inventory.\n",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": [
            "integer",
            "string"
          ]
        },
        "package_id": {
          "type": [
            "integer",
            "string",
            "null"
          ]
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_website": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "employee_size": {
          "type": [
            "string",
            "null"
          ]
        },
        "revenue": {
          "type": [
            "string",
            "null"
          ]
        },
        "seniority": {
          "type": [
            "string",
            "null"
          ]
        },
        "technology": {
          "type": [
            "string",
            "null"
          ]
        },
        "job_title": {
          "type": [
            "string",
            "null"
          ]
        },
        "industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "postal_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FaxLead": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": [
            "integer",
            "string"
          ]
        },
        "package_id": {
          "type": [
            "integer",
            "string",
            "null"
          ]
        },
        "company_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "fax_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": [
            "string",
            "null"
          ]
        },
        "optin_status": {
          "type": [
            "boolean",
            "integer",
            "string",
            "null"
          ]
        }
      }
    },
    "PhoneLead": {
      "type": "object",
      "description": "Phone lead record. Additional fields may be returned\nby the underlying phone inventory.\n",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": [
            "integer",
            "string"
          ]
        },
        "package_id": {
          "type": [
            "integer",
            "string",
            "null"
          ]
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "phone_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "country_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "postal_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "carrier": {
          "type": [
            "string",
            "null"
          ]
        },
        "category": {
          "type": [
            "string",
            "null"
          ]
        },
        "company_website": {
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "employee_size": {
          "type": [
            "string",
            "null"
          ]
        },
        "revenue": {
          "type": [
            "string",
            "null"
          ]
        },
        "seniority": {
          "type": [
            "string",
            "null"
          ]
        },
        "technology": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": [
            "string",
            "null"
          ]
        },
        "optin_status": {
          "type": [
            "boolean",
            "integer",
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/lastdatabase-lead-search-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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