Lookalikes
Contact Lookalikes (Legacy)
Returns contact lookalikes based on seed contacts.
Endpoint: (POST) https://api.lusha.com/v3/lookalike/contacts
How It Works
First Request (Start a New Run):
- Do not send
dedupeSessionId - Server generates one and returns it in the response
- Use returned
dedupeSessionIdfor subsequent “get more” requests
Subsequent Requests (“Get More”):
- Send the returned
dedupeSessionIdto fetch more results without duplicates - Server dedupes against all contacts previously returned for the
dedupeSessionId - User-provided
exclude.*is applied on every request and combined with server-side dedupe - Session history retained for 30 days from last activity (sliding window)
POST
/
v3
/
lookalike
/
contacts
curl --request POST \
--url https://api.lusha.com/v3/lookalike/contacts \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"seeds": {
"linkedinUrls": [
"https://www.linkedin.com/in/johndoe"
],
"emails": [
"jane@acme.com",
"bob@example.com"
],
"contacts": [
{
"firstName": "Alice",
"lastName": "Smith",
"companyDomain": "sap.com"
}
],
"contactIds": [
1234,
4567
]
},
"exclude": {
"emails": [
"existing@customer.com"
],
"linkedinUrls": [
"https://www.linkedin.com/in/already-contacted/"
],
"contactIds": [
9999
]
},
"limit": 25
}
'{
"dedupeSessionId": "58adaa77-7a6e-4c9b-8c2d-820a6538e613",
"results": [
{
"contactId": "9659196",
"firstName": "Sarah",
"lastName": "Johnson",
"socialLinks": {
"linkedin": "https://www.linkedin.com/in/sarahjohnson"
},
"company": {
"companyId": "8605368",
"name": "Marriott International",
"domain": "marriott.com"
},
"jobTitle": {
"title": "VP of Sales",
"departments": [
"Sales"
],
"seniority": "Director"
},
"location": {
"country": "United States",
"state": "Maryland",
"city": "Bethesda"
}
}
],
"meta": {
"returned": 1,
"hasMore": true
},
"creditsCharged": 3
}Authorizations
Body
application/json
Response
Successfully retrieved contact lookalikes
Was this page helpful?
⌘I
curl --request POST \
--url https://api.lusha.com/v3/lookalike/contacts \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"seeds": {
"linkedinUrls": [
"https://www.linkedin.com/in/johndoe"
],
"emails": [
"jane@acme.com",
"bob@example.com"
],
"contacts": [
{
"firstName": "Alice",
"lastName": "Smith",
"companyDomain": "sap.com"
}
],
"contactIds": [
1234,
4567
]
},
"exclude": {
"emails": [
"existing@customer.com"
],
"linkedinUrls": [
"https://www.linkedin.com/in/already-contacted/"
],
"contactIds": [
9999
]
},
"limit": 25
}
'{
"dedupeSessionId": "58adaa77-7a6e-4c9b-8c2d-820a6538e613",
"results": [
{
"contactId": "9659196",
"firstName": "Sarah",
"lastName": "Johnson",
"socialLinks": {
"linkedin": "https://www.linkedin.com/in/sarahjohnson"
},
"company": {
"companyId": "8605368",
"name": "Marriott International",
"domain": "marriott.com"
},
"jobTitle": {
"title": "VP of Sales",
"departments": [
"Sales"
],
"seniority": "Director"
},
"location": {
"country": "United States",
"state": "Maryland",
"city": "Bethesda"
}
}
],
"meta": {
"returned": 1,
"hasMore": true
},
"creditsCharged": 3
}