curl --request POST \
--url https://api.pubrio.com/companies/similar/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"tiktok_url": "<string>",
"wantedly_url": "<string>",
"tw104_url": "<string>",
"rocketpunch_url": "<string>",
"remember_url": "<string>",
"youtrust_url": "<string>",
"is_enrichment_available": true
}
'import requests
url = "https://api.pubrio.com/companies/similar/lookup"
payload = {
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"tiktok_url": "<string>",
"wantedly_url": "<string>",
"tw104_url": "<string>",
"rocketpunch_url": "<string>",
"remember_url": "<string>",
"youtrust_url": "<string>",
"is_enrichment_available": True
}
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({
domain_search_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
domain: 'pubrio.com',
linkedin_url: 'https://www.linkedin.com/company/pubrio',
tiktok_url: '<string>',
wantedly_url: '<string>',
tw104_url: '<string>',
rocketpunch_url: '<string>',
remember_url: '<string>',
youtrust_url: '<string>',
is_enrichment_available: true
})
};
fetch('https://api.pubrio.com/companies/similar/lookup', 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/companies/similar/lookup",
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([
'domain_search_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'domain' => 'pubrio.com',
'linkedin_url' => 'https://www.linkedin.com/company/pubrio',
'tiktok_url' => '<string>',
'wantedly_url' => '<string>',
'tw104_url' => '<string>',
'rocketpunch_url' => '<string>',
'remember_url' => '<string>',
'youtrust_url' => '<string>',
'is_enrichment_available' => true
]),
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/companies/similar/lookup"
payload := strings.NewReader("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"tiktok_url\": \"<string>\",\n \"wantedly_url\": \"<string>\",\n \"tw104_url\": \"<string>\",\n \"rocketpunch_url\": \"<string>\",\n \"remember_url\": \"<string>\",\n \"youtrust_url\": \"<string>\",\n \"is_enrichment_available\": true\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/companies/similar/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"tiktok_url\": \"<string>\",\n \"wantedly_url\": \"<string>\",\n \"tw104_url\": \"<string>\",\n \"rocketpunch_url\": \"<string>\",\n \"remember_url\": \"<string>\",\n \"youtrust_url\": \"<string>\",\n \"is_enrichment_available\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/similar/lookup")
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 \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"tiktok_url\": \"<string>\",\n \"wantedly_url\": \"<string>\",\n \"tw104_url\": \"<string>\",\n \"rocketpunch_url\": \"<string>\",\n \"remember_url\": \"<string>\",\n \"youtrust_url\": \"<string>\",\n \"is_enrichment_available\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"logo_url": "https://buckets.pubrio.com/company-logo/NzMwNTQzMzkzaWxqOXNzbmoxbmV0ZmxpeC5jb21saW5rZWRpbl8zMzMxMjk0OQ==.jpg",
"emails": [
"..."
],
"phones": [
"..."
],
"contacts": [
"..."
],
"estimated_revenue": 38900000000,
"publicly_traded_symbol": "NFLX",
"publicly_traded_exchange": "nasdaq",
"specialties": [
"Entertainment",
"Entertainment Providers",
"Telecommunications",
"Media Production"
],
"company_keywords": [
"consumer electronics",
"games",
"entertainment",
"consumer internet",
"hardware",
"information technology",
"internet",
"revolutionizing the way people watch tv shows & movies"
],
"company_ranking": 232,
"title": "Netflix - Watch TV Shows Online, Watch Movies Online",
"description": "Netflix is one of the world's leading entertainment services with over 247 million paid memberships in over 190 countries enjoying TV series, films and games across a wide variety of genres and languages. Members can play, pause and resume watching as much as they want, anytime, anywhere, and can change their plans at any time.",
"company_address": "100 Winchester Circle, Los Gatos, Ca, Us",
"company_name": "Netflix",
"founded_year": 1997,
"industry": "Entertainment",
"domain": "netflix.com",
"domain_search_id": "575463e2-474d-4f0a-acc3-fdc2be51e07e",
"domain_id": 70635725,
"linkedin_company_id": 33312949,
"domain_ids": [
585935484,
730543393,
368242675,
70635725
],
"company_size": 16000,
"company_size_printed": "16,000",
"youtube_url": null,
"crunchbase_url": null,
"linkedin_url": "http://www.linkedin.com/company/netflix",
"instagram_url": "http://instagram.com/netflix",
"facebook_url": "http://facebook.com/netflixus",
"twitter_url": "https://twitter.com/netflix",
"github_url": null,
"x_url": null,
"country_code": "US",
"location": "United States",
"company_url": "http://netflix.com",
"company_addresses": [
"100 Winchester Circle Los Gatos, CA, US",
"5808 W Sunset Blvd Los Angeles, CA 90028, US",
"Alameda Xingu, 350 Barueri, SP 06455-030, BR",
"245 W 17th St New York, 10011, US",
"Stadhouderskade 55 Amsterdam, North Holland 1072 AB, NL",
"9 Straits Vw Marina South, 01, SG",
"Av. Paseo De La Reforma 483 Torre Reforma, Floor 37 Mexico City, Cuauhtémoc 06500, MX"
],
"saved_lists": null
}
}{
"code": 40001,
"message": "Os erros e códigos variam de acordo com o cenário; consulte a documentação para mais informações.",
"details": {}
}{
"error": "Limite de requisições excedido. Aguarde e tente novamente mais tarde."
}{
"error": "Ocorreu um erro inesperado no servidor."
}Consulta de Empresa Lookalike (Alias)
Recupera empresas semelhantes a uma empresa especificada usando o ID de busca da Pubrio, o domínio ou a URL do LinkedIn.
curl --request POST \
--url https://api.pubrio.com/companies/similar/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"tiktok_url": "<string>",
"wantedly_url": "<string>",
"tw104_url": "<string>",
"rocketpunch_url": "<string>",
"remember_url": "<string>",
"youtrust_url": "<string>",
"is_enrichment_available": true
}
'import requests
url = "https://api.pubrio.com/companies/similar/lookup"
payload = {
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"tiktok_url": "<string>",
"wantedly_url": "<string>",
"tw104_url": "<string>",
"rocketpunch_url": "<string>",
"remember_url": "<string>",
"youtrust_url": "<string>",
"is_enrichment_available": True
}
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({
domain_search_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
domain: 'pubrio.com',
linkedin_url: 'https://www.linkedin.com/company/pubrio',
tiktok_url: '<string>',
wantedly_url: '<string>',
tw104_url: '<string>',
rocketpunch_url: '<string>',
remember_url: '<string>',
youtrust_url: '<string>',
is_enrichment_available: true
})
};
fetch('https://api.pubrio.com/companies/similar/lookup', 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/companies/similar/lookup",
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([
'domain_search_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'domain' => 'pubrio.com',
'linkedin_url' => 'https://www.linkedin.com/company/pubrio',
'tiktok_url' => '<string>',
'wantedly_url' => '<string>',
'tw104_url' => '<string>',
'rocketpunch_url' => '<string>',
'remember_url' => '<string>',
'youtrust_url' => '<string>',
'is_enrichment_available' => true
]),
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/companies/similar/lookup"
payload := strings.NewReader("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"tiktok_url\": \"<string>\",\n \"wantedly_url\": \"<string>\",\n \"tw104_url\": \"<string>\",\n \"rocketpunch_url\": \"<string>\",\n \"remember_url\": \"<string>\",\n \"youtrust_url\": \"<string>\",\n \"is_enrichment_available\": true\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/companies/similar/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"tiktok_url\": \"<string>\",\n \"wantedly_url\": \"<string>\",\n \"tw104_url\": \"<string>\",\n \"rocketpunch_url\": \"<string>\",\n \"remember_url\": \"<string>\",\n \"youtrust_url\": \"<string>\",\n \"is_enrichment_available\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/similar/lookup")
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 \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"tiktok_url\": \"<string>\",\n \"wantedly_url\": \"<string>\",\n \"tw104_url\": \"<string>\",\n \"rocketpunch_url\": \"<string>\",\n \"remember_url\": \"<string>\",\n \"youtrust_url\": \"<string>\",\n \"is_enrichment_available\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"logo_url": "https://buckets.pubrio.com/company-logo/NzMwNTQzMzkzaWxqOXNzbmoxbmV0ZmxpeC5jb21saW5rZWRpbl8zMzMxMjk0OQ==.jpg",
"emails": [
"..."
],
"phones": [
"..."
],
"contacts": [
"..."
],
"estimated_revenue": 38900000000,
"publicly_traded_symbol": "NFLX",
"publicly_traded_exchange": "nasdaq",
"specialties": [
"Entertainment",
"Entertainment Providers",
"Telecommunications",
"Media Production"
],
"company_keywords": [
"consumer electronics",
"games",
"entertainment",
"consumer internet",
"hardware",
"information technology",
"internet",
"revolutionizing the way people watch tv shows & movies"
],
"company_ranking": 232,
"title": "Netflix - Watch TV Shows Online, Watch Movies Online",
"description": "Netflix is one of the world's leading entertainment services with over 247 million paid memberships in over 190 countries enjoying TV series, films and games across a wide variety of genres and languages. Members can play, pause and resume watching as much as they want, anytime, anywhere, and can change their plans at any time.",
"company_address": "100 Winchester Circle, Los Gatos, Ca, Us",
"company_name": "Netflix",
"founded_year": 1997,
"industry": "Entertainment",
"domain": "netflix.com",
"domain_search_id": "575463e2-474d-4f0a-acc3-fdc2be51e07e",
"domain_id": 70635725,
"linkedin_company_id": 33312949,
"domain_ids": [
585935484,
730543393,
368242675,
70635725
],
"company_size": 16000,
"company_size_printed": "16,000",
"youtube_url": null,
"crunchbase_url": null,
"linkedin_url": "http://www.linkedin.com/company/netflix",
"instagram_url": "http://instagram.com/netflix",
"facebook_url": "http://facebook.com/netflixus",
"twitter_url": "https://twitter.com/netflix",
"github_url": null,
"x_url": null,
"country_code": "US",
"location": "United States",
"company_url": "http://netflix.com",
"company_addresses": [
"100 Winchester Circle Los Gatos, CA, US",
"5808 W Sunset Blvd Los Angeles, CA 90028, US",
"Alameda Xingu, 350 Barueri, SP 06455-030, BR",
"245 W 17th St New York, 10011, US",
"Stadhouderskade 55 Amsterdam, North Holland 1072 AB, NL",
"9 Straits Vw Marina South, 01, SG",
"Av. Paseo De La Reforma 483 Torre Reforma, Floor 37 Mexico City, Cuauhtémoc 06500, MX"
],
"saved_lists": null
}
}{
"code": 40001,
"message": "Os erros e códigos variam de acordo com o cenário; consulte a documentação para mais informações.",
"details": {}
}{
"error": "Limite de requisições excedido. Aguarde e tente novamente mais tarde."
}{
"error": "Ocorreu um erro inesperado no servidor."
}Autorizações
Um token de API exclusivo que representa as ações que você realiza por meio da API e as permissões e operações correspondentes. Você pode criá-lo na seção Configurações.
Corpo
- Domain Search ID
- Domain
- LinkedIn URL
Um identificador único para a operação de busca de empresas.
Um domínio de empresa usado para operações de busca de empresas. Se recebermos uma URL como www.pubrio.com ou https://docs.pubrio.com/, o sistema a converterá para pubrio.com para processamento.
"pubrio.com"
A URL completa do perfil da empresa no LinkedIn. A URL começa com http e contém linkedin.com/company/
"https://www.linkedin.com/company/pubrio"
URL do perfil do TikTok da empresa.
URL do perfil do Wantedly da empresa.
URL do perfil 104 (Taiwan) da empresa.
URL do perfil do RocketPunch da empresa.
URL do perfil do Remember da empresa.
URL do perfil do YOUTRUST da empresa.
Executa o enriquecimento em tempo real quando o registro armazenado está incompleto. Consome créditos. A resposta indica se ele foi executado em metadata.is_enrichment_available.
true
Resposta
Resposta bem-sucedida contendo os detalhes de empresas semelhantes.

