Search people (deprecated)
Search people using filters and/or people Ids
Cost calculation:
- Request that contains one or more lookalike company domains - 3 credits per person in result
- Request that does not contain any lookalike company domains - 1 credit per person in result
Query Parameters
Header Parameters
Number of people to return. The maximum value is 10,000. To get more than 10,000 results, use searchAfter
.
50
10
1 <= value <= 10000
Return people from number X. Passing 1 will return all the results. Passing 10 will return results from the 10th. Note: size + from
cannot be higher than 10,001
1
10
1 <= value <= 10001
Use searchAfter
returned by the previous request to get the next page. Note: this cannot be used together with onePersonPerDomain
enabled.
"NoBgdA7BAsBMEgGwBoAEAiADgGwK4HN8BTAJwC8wBjAewFt0BdIA"
Collection of filters to be applied to the search
Collection of companies filters, the search results will display people that are associated with those companies
{"includeEmails":true,"webhookUrl":"https://url.com/webhook"}
{"includePhones":true,"webhookUrl":"https://url.com/webhook"}
Only return one person per company
false
false
Number of people to return per company. If you want to return all people from a company, don't set this value.
3
null
1 <= value <= 5
Response Body
curl -X POST "https://api.ocean.io/v2/search/people?apiToken=string" \
-H "x-api-token: string" \
-H "Content-Type: application/json" \
-d '{}'
{
"people": [
{
"id": "e9447c74eafa8a19",
"domain": "google.com",
"name": "John Doe",
"firstName": "John",
"lastName": "Doe",
"country": "us",
"state": "CA",
"location": "Copenhagen, Capital Region, Denmark",
"linkedinUrl": "https://www.linkedin.com/in/someone",
"seniorities": [
"C-Level",
"Manager"
],
"departments": [
"Management",
"Marketing and Advertising"
],
"photo": "http://media.licdn.com/dms/image/somelink",
"jobTitle": "Professeur",
"jobTitleEnglish": "Teacher",
"currentJobDescription": "Software Engineer specializing in cloud infrastructure",
"experiences": [
{
"dateFrom": "2020-01-01",
"dateTo": "2021-01-01",
"description": "Software Engineer specializing in cloud infrastructure",
"domain": "domain.com",
"jobTitle": "Software Engineer"
}
],
"summary": "Some text that the person wrote to describe themselves",
"skills": [
"Product Management",
"Entrepreneurship",
"Social Media"
],
"phone": {
"numbers": [
"+4512345678",
"+33 6 00 00 00 00"
],
"status": "verified"
},
"email": {
"address": "example.jonas@ocean.io",
"status": "verified"
}
}
],
"searchAfter": "NoBgdA7BAsBMEgGwBoAEAiADgGwK4HN8BTAJwC8wBjAewFt0BdIA",
"detail": "OK",
"total": 32871,
"redirectMap": {
"given_local_domain.uk": "original.com",
"ikea.nl": "ikea.com"
}
}
{
"detail": "Conflicting API tokens provided in query parameters and headers"
}
{
"detail": "Insufficient standard credits"
}
{
"detail": "API token should be provided in headers or query parameters"
}
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}