Body Required
-
size integer
Number of people to return. The maximum value is 10,000. To get more than 10,000 results, use
searchAfter
.Minimum value is
1.0
, maximum value is10000.0
. Default value is50
. -
from integer
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,001Minimum value is
1.0
, maximum value is10001.0
. Default value is1
. -
searchAfter string | null
-
peopleFilters object | null
Additional properties are NOT allowed.
-
companiesFilters object | null
Additional properties are NOT allowed.
-
revealEmails object | null
Additional properties are NOT allowed.
-
revealPhones object | null
Additional properties are NOT allowed.
-
onePersonPerDomain boolean
Only return one person per company
Default value is
false
.
POST /v2/search/people
curl \
-X POST https://api.ocean.io/v2/search/people?apiToken=string \
-H "Content-Type: application/json" \
-d '{"size":10,"from":10,"searchAfter":"NoBgdA7BAsBMEgGwBoAEAiADgGwK4HN8BTAJwC8wBjAewFt0BdIA","peopleFilters":{"includeIds":["51e19df9c1d70c7c","971b1b1bfb1ffb1a"],"excludeIds":["51e19df9c1d70c7c","971b1b1bfb1ffb1a"],"seniorities":["Founder","Owner"],"jobTitles":["CEO","CTO"],"excludeJobTitles":["CEO","CTO"],"departments":["Management","Marketing and Advertising"],"countries":["us","dk"],"names":["John Doe","Peter Pan"],"emailStatuses":["verified","catchAll"],"emails":["email_1@domain.com","email_2@domain.com"],"keywords":["engineering","research"],"fieldsExist":["name","country","linkedinUrl"],"fieldsNotExist":["firstName","location","jobTitleEnglish"],"phoneStatuses":["verified","notFound"]},"companiesFilters":{"lookalikeDomains":["bestcustomer.com","idealcustomer.com"],"minScore":0.95,"includeDomains":["interesting.com","amazing.com"],"excludeDomains":["boring.com","useless.com"],"companySizes":["2-10","51-200","100001-500000"],"ecommerce":true,"socialMedias":{"mode":"anyOf","medias":["linkedin","facebook"]},"yearFounded":{"to":1990,"from":1960},"countriesCount":{"to":5,"from":1},"revenues":["0-1M","1-10M","\u003e1000M"],"employeeCountOcean":{"to":100,"from":10},"webTrafficVisits":{"to":10000,"from":1000},"mobileApps":{"to":5,"from":1},"headquarterGeolocation":{"radius":1000,"latitude":38.880817,"longitude":-77.10216},"geolocation":{"radius":5000,"latitude":50.83348,"longitude":-0.1410065},"locationsCount":{"to":10,"from":5},"departmentSizes":[{"to":10,"from":5,"department":"Accounting and Finance"}],"keywords":{"mode":"anyOf","keywords":["premium copy paper","paper"]},"states":[{"country":"us","abbreviation":"ca"},{"country":"ca","abbreviation":"yt"}],"employeeCountLinkedin":{"to":100,"from":50},"countries":["es","pt"],"primaryCountries":["de"],"industries":{"mode":"anyOf","industries":["Advertising Platforms","Biopharma"]},"excludeIndustries":["CRM","B2B"],"industryCategories":{"mode":"anyOf","industryCategories":["Real Estate","Hardware"]},"excludeIndustryCategories":["Information Technology","Privacy and Security"],"technologies":{"mode":"anyOf","technologies":["Amazon Advertising","Google Maps"]},"fieldsExist":["industries","emails","locations"],"fieldsNotExist":["industryCategories","phones"]},"revealEmails":{"webhookUrl":"https://url.com/webhook","includeEmails":true},"revealPhones":{"webhookUrl":"https://url.com/webhook","includePhones":true},"onePersonPerDomain":false}'
Request examples
{
"size": 10,
"from": 10,
"searchAfter": "NoBgdA7BAsBMEgGwBoAEAiADgGwK4HN8BTAJwC8wBjAewFt0BdIA",
"peopleFilters": {
"includeIds": [
"51e19df9c1d70c7c",
"971b1b1bfb1ffb1a"
],
"excludeIds": [
"51e19df9c1d70c7c",
"971b1b1bfb1ffb1a"
],
"seniorities": [
"Founder",
"Owner"
],
"jobTitles": [
"CEO",
"CTO"
],
"excludeJobTitles": [
"CEO",
"CTO"
],
"departments": [
"Management",
"Marketing and Advertising"
],
"countries": [
"us",
"dk"
],
"names": [
"John Doe",
"Peter Pan"
],
"emailStatuses": [
"verified",
"catchAll"
],
"emails": [
"email_1@domain.com",
"email_2@domain.com"
],
"keywords": [
"engineering",
"research"
],
"fieldsExist": [
"name",
"country",
"linkedinUrl"
],
"fieldsNotExist": [
"firstName",
"location",
"jobTitleEnglish"
],
"phoneStatuses": [
"verified",
"notFound"
]
},
"companiesFilters": {
"lookalikeDomains": [
"bestcustomer.com",
"idealcustomer.com"
],
"minScore": 0.95,
"includeDomains": [
"interesting.com",
"amazing.com"
],
"excludeDomains": [
"boring.com",
"useless.com"
],
"companySizes": [
"2-10",
"51-200",
"100001-500000"
],
"ecommerce": true,
"socialMedias": {
"mode": "anyOf",
"medias": [
"linkedin",
"facebook"
]
},
"yearFounded": {
"to": 1990,
"from": 1960
},
"countriesCount": {
"to": 5,
"from": 1
},
"revenues": [
"0-1M",
"1-10M",
">1000M"
],
"employeeCountOcean": {
"to": 100,
"from": 10
},
"webTrafficVisits": {
"to": 10000,
"from": 1000
},
"mobileApps": {
"to": 5,
"from": 1
},
"headquarterGeolocation": {
"radius": 1000,
"latitude": 38.880817,
"longitude": -77.10216
},
"geolocation": {
"radius": 5000,
"latitude": 50.83348,
"longitude": -0.1410065
},
"locationsCount": {
"to": 10,
"from": 5
},
"departmentSizes": [
{
"to": 10,
"from": 5,
"department": "Accounting and Finance"
}
],
"keywords": {
"mode": "anyOf",
"keywords": [
"premium copy paper",
"paper"
]
},
"states": [
{
"country": "us",
"abbreviation": "ca"
},
{
"country": "ca",
"abbreviation": "yt"
}
],
"employeeCountLinkedin": {
"to": 100,
"from": 50
},
"countries": [
"es",
"pt"
],
"primaryCountries": [
"de"
],
"industries": {
"mode": "anyOf",
"industries": [
"Advertising Platforms",
"Biopharma"
]
},
"excludeIndustries": [
"CRM",
"B2B"
],
"industryCategories": {
"mode": "anyOf",
"industryCategories": [
"Real Estate",
"Hardware"
]
},
"excludeIndustryCategories": [
"Information Technology",
"Privacy and Security"
],
"technologies": {
"mode": "anyOf",
"technologies": [
"Amazon Advertising",
"Google Maps"
]
},
"fieldsExist": [
"industries",
"emails",
"locations"
],
"fieldsNotExist": [
"industryCategories",
"phones"
]
},
"revealEmails": {
"webhookUrl": "https://url.com/webhook",
"includeEmails": true
},
"revealPhones": {
"webhookUrl": "https://url.com/webhook",
"includePhones": true
},
"onePersonPerDomain": false
}
Response examples (200)
{
"people": [
{
"id": "e9447c74eafa8a19",
"domain": "google.com",
"name": "John Doe",
"firstName": "John",
"lastName": "Doe",
"country": "us",
"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",
"summary": "Some text that the person wrote to describe themselves"
}
],
"searchAfter": "NoBgdA7BAsBMEgGwBoAEAiADgGwK4HN8BTAJwC8wBjAewFt0BdIA",
"detail": "OK",
"total": 32871
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}