curl --request POST \
--url https://api.pubrio.com/people/search/similar \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"peoples": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"people_search_id": "<string>",
"linkedin_url": "<string>",
"identifier": "<string>",
"search_term": "pubrio",
"people_name": "king",
"people_titles": [
"sales manager",
"marketing manager"
],
"management_levels": [
"c_suite",
"vp"
],
"departments": [
"master_human_resources"
],
"department_functions": [
"human_resources"
],
"employees": [
[
1,
10
],
[
11,
20
],
[
10001
]
],
"people_locations": [
"US",
"SG",
"CN"
],
"company_locations": [
"US",
"SG",
"CN"
],
"company_linkedin_urls": [
"https://www.linkedin.com/company/pubrio"
],
"linkedin_urls": [
"http://www.linkedin.com/in/king-lai-605382b7"
],
"companies": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"domains": [
"pubrio.com"
],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
],
"is_enable_similarity_search": true,
"similarity_score": 0.7,
"per_page": 25,
"page": 1,
"company_filters": {
"company_locations": [
"US"
],
"technologies": [
37,
152
],
"founded_dates": [
2015,
2023
],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
}
}
'import requests
url = "https://api.pubrio.com/people/search/similar"
payload = {
"peoples": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"people_search_id": "<string>",
"linkedin_url": "<string>",
"identifier": "<string>",
"search_term": "pubrio",
"people_name": "king",
"people_titles": ["sales manager", "marketing manager"],
"management_levels": ["c_suite", "vp"],
"departments": ["master_human_resources"],
"department_functions": ["human_resources"],
"employees": [[1, 10], [11, 20], [10001]],
"people_locations": ["US", "SG", "CN"],
"company_locations": ["US", "SG", "CN"],
"company_linkedin_urls": ["https://www.linkedin.com/company/pubrio"],
"linkedin_urls": ["http://www.linkedin.com/in/king-lai-605382b7"],
"companies": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"domains": ["pubrio.com"],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
],
"is_enable_similarity_search": True,
"similarity_score": 0.7,
"per_page": 25,
"page": 1,
"company_filters": {
"company_locations": ["US"],
"technologies": [37, 152],
"founded_dates": [2015, 2023],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
}
}
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
peoples: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
people_search_id: '<string>',
linkedin_url: '<string>',
identifier: '<string>',
search_term: 'pubrio',
people_name: 'king',
people_titles: ['sales manager', 'marketing manager'],
management_levels: ['c_suite', 'vp'],
departments: ['master_human_resources'],
department_functions: ['human_resources'],
employees: [[1, 10], [11, 20], [10001]],
people_locations: ['US', 'SG', 'CN'],
company_locations: ['US', 'SG', 'CN'],
company_linkedin_urls: ['https://www.linkedin.com/company/pubrio'],
linkedin_urls: ['http://www.linkedin.com/in/king-lai-605382b7'],
companies: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
domains: ['pubrio.com'],
filter_conditions: [{key: 'technologies', operator: 'and'}],
is_enable_similarity_search: true,
similarity_score: 0.7,
per_page: 25,
page: 1,
company_filters: {
company_locations: ['US'],
technologies: [37, 152],
founded_dates: [2015, 2023],
filter_conditions: [{key: 'technologies', operator: 'and'}]
}
})
};
fetch('https://api.pubrio.com/people/search/similar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pubrio.com/people/search/similar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'peoples' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'people_search_id' => '<string>',
'linkedin_url' => '<string>',
'identifier' => '<string>',
'search_term' => 'pubrio',
'people_name' => 'king',
'people_titles' => [
'sales manager',
'marketing manager'
],
'management_levels' => [
'c_suite',
'vp'
],
'departments' => [
'master_human_resources'
],
'department_functions' => [
'human_resources'
],
'employees' => [
[
1,
10
],
[
11,
20
],
[
10001
]
],
'people_locations' => [
'US',
'SG',
'CN'
],
'company_locations' => [
'US',
'SG',
'CN'
],
'company_linkedin_urls' => [
'https://www.linkedin.com/company/pubrio'
],
'linkedin_urls' => [
'http://www.linkedin.com/in/king-lai-605382b7'
],
'companies' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'domains' => [
'pubrio.com'
],
'filter_conditions' => [
[
'key' => 'technologies',
'operator' => 'and'
]
],
'is_enable_similarity_search' => true,
'similarity_score' => 0.7,
'per_page' => 25,
'page' => 1,
'company_filters' => [
'company_locations' => [
'US'
],
'technologies' => [
37,
152
],
'founded_dates' => [
2015,
2023
],
'filter_conditions' => [
[
'key' => 'technologies',
'operator' => 'and'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/people/search/similar"
payload := strings.NewReader("{\n \"peoples\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"people_search_id\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"identifier\": \"<string>\",\n \"search_term\": \"pubrio\",\n \"people_name\": \"king\",\n \"people_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"management_levels\": [\n \"c_suite\",\n \"vp\"\n ],\n \"departments\": [\n \"master_human_resources\"\n ],\n \"department_functions\": [\n \"human_resources\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"people_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"linkedin_urls\": [\n \"http://www.linkedin.com/in/king-lai-605382b7\"\n ],\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"per_page\": 25,\n \"page\": 1,\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/people/search/similar")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"peoples\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"people_search_id\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"identifier\": \"<string>\",\n \"search_term\": \"pubrio\",\n \"people_name\": \"king\",\n \"people_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"management_levels\": [\n \"c_suite\",\n \"vp\"\n ],\n \"departments\": [\n \"master_human_resources\"\n ],\n \"department_functions\": [\n \"human_resources\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"people_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"linkedin_urls\": [\n \"http://www.linkedin.com/in/king-lai-605382b7\"\n ],\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"per_page\": 25,\n \"page\": 1,\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/people/search/similar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"peoples\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"people_search_id\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"identifier\": \"<string>\",\n \"search_term\": \"pubrio\",\n \"people_name\": \"king\",\n \"people_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"management_levels\": [\n \"c_suite\",\n \"vp\"\n ],\n \"departments\": [\n \"master_human_resources\"\n ],\n \"department_functions\": [\n \"human_resources\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"people_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"linkedin_urls\": [\n \"http://www.linkedin.com/in/king-lai-605382b7\"\n ],\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"per_page\": 25,\n \"page\": 1,\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"metadata": {
"filters": {
"management_levels": [
"c_suite"
]
},
"profile": null
},
"data": {
"pagination": {
"page": 1,
"per_page": 25,
"total_entries": 199616132,
"total_pages": 100,
"total_display_pages": 100,
"is_timeout": false
},
"peoples": [
{
"people_search_id": "134591fb-f0fa-41ba-9c8c-f1eb8aab8946",
"name": "Doug McMillon",
"first_name": "Doug",
"last_name": "McMillon",
"title": "President & CEO",
"seniority": "c_suite",
"functions": null,
"headline": "President & CEO at Walmart Inc.",
"tagline": null,
"introduction": null,
"description": null,
"departments": [
"c_suite"
],
"subdepartments": [
"executive"
],
"keywords": null,
"employment_history": [
{
"title": "President & CEO",
"current": true,
"end_date": null,
"start_date": "2014-02-01",
"company_name": "Walmart"
},
{
"title": "President & CEO, Walmart International",
"current": false,
"end_date": "2014-01-01",
"start_date": "2009-02-01",
"company_name": "Walmart"
},
{
"title": "President & CEO",
"current": false,
"end_date": "2009-01-01",
"start_date": "2005-08-01",
"company_name": "Sam's Club"
}
],
"country": "United States",
"country_code": "US",
"location": "United States",
"state": "Arkansas",
"city": "Bentonville",
"wantedly_name": null,
"rocketpunch_name": null,
"contacts": null,
"contact_types": [],
"emails": null,
"phones": null,
"facebook_url": null,
"github_url": null,
"twitter_url": null,
"linkedin_url": "http://www.linkedin.com/in/dougmcmillon",
"wantedly_url": null,
"rocketpunch_url": null,
"saved_lists": null,
"sequences": null,
"social_metadata": {},
"company": {
"company_name": "Walmart",
"company_url": "http://walmart.com",
"is_company_url_active": true,
"domain": "walmart.com",
"domain_id": 26067151,
"domain_ids": [
757023267,
368242703,
26067151
],
"domain_search_id": "2a0d6cd7-cc10-44d6-94ec-41fd528a11b6",
"founded_year": 1962,
"country": "United States",
"country_code": "US",
"location": "United States",
"phones": null,
"emails": [],
"contacts": [],
"wantedly_name": null,
"rocketpunch_name": null,
"tiktok_name": null,
"company_size_printed": "466,000",
"company_size": 466000,
"industry": "Retail",
"specialties": [
"Retail",
"E-commerce"
],
"logo_url": "https://buckets.pubrio.com/company-logo/NzU3MDIzMjY3aWxqOXNzbmoxd2FsbWFydC5jb21saW5rZWRpbl8zMzMxOTgxMg==.jpg",
"linkedin_url": "http://www.linkedin.com/company/walmart",
"facebook_url": "http://facebook.com/walmart",
"twitter_url": "https://twitter.com/walmart",
"crunchbase_url": null,
"instagram_url": "http://instagram.com/walmart",
"youtube_url": "http://youtube.com/user/walmart",
"x_url": null,
"github_url": null,
"tiktok_url": null,
"wantedly_url": null,
"rocketpunch_url": null,
"social_metadata": {}
}
},
"..."
]
}
}{
"code": 40001,
"message": "Errors and codes will vary depending on the scenario, please see the documentation for information.",
"details": {}
}{
"error": "Request rate limit exceeded. Please wait and try again later."
}{
"error": "An unexpected error occurred on the server."
}Поиск похожих людей
Поиск людей, похожих на образцового человека. Укажите один образец (people_search_id, linkedin_url, linkedin_urls, peoples или people_titles); строки содержат similarity_score и упорядочены по нему — от наибольшего к наименьшему.
curl --request POST \
--url https://api.pubrio.com/people/search/similar \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"peoples": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"people_search_id": "<string>",
"linkedin_url": "<string>",
"identifier": "<string>",
"search_term": "pubrio",
"people_name": "king",
"people_titles": [
"sales manager",
"marketing manager"
],
"management_levels": [
"c_suite",
"vp"
],
"departments": [
"master_human_resources"
],
"department_functions": [
"human_resources"
],
"employees": [
[
1,
10
],
[
11,
20
],
[
10001
]
],
"people_locations": [
"US",
"SG",
"CN"
],
"company_locations": [
"US",
"SG",
"CN"
],
"company_linkedin_urls": [
"https://www.linkedin.com/company/pubrio"
],
"linkedin_urls": [
"http://www.linkedin.com/in/king-lai-605382b7"
],
"companies": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"domains": [
"pubrio.com"
],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
],
"is_enable_similarity_search": true,
"similarity_score": 0.7,
"per_page": 25,
"page": 1,
"company_filters": {
"company_locations": [
"US"
],
"technologies": [
37,
152
],
"founded_dates": [
2015,
2023
],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
}
}
'import requests
url = "https://api.pubrio.com/people/search/similar"
payload = {
"peoples": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"people_search_id": "<string>",
"linkedin_url": "<string>",
"identifier": "<string>",
"search_term": "pubrio",
"people_name": "king",
"people_titles": ["sales manager", "marketing manager"],
"management_levels": ["c_suite", "vp"],
"departments": ["master_human_resources"],
"department_functions": ["human_resources"],
"employees": [[1, 10], [11, 20], [10001]],
"people_locations": ["US", "SG", "CN"],
"company_locations": ["US", "SG", "CN"],
"company_linkedin_urls": ["https://www.linkedin.com/company/pubrio"],
"linkedin_urls": ["http://www.linkedin.com/in/king-lai-605382b7"],
"companies": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"domains": ["pubrio.com"],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
],
"is_enable_similarity_search": True,
"similarity_score": 0.7,
"per_page": 25,
"page": 1,
"company_filters": {
"company_locations": ["US"],
"technologies": [37, 152],
"founded_dates": [2015, 2023],
"filter_conditions": [
{
"key": "technologies",
"operator": "and"
}
]
}
}
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
peoples: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
people_search_id: '<string>',
linkedin_url: '<string>',
identifier: '<string>',
search_term: 'pubrio',
people_name: 'king',
people_titles: ['sales manager', 'marketing manager'],
management_levels: ['c_suite', 'vp'],
departments: ['master_human_resources'],
department_functions: ['human_resources'],
employees: [[1, 10], [11, 20], [10001]],
people_locations: ['US', 'SG', 'CN'],
company_locations: ['US', 'SG', 'CN'],
company_linkedin_urls: ['https://www.linkedin.com/company/pubrio'],
linkedin_urls: ['http://www.linkedin.com/in/king-lai-605382b7'],
companies: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
domains: ['pubrio.com'],
filter_conditions: [{key: 'technologies', operator: 'and'}],
is_enable_similarity_search: true,
similarity_score: 0.7,
per_page: 25,
page: 1,
company_filters: {
company_locations: ['US'],
technologies: [37, 152],
founded_dates: [2015, 2023],
filter_conditions: [{key: 'technologies', operator: 'and'}]
}
})
};
fetch('https://api.pubrio.com/people/search/similar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pubrio.com/people/search/similar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'peoples' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'people_search_id' => '<string>',
'linkedin_url' => '<string>',
'identifier' => '<string>',
'search_term' => 'pubrio',
'people_name' => 'king',
'people_titles' => [
'sales manager',
'marketing manager'
],
'management_levels' => [
'c_suite',
'vp'
],
'departments' => [
'master_human_resources'
],
'department_functions' => [
'human_resources'
],
'employees' => [
[
1,
10
],
[
11,
20
],
[
10001
]
],
'people_locations' => [
'US',
'SG',
'CN'
],
'company_locations' => [
'US',
'SG',
'CN'
],
'company_linkedin_urls' => [
'https://www.linkedin.com/company/pubrio'
],
'linkedin_urls' => [
'http://www.linkedin.com/in/king-lai-605382b7'
],
'companies' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'domains' => [
'pubrio.com'
],
'filter_conditions' => [
[
'key' => 'technologies',
'operator' => 'and'
]
],
'is_enable_similarity_search' => true,
'similarity_score' => 0.7,
'per_page' => 25,
'page' => 1,
'company_filters' => [
'company_locations' => [
'US'
],
'technologies' => [
37,
152
],
'founded_dates' => [
2015,
2023
],
'filter_conditions' => [
[
'key' => 'technologies',
'operator' => 'and'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/people/search/similar"
payload := strings.NewReader("{\n \"peoples\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"people_search_id\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"identifier\": \"<string>\",\n \"search_term\": \"pubrio\",\n \"people_name\": \"king\",\n \"people_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"management_levels\": [\n \"c_suite\",\n \"vp\"\n ],\n \"departments\": [\n \"master_human_resources\"\n ],\n \"department_functions\": [\n \"human_resources\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"people_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"linkedin_urls\": [\n \"http://www.linkedin.com/in/king-lai-605382b7\"\n ],\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"per_page\": 25,\n \"page\": 1,\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/people/search/similar")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"peoples\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"people_search_id\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"identifier\": \"<string>\",\n \"search_term\": \"pubrio\",\n \"people_name\": \"king\",\n \"people_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"management_levels\": [\n \"c_suite\",\n \"vp\"\n ],\n \"departments\": [\n \"master_human_resources\"\n ],\n \"department_functions\": [\n \"human_resources\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"people_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"linkedin_urls\": [\n \"http://www.linkedin.com/in/king-lai-605382b7\"\n ],\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"per_page\": 25,\n \"page\": 1,\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/people/search/similar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"peoples\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"people_search_id\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"identifier\": \"<string>\",\n \"search_term\": \"pubrio\",\n \"people_name\": \"king\",\n \"people_titles\": [\n \"sales manager\",\n \"marketing manager\"\n ],\n \"management_levels\": [\n \"c_suite\",\n \"vp\"\n ],\n \"departments\": [\n \"master_human_resources\"\n ],\n \"department_functions\": [\n \"human_resources\"\n ],\n \"employees\": [\n [\n 1,\n 10\n ],\n [\n 11,\n 20\n ],\n [\n 10001\n ]\n ],\n \"people_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_locations\": [\n \"US\",\n \"SG\",\n \"CN\"\n ],\n \"company_linkedin_urls\": [\n \"https://www.linkedin.com/company/pubrio\"\n ],\n \"linkedin_urls\": [\n \"http://www.linkedin.com/in/king-lai-605382b7\"\n ],\n \"companies\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"domains\": [\n \"pubrio.com\"\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ],\n \"is_enable_similarity_search\": true,\n \"similarity_score\": 0.7,\n \"per_page\": 25,\n \"page\": 1,\n \"company_filters\": {\n \"company_locations\": [\n \"US\"\n ],\n \"technologies\": [\n 37,\n 152\n ],\n \"founded_dates\": [\n 2015,\n 2023\n ],\n \"filter_conditions\": [\n {\n \"key\": \"technologies\",\n \"operator\": \"and\"\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"metadata": {
"filters": {
"management_levels": [
"c_suite"
]
},
"profile": null
},
"data": {
"pagination": {
"page": 1,
"per_page": 25,
"total_entries": 199616132,
"total_pages": 100,
"total_display_pages": 100,
"is_timeout": false
},
"peoples": [
{
"people_search_id": "134591fb-f0fa-41ba-9c8c-f1eb8aab8946",
"name": "Doug McMillon",
"first_name": "Doug",
"last_name": "McMillon",
"title": "President & CEO",
"seniority": "c_suite",
"functions": null,
"headline": "President & CEO at Walmart Inc.",
"tagline": null,
"introduction": null,
"description": null,
"departments": [
"c_suite"
],
"subdepartments": [
"executive"
],
"keywords": null,
"employment_history": [
{
"title": "President & CEO",
"current": true,
"end_date": null,
"start_date": "2014-02-01",
"company_name": "Walmart"
},
{
"title": "President & CEO, Walmart International",
"current": false,
"end_date": "2014-01-01",
"start_date": "2009-02-01",
"company_name": "Walmart"
},
{
"title": "President & CEO",
"current": false,
"end_date": "2009-01-01",
"start_date": "2005-08-01",
"company_name": "Sam's Club"
}
],
"country": "United States",
"country_code": "US",
"location": "United States",
"state": "Arkansas",
"city": "Bentonville",
"wantedly_name": null,
"rocketpunch_name": null,
"contacts": null,
"contact_types": [],
"emails": null,
"phones": null,
"facebook_url": null,
"github_url": null,
"twitter_url": null,
"linkedin_url": "http://www.linkedin.com/in/dougmcmillon",
"wantedly_url": null,
"rocketpunch_url": null,
"saved_lists": null,
"sequences": null,
"social_metadata": {},
"company": {
"company_name": "Walmart",
"company_url": "http://walmart.com",
"is_company_url_active": true,
"domain": "walmart.com",
"domain_id": 26067151,
"domain_ids": [
757023267,
368242703,
26067151
],
"domain_search_id": "2a0d6cd7-cc10-44d6-94ec-41fd528a11b6",
"founded_year": 1962,
"country": "United States",
"country_code": "US",
"location": "United States",
"phones": null,
"emails": [],
"contacts": [],
"wantedly_name": null,
"rocketpunch_name": null,
"tiktok_name": null,
"company_size_printed": "466,000",
"company_size": 466000,
"industry": "Retail",
"specialties": [
"Retail",
"E-commerce"
],
"logo_url": "https://buckets.pubrio.com/company-logo/NzU3MDIzMjY3aWxqOXNzbmoxd2FsbWFydC5jb21saW5rZWRpbl8zMzMxOTgxMg==.jpg",
"linkedin_url": "http://www.linkedin.com/company/walmart",
"facebook_url": "http://facebook.com/walmart",
"twitter_url": "https://twitter.com/walmart",
"crunchbase_url": null,
"instagram_url": "http://instagram.com/walmart",
"youtube_url": "http://youtube.com/user/walmart",
"x_url": null,
"github_url": null,
"tiktok_url": null,
"wantedly_url": null,
"rocketpunch_url": null,
"social_metadata": {}
}
},
"..."
]
}
}{
"code": 40001,
"message": "Errors and codes will vary depending on the scenario, please see the documentation for information.",
"details": {}
}{
"error": "Request rate limit exceeded. Please wait and try again later."
}{
"error": "An unexpected error occurred on the server."
}Авторизации
Тело
- peoples
- people_search_id
- people_titles
- linkedin_url
- linkedin_urls
- identifier
Список уникальных идентификаторов (people_search_id), используемых для операций поиска людей.
Идентификатор человека в Pubrio, используемый в качестве образца для сравнения.
Единственный URL профиля LinkedIn, используемый в качестве образца для сравнения.
Произвольная строка образца (имя, должность или URL профиля) для запуска поиска похожих.
Строка слов, по которой мы фильтруем результаты.
"pubrio"
Ограничить результаты поиска конкретным именем человека.
"king"
Должности, связанные с людьми, которых вы хотите найти.
Результаты также будут включать должности, содержащие схожую терминологию, даже если они не совпадают точно. Например, поиск по software engineer может вернуть результаты с должностью senior software engineer.
["sales manager", "marketing manager"]
Уровень подчинённости человека. Слаг для высшего руководства — c_suite, а не c_level. Неизвестные слаги отбрасываются, если присутствуют другие фильтры по людям, и приводят к ошибке 40037, если это единственный указанный фильтр. Полный список доступен в эндпоинте management level на вкладке Filters.
c_suite, director, entry, founder, head, intern, manager, owner, partner, senior, vp ["c_suite", "vp"]
Поле отдела позволяет искать людей в конкретных областях деятельности.
Подробнее см. эндпоинты department на вкладке Filters.
["master_human_resources"]
Поле фильтра по функциям позволяет указать конкретные роли или области деятельности при поиске людей.
Подробнее см. эндпоинты department functions на вкладке Filters.
["human_resources"]
Диапазон количества сотрудников, работающих в компании. Позволяет находить компании по численности персонала. Можно добавить несколько диапазонов, чтобы расширить результаты поиска.
Подробнее см. эндпоинты company size на вкладке Filters.
[[1, 10], [11, 20], [10001]]
Местоположение проживания людей. Подробнее см. эндпоинты location на вкладке Filters.
["US", "SG", "CN"]
Местоположение штаб-квартиры компании. Подробнее см. эндпоинты location на вкладке Filters.
["US", "SG", "CN"]
Полностью сформированный URL профиля компании в LinkedIn. URL начинается с http и содержит linkedin.com/company/
["https://www.linkedin.com/company/pubrio"]
Полностью сформированный URL профиля пользователя в LinkedIn. URL начинается с http и содержит linkedin.com/in/ или linkedin.com/pub/
[
"http://www.linkedin.com/in/king-lai-605382b7"
]
Список уникальных идентификаторов (domain_search_id), используемых для операций поиска компаний и людей.
Список доменов компаний, используемых для операций поиска компаний и людей. Если получен URL вида www.pubrio.com или https://docs.pubrio.com/, система преобразует его в pubrio.com для обработки.
["pubrio.com"]
Переопределение AND/OR для каждого ключа фильтров в /people/search. По умолчанию — OR, если не указано. Полный справочник по замене ключей см. в руководстве разработчика People + Company Filters.
Show child attributes
Show child attributes
Если включено, перечисленные выше фильтры, поддерживающие поиск по схожести, можно заполнять произвольным текстом вместо конкретных ID.
Используется вместе с is_enable_similarity_search. Это число используется для анализа того, насколько конкретный слаг (например, отрасль, технология) похож на введённый пользователем текст; чем выше число, тем строже сопоставление.
0.7
Количество записей на странице. По умолчанию — 25, что также является пределом на большинстве тарифов — лимит определяется параметром max_search_per_page вашей подписки, который возвращает Profile. Превышение возвращает HTTP 416 с кодом 41676 (или 41613 для поиска компаний и людей), а не усечённый набор результатов.
x <= 2525
Объект-обёртка для фильтров на уровне компании. Рекомендуемая группировка, визуально отделяющая, какие ключи фильтруют человека (верхний уровень), а какие — компанию. Принимает те же ключи, что и фильтры компании верхнего уровня (например, technologies, verticals, vertical_categories, vertical_sub_categories, categories, keywords, founded_dates, employees, revenues, company_locations, company_exclude_locations, company_places, company_exclude_places, companies, domains, company_linkedin_urls, is_enable_similarity_search, similarity_score, а также filter_conditions). Движок разворачивает этот объект на верхний уровень перед обработкой — при конфликте побеждают ключи верхнего уровня. Та же структура используется в company_filters монитора. Примеры см. в руководстве разработчика Filters Overview.
{
"company_locations": ["US"],
"technologies": [37, 152],
"founded_dates": [2015, 2023],
"filter_conditions": [
{ "key": "technologies", "operator": "and" }
]
}

