search
Lookalike Search Endpoint
Find similar profiles using vector embedding similarity (pgvector).
Authentication required: Header api_key: <your_api_key>
Pricing: 0.25 credit per profile returned (DB data)
This endpoint uses OpenAI embeddings + pgvector cosine similarity to find profiles that are semantically similar to a given LinkedIn profile.
How it works:
- Takes a LinkedIn profile URL, public_id, or member_identity
- If the profile has no embedding yet: scrapes it live, generates embedding, stores it
- Queries pgvector for the most similar profiles by cosine distance
- Returns profiles ranked by similarity score (1.0 = identical, 0.0 = unrelated)
Use cases:
- sales: Find similar prospects (matches on title, industry, company size, skills)
- recruiter: Find similar candidates (matches on skills, education, experience)
Example request:
{
"profile": "https://www.linkedin.com/in/johndoe",
"use_case": "sales",
"country": "US",
"count": 25,
"offset": 0
}
Example response:
{
"lookalike_profile": "https://www.linkedin.com/in/john-doe",
"total": 847,
"offset": 0,
"count": 25,
"has_next_page": true,
"credits_used": 6.25,
"method": "vector",
"results": [
{
"similarity_score": 0.8234,
"member_identity": "ACoAABxxxxxx",
"headline": "Sales Director at BigCo",
...
}
]
}
post/search/lookalike
Request
- Base URL: https://api.dataforb2b.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.dataforb2b.ai/search/lookalike
- Auth: none declared
Headers
api-keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.