Search profiles
GET
/v1/profile-search
$0.0400 per request
Search LinkedIn profiles by name, company, location, and more.
Search LinkedIn profiles by name, company, location, and more
Try it
Runs against the sandbox, so it is free and needs no API key. The response shape is identical to the live endpoint.
GET
Sandbox · free
/v1/profile-search
Parameters
Billed equivalent
With a real key this call costs at Starter, less your tier discount.
Response
msQuery parameters
| Parameter | Example | Description |
|---|---|---|
currentCompany
|
https://www.linkedin.com/company/google | Filter by company ID or Company URL. One value or multiple comma-separated |
firstName
|
— | Filter by first name |
geoId
|
— | Filter by location as LinkedIn Geo ID. Overrides the location query param. Use the /linkedin/geo-id-search endpoint to find the Geo ID |
industryId
|
— | Filter by industry ID. One value or multiple comma-separated |
lastName
|
— | Filter by last name |
location
|
Australia | Filter by location text |
page
|
1 | Page number, use for pagination |
pastCompany
|
— | Filter by past company ID or Company URL. One value or multiple comma-separated |
school
|
— | Filter by school ID or School URL. One value or multiple comma-separated |
search
|
Mark | — |
title
|
— | Filter by title |
Code
curl 'https://api.enricho.io/v1/profile-search?currentCompany=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgoogle' \
-H 'X-API-Key: YOUR_API_KEY'
import requests
response = requests.get(
"https://api.enricho.io/v1/profile-search",
headers={"X-API-Key": "YOUR_API_KEY"},
params={
'currentCompany': 'https://www.linkedin.com/company/google',
},
timeout=30,
)
response.raise_for_status()
# Every response reports what it cost and what is left.
print(response.headers["X-Request-Cost"], response.headers["X-Balance-Remaining"])
print(response.json())
const params = new URLSearchParams({
"currentCompany": "https://www.linkedin.com/company/google"
});
const response = await fetch(`https://api.enricho.io/v1/profile-search?${params}`, {
headers: { 'X-API-Key': 'YOUR_API_KEY' },
});
if (!response.ok) {
throw new Error(`${response.status}: ${(await response.json()).error.message}`);
}
console.log(response.headers.get('X-Request-Cost'));
console.log(await response.json());
$client = new GuzzleHttp\Client();
$response = $client->get('https://api.enricho.io/v1/profile-search', [
'headers' => ['X-API-Key' => 'YOUR_API_KEY'],
'query' => [
'currentCompany' => 'https://www.linkedin.com/company/google',
],
'timeout' => 30,
]);
echo $response->getHeaderLine('X-Request-Cost');
$data = json_decode((string) $response->getBody(), true);
Example response
{
"pagination": {
"totalElements": 10,
"totalPages": 1,
"pageNumber": 1,
"previousElements": 0,
"pageSize": 10,
"totalResultCount": 1308148113
},
"elements": [
{
"id": "ACr___eqvyMBRWy0XVSApz_wgevGOvOsEYRcSuU",
"name": "LinkedIn Member",
"position": "Interventional Radiologist, University Hospital Center Sestre Milosrdnice",
"photo": "https://media.licdn.com/dms/image/v2/C4D03AQHfmvHzMpddew/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1607327858145?e=1788393600&v=beta&t=cq1z5OLZ6-XzqsBzPZrea5JCMr_TYsHXpsoeQJRz5L8",
"location": {
"linkedinText": "Zagreb"
},
"linkedinUrl": null,
"publicIdentifier": null,
"hidden": true
},
{
"id": "ACr__7b___4BI6OE_AeBiW-LHJsSgTw6ouarhm0",
"name": "LinkedIn Member",
"position": "Anesthesiologist at University Clinical Center Zagreb",
"photo": "https://media.licdn.com/dms/image/v2/C4E03AQErRoGyAY_oeQ/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1549399120423?e=1788393600&v=beta&t=Ew4jRbyxFE019ZmTYRFT8JPzl61q7-DUJ81_ZE0YP9w",
"location": {
"linkedinText": "Croatia"
},
"linkedinUrl": null,
"publicIdentifier": null,
"hidden": true
},
{
"id": "ACr__7elhXQBiIxbvlDSoXcEDz6jlcscfPkO8oY",
"name": "LinkedIn Member",
"position": "Postdoctoral researcher at University of Zagreb School of Dental Medicine",
"photo": "https://media.licdn.com/dms/image/v2/C4D03AQHcFNXjstFjEA/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1585215287216?e=1788393600&v=beta&t=T5f1y7jTqXv8E5cPpVEOc0evCxRWS3gIKtM3U5Rj8FY",
"location": {
"linkedinText": "Croatia"
},
"linkedinUrl": null,
"publicIdentifier": null,
"hidden": true
}
],
"query": [],
"status": 200
}
Error response
Full list of codes on the errors page.
{
"error": {
"code": "insufficient_balance",
"message": "Your balance is too low for this request.",
"docs": "https://enricho.io/docs/errors#insufficient_balance"
}
}