Skip to main content
POST
/
v1
/
email
/
enrich
Enrich Email or Domain
curl --request POST \
  --url https://api.example.com/v1/email/enrich \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "domain": "<string>",
  "include": [
    {}
  ]
}
'
{
  "data": {
    "person": {},
    "company": {},
    "social": {},
    "source": "<string>",
    "confidence": 123,
    "credits_remaining": 123
  }
}
This endpoint consumes enrichment credits from your workspace balance. Each successful lookup costs 1 credit. If the workspace is out of credits, the API returns 402 insufficient_credits.

Request

Headers

Authorization: Bearer wbk_your_api_key_here
Content-Type: application/json
Idempotency-Key
string
Optional UUID to deduplicate retries within 24 hours. The credit is only charged on the first successful call.

Body Parameters

email
string
Email address to resolve. Either email or domain is required.
domain
string
Domain name to resolve (e.g. acme.com). Either email or domain is required.
include
array
Optional subset of sections to return: person, company, social. Defaults to all.

Response

data
object
Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
curl -X POST \
  https://data.leadlex.com/functions/v1/api-gateway/v1/email/enrich \
  -H "Authorization: Bearer wbk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"email": "jane@acme.com"}'

Example Response

{
  "data": {
    "person": {
      "full_name": "Jane Doe",
      "first_name": "Jane",
      "last_name": "Doe",
      "job_title": "General Counsel",
      "seniority": "executive",
      "location": "New York, NY, US",
      "linkedin_url": "https://linkedin.com/in/janedoe"
    },
    "company": {
      "name": "Acme Corp",
      "domain": "acme.com",
      "industry": "Legal Services",
      "size": "201-500",
      "founded_year": 1998,
      "hq_location": "New York, NY, US"
    },
    "source": "vendor_a",
    "confidence": 0.92,
    "credits_remaining": 4872
  }
}

Errors

StatusCodeDescription
400validation_errorNeither email nor domain was provided
401invalid_keyInvalid or expired API key
402insufficient_creditsWorkspace credit balance is exhausted
403insufficient_permissionsMissing write:enrich permission
404no_matchUpstream providers returned no data for the input
429rate_limitedRate limit exceeded