Skip to main content
POST
/
v1
/
enrich
/
email
Enrich by Email
curl --request POST \
  --url https://api.example.com/v1/enrich/email \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "include": [
    {}
  ],
  "verify": true
}
'
{
  "data": {
    "person": {},
    "company": {},
    "social": {},
    "deliverable": "<string>",
    "source": "<string>",
    "confidence": 123,
    "credits_remaining": 123
  }
}
This endpoint consumes 1 enrichment credit per successful call. Requests that find no data return 409 no_match and do not consume credits. If the workspace balance is zero, the API returns 402 insufficient_credits.

Request

Use this endpoint to fetch enrichment data when you do not yet have a contact record - for example, scoring inbound leads before creating them or pre-populating a signup form. Unlike /v1/enrich/contact, this endpoint never writes to your database.

Headers

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

Body Parameters

email
string
required
Email address to look up. Must be a syntactically valid RFC 5321 address.
include
array
Optional subset of sections to return: person, company, social. Defaults to all sections.
verify
boolean
default:"false"
When true, additionally performs SMTP verification and returns deliverable status.

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/enrich/email \
  -H "Authorization: Bearer wbk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"email": "jane@acme.com", "verify": true}'

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",
      "hq_location": "New York, NY, US"
    },
    "deliverable": "deliverable",
    "source": "vendor_a",
    "confidence": 0.93,
    "credits_remaining": 4869
  }
}

Errors

StatusCodeDescription
400validation_errorMalformed or missing email
401invalid_keyInvalid or expired API key
402insufficient_creditsWorkspace credit balance is exhausted
403insufficient_permissionsMissing write:enrich permission
409no_matchUpstream providers returned no data
429rate_limitedRate limit exceeded