curl --request POST \
--url https://api.pubrio.com/expansions/companies/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"country_code": "US",
"is_all_markets": false,
"signal_type": "EXEC",
"query": "We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.",
"is_explain_match": true,
"window_days": 90,
"transitioned_dates": [
"2026-04-01",
"2026-06-29"
],
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"is_include_established": false,
"page": 1,
"per_page": 25,
"is_include_metadata": true,
"summary_only": true,
"markets_summary_full": true
}
'import requests
url = "https://api.pubrio.com/expansions/companies/lookup"
payload = {
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"country_code": "US",
"is_all_markets": False,
"signal_type": "EXEC",
"query": "We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.",
"is_explain_match": True,
"window_days": 90,
"transitioned_dates": ["2026-04-01", "2026-06-29"],
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"is_include_established": False,
"page": 1,
"per_page": 25,
"is_include_metadata": True,
"summary_only": True,
"markets_summary_full": 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',
country_code: 'US',
is_all_markets: false,
signal_type: 'EXEC',
query: 'We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.',
is_explain_match: true,
window_days: 90,
transitioned_dates: ['2026-04-01', '2026-06-29'],
domain: 'pubrio.com',
linkedin_url: 'https://www.linkedin.com/company/pubrio',
is_include_established: false,
page: 1,
per_page: 25,
is_include_metadata: true,
summary_only: true,
markets_summary_full: true
})
};
fetch('https://api.pubrio.com/expansions/companies/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/expansions/companies/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',
'country_code' => 'US',
'is_all_markets' => false,
'signal_type' => 'EXEC',
'query' => 'We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.',
'is_explain_match' => true,
'window_days' => 90,
'transitioned_dates' => [
'2026-04-01',
'2026-06-29'
],
'domain' => 'pubrio.com',
'linkedin_url' => 'https://www.linkedin.com/company/pubrio',
'is_include_established' => false,
'page' => 1,
'per_page' => 25,
'is_include_metadata' => true,
'summary_only' => true,
'markets_summary_full' => 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/expansions/companies/lookup"
payload := strings.NewReader("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"country_code\": \"US\",\n \"is_all_markets\": false,\n \"signal_type\": \"EXEC\",\n \"query\": \"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.\",\n \"is_explain_match\": true,\n \"window_days\": 90,\n \"transitioned_dates\": [\n \"2026-04-01\",\n \"2026-06-29\"\n ],\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"is_include_established\": false,\n \"page\": 1,\n \"per_page\": 25,\n \"is_include_metadata\": true,\n \"summary_only\": true,\n \"markets_summary_full\": 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/expansions/companies/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"country_code\": \"US\",\n \"is_all_markets\": false,\n \"signal_type\": \"EXEC\",\n \"query\": \"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.\",\n \"is_explain_match\": true,\n \"window_days\": 90,\n \"transitioned_dates\": [\n \"2026-04-01\",\n \"2026-06-29\"\n ],\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"is_include_established\": false,\n \"page\": 1,\n \"per_page\": 25,\n \"is_include_metadata\": true,\n \"summary_only\": true,\n \"markets_summary_full\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/expansions/companies/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 \"country_code\": \"US\",\n \"is_all_markets\": false,\n \"signal_type\": \"EXEC\",\n \"query\": \"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.\",\n \"is_explain_match\": true,\n \"window_days\": 90,\n \"transitioned_dates\": [\n \"2026-04-01\",\n \"2026-06-29\"\n ],\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"is_include_established\": false,\n \"page\": 1,\n \"per_page\": 25,\n \"is_include_metadata\": true,\n \"summary_only\": true,\n \"markets_summary_full\": true\n}"
response = http.request(request)
puts response.read_body{
"metadata": {
"filters": {
"domain_search_id": "8f3c1b04-2e7a-4d19-9c55-6ab21f0e7d3c",
"country_code": "US"
},
"country_code_auto_picked": false,
"pagination": {
"page": 1,
"per_page": 25,
"total_entries": 12,
"total_pages": 1,
"total_display_pages": 1,
"is_timeout": false
},
"ignored_fields": []
},
"data": {
"domain_search_id": "8f3c1b04-2e7a-4d19-9c55-6ab21f0e7d3c",
"country_code": "US",
"country_name": "United States",
"stage_rank": 3,
"stage_name": "Expanding",
"stage": {
"slug": "expanding",
"expansion_score": 0.721,
"scope": "entering_new_market",
"direction": "advancing",
"freshness": "fresh",
"contraction_flag": null,
"mode_change_flag": false,
"signal_count": 5,
"distinct_type_count": 3,
"has_known_presence": false,
"first_signal_at": "2026-05-30T09:00:00.000Z",
"latest_signal_at": "2026-06-20T14:00:00.000Z",
"last_transition_at": "2026-06-15T09:30:00.000Z"
}
},
"signals": [
{
"signal_type_slug": "EXEC",
"signal_subtype_slug": "country_manager",
"signal_strength_slug": "high",
"polarity": "expansion",
"event_date": "2026-06-20T14:00:00.000Z",
"source_type": "linkedin",
"display_label": "Hired Regional VP for North America",
"evidence_url": "https://linkedin.com/company/example-corp",
"source_published_at": "2026-06-20T14:00:00.000Z",
"lead_time_days": 0,
"is_current_employee": true
}
],
"presence": [
{
"presence_type": "office",
"presence_strength": "high",
"address": "123 Market St, San Francisco, CA",
"known_since": "2026-03-15T00:00:00.000Z"
}
],
"timeline": [
{
"stage_slug": "expanding",
"transitioned_at": "2026-06-15T09:30:00.000Z",
"transition_kind": "advance"
}
],
"other_markets": [
{
"country_code": "CA",
"stage_slug": "committing",
"signal_count": 8,
"first_signal_at": "2026-04-10T00:00:00.000Z",
"latest_signal_at": "2026-06-22T16:45:00.000Z",
"last_transition_at": "2026-06-18T00:00:00.000Z"
}
]
}{
"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."
}Detalhes de Expansão da Empresa
Perfil de expansão detalhado de uma única empresa — estágio atual, sinais, presença de mercado e histórico de transição de estágio — para um mercado ou agregado em todos os mercados. As chaves do corpo que o endpoint não lê são descartadas e listadas em metadata.ignored_fields. Uma chave que nomeia outras empresas é recusada com 40037, pois a resposta cobre apenas as empresas indicadas.
curl --request POST \
--url https://api.pubrio.com/expansions/companies/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"country_code": "US",
"is_all_markets": false,
"signal_type": "EXEC",
"query": "We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.",
"is_explain_match": true,
"window_days": 90,
"transitioned_dates": [
"2026-04-01",
"2026-06-29"
],
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"is_include_established": false,
"page": 1,
"per_page": 25,
"is_include_metadata": true,
"summary_only": true,
"markets_summary_full": true
}
'import requests
url = "https://api.pubrio.com/expansions/companies/lookup"
payload = {
"domain_search_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"country_code": "US",
"is_all_markets": False,
"signal_type": "EXEC",
"query": "We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.",
"is_explain_match": True,
"window_days": 90,
"transitioned_dates": ["2026-04-01", "2026-06-29"],
"domain": "pubrio.com",
"linkedin_url": "https://www.linkedin.com/company/pubrio",
"is_include_established": False,
"page": 1,
"per_page": 25,
"is_include_metadata": True,
"summary_only": True,
"markets_summary_full": 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',
country_code: 'US',
is_all_markets: false,
signal_type: 'EXEC',
query: 'We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.',
is_explain_match: true,
window_days: 90,
transitioned_dates: ['2026-04-01', '2026-06-29'],
domain: 'pubrio.com',
linkedin_url: 'https://www.linkedin.com/company/pubrio',
is_include_established: false,
page: 1,
per_page: 25,
is_include_metadata: true,
summary_only: true,
markets_summary_full: true
})
};
fetch('https://api.pubrio.com/expansions/companies/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/expansions/companies/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',
'country_code' => 'US',
'is_all_markets' => false,
'signal_type' => 'EXEC',
'query' => 'We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.',
'is_explain_match' => true,
'window_days' => 90,
'transitioned_dates' => [
'2026-04-01',
'2026-06-29'
],
'domain' => 'pubrio.com',
'linkedin_url' => 'https://www.linkedin.com/company/pubrio',
'is_include_established' => false,
'page' => 1,
'per_page' => 25,
'is_include_metadata' => true,
'summary_only' => true,
'markets_summary_full' => 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/expansions/companies/lookup"
payload := strings.NewReader("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"country_code\": \"US\",\n \"is_all_markets\": false,\n \"signal_type\": \"EXEC\",\n \"query\": \"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.\",\n \"is_explain_match\": true,\n \"window_days\": 90,\n \"transitioned_dates\": [\n \"2026-04-01\",\n \"2026-06-29\"\n ],\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"is_include_established\": false,\n \"page\": 1,\n \"per_page\": 25,\n \"is_include_metadata\": true,\n \"summary_only\": true,\n \"markets_summary_full\": 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/expansions/companies/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"domain_search_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"country_code\": \"US\",\n \"is_all_markets\": false,\n \"signal_type\": \"EXEC\",\n \"query\": \"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.\",\n \"is_explain_match\": true,\n \"window_days\": 90,\n \"transitioned_dates\": [\n \"2026-04-01\",\n \"2026-06-29\"\n ],\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"is_include_established\": false,\n \"page\": 1,\n \"per_page\": 25,\n \"is_include_metadata\": true,\n \"summary_only\": true,\n \"markets_summary_full\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/expansions/companies/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 \"country_code\": \"US\",\n \"is_all_markets\": false,\n \"signal_type\": \"EXEC\",\n \"query\": \"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity.\",\n \"is_explain_match\": true,\n \"window_days\": 90,\n \"transitioned_dates\": [\n \"2026-04-01\",\n \"2026-06-29\"\n ],\n \"domain\": \"pubrio.com\",\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\",\n \"is_include_established\": false,\n \"page\": 1,\n \"per_page\": 25,\n \"is_include_metadata\": true,\n \"summary_only\": true,\n \"markets_summary_full\": true\n}"
response = http.request(request)
puts response.read_body{
"metadata": {
"filters": {
"domain_search_id": "8f3c1b04-2e7a-4d19-9c55-6ab21f0e7d3c",
"country_code": "US"
},
"country_code_auto_picked": false,
"pagination": {
"page": 1,
"per_page": 25,
"total_entries": 12,
"total_pages": 1,
"total_display_pages": 1,
"is_timeout": false
},
"ignored_fields": []
},
"data": {
"domain_search_id": "8f3c1b04-2e7a-4d19-9c55-6ab21f0e7d3c",
"country_code": "US",
"country_name": "United States",
"stage_rank": 3,
"stage_name": "Expanding",
"stage": {
"slug": "expanding",
"expansion_score": 0.721,
"scope": "entering_new_market",
"direction": "advancing",
"freshness": "fresh",
"contraction_flag": null,
"mode_change_flag": false,
"signal_count": 5,
"distinct_type_count": 3,
"has_known_presence": false,
"first_signal_at": "2026-05-30T09:00:00.000Z",
"latest_signal_at": "2026-06-20T14:00:00.000Z",
"last_transition_at": "2026-06-15T09:30:00.000Z"
}
},
"signals": [
{
"signal_type_slug": "EXEC",
"signal_subtype_slug": "country_manager",
"signal_strength_slug": "high",
"polarity": "expansion",
"event_date": "2026-06-20T14:00:00.000Z",
"source_type": "linkedin",
"display_label": "Hired Regional VP for North America",
"evidence_url": "https://linkedin.com/company/example-corp",
"source_published_at": "2026-06-20T14:00:00.000Z",
"lead_time_days": 0,
"is_current_employee": true
}
],
"presence": [
{
"presence_type": "office",
"presence_strength": "high",
"address": "123 Market St, San Francisco, CA",
"known_since": "2026-03-15T00:00:00.000Z"
}
],
"timeline": [
{
"stage_slug": "expanding",
"transitioned_at": "2026-06-15T09:30:00.000Z",
"transition_kind": "advance"
}
],
"other_markets": [
{
"country_code": "CA",
"stage_slug": "committing",
"signal_count": 8,
"first_signal_at": "2026-04-10T00:00:00.000Z",
"latest_signal_at": "2026-06-22T16:45:00.000Z",
"last_transition_at": "2026-06-18T00:00:00.000Z"
}
]
}{
"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
Retorna toda a pegada de expansão da empresa em TODOS os mercados em uma única chamada, em vez de um único mercado. Quando true, country_code é ignorado, o mercado de origem é excluído dos agregados de sinais quando pode ser identificado, data passa a ser um resumo em nível de empresa (estágio predominante, total de sinais, intervalo de datas, maior pontuação de expansão) e markets_summary lista todos os mercados. O padrão é false.
false
Descrição em linguagem natural do que você vende, ou o perfil de comprador em relação ao qual você está avaliando esta empresa. Usado apenas para fundamentar o summary gerado por IA (veja is_explain_match); ao contrário da busca de empresas, aqui NÃO é interpretado como filtros.
"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity."
Quando true e uma query é informada, summary retorna um único resumo gerado por IA da atividade de expansão desta empresa no escopo atual (o mercado selecionado, ou todos os mercados estrangeiros quando is_all_markets é true), lido em relação à sua query e fundamentado nos sinais reais da empresa com citações [n].
true
Número da página, começando em 1. O teto é o max_search_page da sua assinatura (max_company_search_page para busca de empresas), retornado por Profile. Excedê-lo retorna HTTP 416.
1
Registros por página. O padrão é 25, que também é o teto na maioria dos planos — o limite é o max_search_per_page da sua assinatura, retornado por Profile. Excedê-lo retorna HTTP 416 com o código 41676 (ou 41613 na busca de empresas e pessoas), não um conjunto de resultados limitado. Uma recusa 41675 (página) ou 41676 (tamanho da página) indica o limite em details, por exemplo { "parameter": "per_page", "maximum": 25, "requested": 50 }.
x <= 2525
Retorna o payload completo de detalhes. O tráfego via chave de API é enxuto por padrão: o bloco model, os valores de confiança (stage.confidence em Company Expansion Detail, confidence_score em other_markets[] e em markers[] de Rankings) e os campos established_min / share_of_detected / has_known_office são todos omitidos, a menos que este valor seja true.
true
Resposta
Detalhe da empresa no mercado.
As linhas de sinal paginadas por trás deste par empresa/mercado — a lista de evidências. O tamanho da página e os totais vêm de metadata.pagination. Os sinais de liderança do LinkedIn (source_type: linkedin) trazem is_current_employee: true quando a pessoa ainda trabalha nesta empresa, false quando não trabalha mais (o sinal pode vir de um cargo anterior). É null quando isso não é conhecido, como em todos os demais sinais.

