Skip to main content
POST
/
v1
/
prospects
/
search
Search Prospects (Legacy)
curl --request POST \
  --url https://api.example.com/v1/prospects/search \
  --header 'Content-Type: application/json' \
  --data '
{
  "titles": [
    {}
  ],
  "location": [
    {}
  ],
  "industry": [
    {}
  ],
  "headcount": [
    {}
  ],
  "page": 123,
  "query": "<string>",
  "jobTitles": [
    {}
  ]
}
'
{
  "data": {
    "results": [
      {
        "full_name": "<string>",
        "first_name": "<string>",
        "last_name": "<string>",
        "job_title": "<string>",
        "linkedin_url": "<string>",
        "location": "<string>",
        "email_available": true,
        "phone_available": true,
        "company": "<string>",
        "company_domain": "<string>",
        "company_size": "<string>",
        "company_industry": "<string>",
        "member_id": "<string>",
        "company_id": "<string>"
      }
    ],
    "pagination": {
      "page": 123,
      "per_page": 123,
      "total": 123,
      "total_pages": 123
    }
  }
}
This is a legacy endpoint. It accepts the old query format but internally forwards to /v1/prospector/search. We recommend using /v1/prospector/search directly for access to all 15+ filter types.

Request

Headers

Authorization: Bearer wbk_your_api_key_here
Content-Type: application/json

Body Parameters

This endpoint accepts either the new format (recommended) or the legacy format. Uses the same parameters as /v1/prospector/search:
titles
array
Job titles to search for (e.g., ["CEO", "General Counsel"])
location
array
Person locations (e.g., ["United States", "United Kingdom"])
industry
array
Industry filters (e.g., ["Legal Services", "Technology"])
headcount
array
Company size ranges (e.g., ["51-200", "201-500"])
page
integer
default:"1"
Page number for pagination
See /v1/prospector/search for all available filters including seniority, departments, funding, revenue, company domains, and more.

Legacy Format (deprecated)

query
string
A search string — will be treated as a job title search.
jobTitles
array
Job titles — mapped to titles internally.

Response

Same response format as /v1/prospector/search.
data
object
curl -X POST https://data.leadlex.com/functions/v1/api-gateway/v1/prospects/search \
  -H "Authorization: Bearer wbk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "titles": ["CEO", "Chief Executive Officer"],
    "industry": ["Legal Services"],
    "location": ["United States"],
    "headcount": ["11-50", "51-200"]
  }'

Notes

We recommend migrating to /v1/prospector/search for full filter support including seniority, departments, company domains, funding stage, and revenue filters.

Errors

StatusCodeDescription
400validation_errorNo search filters provided
401invalid_keyInvalid API key
403insufficient_permissionsMissing prospects:read permission
503service_unavailableProspector service not configured