curl --request POST \
--url https://api.getanyapi.com/v1/run/person_enrichment.lusha \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedinUrl": "https://www.linkedin.com/in/tim-zheng"
}
'import requests
url = "https://api.getanyapi.com/v1/run/person_enrichment.lusha"
payload = { "linkedinUrl": "https://www.linkedin.com/in/tim-zheng" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedinUrl: 'https://www.linkedin.com/in/tim-zheng'})
};
fetch('https://api.getanyapi.com/v1/run/person_enrichment.lusha', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getanyapi.com/v1/run/person_enrichment.lusha",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedinUrl' => 'https://www.linkedin.com/in/tim-zheng'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getanyapi.com/v1/run/person_enrichment.lusha"
payload := strings.NewReader("{\n \"linkedinUrl\": \"https://www.linkedin.com/in/tim-zheng\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getanyapi.com/v1/run/person_enrichment.lusha")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedinUrl\": \"https://www.linkedin.com/in/tim-zheng\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/person_enrichment.lusha")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedinUrl\": \"https://www.linkedin.com/in/tim-zheng\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"fullName": "<string>",
"company": {
"city": "<string>",
"companyId": "<string>",
"country": "<string>",
"description": "<string>",
"domain": "<string>",
"emailDomain": "<string>",
"employeeRange": [
123
],
"facebookUrl": "<string>",
"fqdn": "<string>",
"image": "<string>",
"linkedinUrl": "<string>",
"mainIndustry": "<string>",
"naicsCodes": [
{
"code": "<string>",
"description": "<string>"
}
],
"name": "<string>",
"revenueRange": [
123
],
"sicCodes": [
{
"code": "<string>",
"description": "<string>"
}
],
"state": "<string>",
"subIndustry": "<string>",
"technologies": [
"<string>"
],
"website": "<string>",
"xUrl": "<string>"
},
"contactTags": [
"<string>"
],
"departments": [
"<string>"
],
"email": "<string>",
"emails": [
{
"email": "<string>",
"confidence": "<string>",
"type": "<string>",
"updatedUtc": 123
}
],
"firstName": "<string>",
"jobStartUtc": 123,
"jobTitle": "<string>",
"lastName": "<string>",
"linkedinConnections": 123,
"linkedinFollowers": 123,
"linkedinUrl": "<string>",
"location": {
"city": "<string>",
"continent": "<string>",
"country": "<string>",
"countryCode": "<string>",
"isEuContact": true,
"state": "<string>",
"stateCode": "<string>"
},
"personId": "<string>",
"phone": "<string>",
"phones": [
{
"number": "<string>",
"doNotCall": true,
"type": "<string>"
}
],
"previousJobTitle": "<string>",
"seniority": "<string>",
"updatedUtc": 123
},
"found": true
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Person Enrichment - Lusha
Enrich one person into work email, direct dial, job title and employer firmographics from a LinkedIn URL, an email, or a name plus company.
Price: $84.00 per 1,000 requests (flat per request - same cost regardless of results returned).
Routing: one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail’s settlement policy.
Catalog: Person Enrichment - Lusha pricing and uptime - live USD price, lane routing, and measured 30-day uptime. Every Person_enrichment endpoint.
curl --request POST \
--url https://api.getanyapi.com/v1/run/person_enrichment.lusha \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedinUrl": "https://www.linkedin.com/in/tim-zheng"
}
'import requests
url = "https://api.getanyapi.com/v1/run/person_enrichment.lusha"
payload = { "linkedinUrl": "https://www.linkedin.com/in/tim-zheng" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedinUrl: 'https://www.linkedin.com/in/tim-zheng'})
};
fetch('https://api.getanyapi.com/v1/run/person_enrichment.lusha', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getanyapi.com/v1/run/person_enrichment.lusha",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedinUrl' => 'https://www.linkedin.com/in/tim-zheng'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getanyapi.com/v1/run/person_enrichment.lusha"
payload := strings.NewReader("{\n \"linkedinUrl\": \"https://www.linkedin.com/in/tim-zheng\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getanyapi.com/v1/run/person_enrichment.lusha")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedinUrl\": \"https://www.linkedin.com/in/tim-zheng\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/person_enrichment.lusha")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedinUrl\": \"https://www.linkedin.com/in/tim-zheng\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"fullName": "<string>",
"company": {
"city": "<string>",
"companyId": "<string>",
"country": "<string>",
"description": "<string>",
"domain": "<string>",
"emailDomain": "<string>",
"employeeRange": [
123
],
"facebookUrl": "<string>",
"fqdn": "<string>",
"image": "<string>",
"linkedinUrl": "<string>",
"mainIndustry": "<string>",
"naicsCodes": [
{
"code": "<string>",
"description": "<string>"
}
],
"name": "<string>",
"revenueRange": [
123
],
"sicCodes": [
{
"code": "<string>",
"description": "<string>"
}
],
"state": "<string>",
"subIndustry": "<string>",
"technologies": [
"<string>"
],
"website": "<string>",
"xUrl": "<string>"
},
"contactTags": [
"<string>"
],
"departments": [
"<string>"
],
"email": "<string>",
"emails": [
{
"email": "<string>",
"confidence": "<string>",
"type": "<string>",
"updatedUtc": 123
}
],
"firstName": "<string>",
"jobStartUtc": 123,
"jobTitle": "<string>",
"lastName": "<string>",
"linkedinConnections": 123,
"linkedinFollowers": 123,
"linkedinUrl": "<string>",
"location": {
"city": "<string>",
"continent": "<string>",
"country": "<string>",
"countryCode": "<string>",
"isEuContact": true,
"state": "<string>",
"stateCode": "<string>"
},
"personId": "<string>",
"phone": "<string>",
"phones": [
{
"number": "<string>",
"doNotCall": true,
"type": "<string>"
}
],
"previousJobTitle": "<string>",
"seniority": "<string>",
"updatedUtc": 123
},
"found": true
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Your AnyAPI key as a Bearer token.
Headers
Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
1 - 255Query Parameters
Optional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item. Keys are matched relative to each result item after the data/items envelope is unwrapped, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.
Optional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. Does not change cost.
x >= 0Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
Optional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.
Body
- Person Enrichment - Lusha input
- Person Enrichment - Lusha input
- Person Enrichment - Lusha input
- Person Enrichment - Lusha input
LinkedIn profile URL (linkedin.com/in/...). Highest match rate.
Employer domain, e.g. apollo.io. Secondary identifier for a name-based lookup.
1Employer name. Secondary identifier for a name-based lookup; companyDomain matches more reliably.
1Known email address, used to resolve the person's identity.
First name. Send with lastName plus companyName or companyDomain.
1Last name. Send with firstName plus companyName or companyDomain.
1Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
x >= 1Force a fresh job title and employer lookup instead of the cached one.
Reveal email addresses. Defaults to true upstream.
Reveal phone numbers. Defaults to true upstream.
Include buying-intent signals in the response.
Response
Normalized result.
USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.
Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count.
Normalized output, or null when the replay payload was not retained.
Hide child attributes
Hide child attributes
The enriched person, or null when nothing matched.
Hide child attributes
Hide child attributes
Person's full name.
The person's current employer.
Hide child attributes
Hide child attributes
Headquarters city.
Lusha's own company identifier.
Headquarters country.
Company description.
Primary company domain.
Domain the company's work email addresses use.
Employee headcount band as [min, max].
Company Facebook page URL.
Fully qualified host for the company website.
Company logo URL.
Company LinkedIn page URL.
Top-level industry.
Company name.
Annual revenue band in USD as [min, max].
Headquarters state or region.
Sub-industry.
Technologies Lusha detects in the company's stack.
Company website URL.
Company X (Twitter) profile URL.
Tags Lusha attaches to the contact.
Departments Lusha assigns the current role, e.g. General Management.
Best email address Lusha holds, the first entry of emails.
Every email address Lusha holds for the person.
Hide child attributes
Hide child attributes
Email address.
Lusha's confidence grade for the address, e.g. A+.
Address kind, e.g. work or personal.
UTC epoch timestamp in seconds (Unix time) the address was last confirmed. Multiply by 1000 for a JS Date in milliseconds.
Person's first name.
UTC epoch timestamp in seconds (Unix time) the person started the current role. Multiply by 1000 for a JS Date in milliseconds.
Current job title.
Person's last name.
LinkedIn connection count.
LinkedIn follower count.
LinkedIn profile URL.
Where the person is located.
Hide child attributes
Hide child attributes
City.
Continent name.
Country name.
ISO 3166-1 alpha-2 country code.
True when Lusha classifies the contact as EU-resident.
State or region.
State or region code.
Lusha's own person identifier.
Best phone number Lusha holds, the first entry of phones.
Job title of the previous role Lusha holds.
Seniority band for the current role, e.g. Founder.
UTC epoch timestamp in seconds (Unix time) the record was last refreshed. Multiply by 1000 for a JS Date in milliseconds.
False when Lusha holds no person for the requested identifiers.
Always "AnyAPI".
True when this response replays the durable result of an earlier run without billing or upstream execution.
Optional one-line nudge, absent when there is nothing to say. large_result: suggests the fields/max_items/summary/jq controls for a big response. paging_unavailable: means this result came from a source that cannot return a nextCursor, so it may be INCOMPLETE and cannot be continued - re-run with requireCursor: true to be served only by a source that can page, which may cost more per request.
Present only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.
Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.