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": "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."
}Detalle de expansión de empresa
Perfil de expansión detallado para una sola empresa (etapa actual, señales, presencia en el mercado e historial de transición de etapas) para un mercado o agregado en todos los mercados. Las claves del cuerpo que el endpoint no lee se descartan y se listan en metadata.ignored_fields. Una clave que nombra otras empresas se rechaza con 40037, ya que la respuesta solo cubre las empresas que indicaste.
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": "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."
}Autorizaciones
Un token de API único que representa las acciones que realizas a través de la API, junto con los permisos y operaciones correspondientes. Puedes crearlo en la sección Configuración.
Cuerpo
- ID de búsqueda de dominio
- Dominio
- URL de LinkedIn
Devuelve la huella de expansión completa de la empresa en TODOS los mercados en una sola llamada, en lugar de un único mercado. Cuando es true, se ignora country_code, el mercado de origen se excluye de los agregados de señales cuando puede identificarse, data se convierte en un resumen a nivel de empresa (etapa dominante, total de señales, rango de fechas, puntuación de expansión más alta), y markets_summary enumera todos los mercados. Por defecto es false.
false
Descripción en lenguaje sencillo de lo que vendes, o el perfil de comprador con el que estás evaluando esta empresa. Se usa únicamente para fundamentar el summary de IA (consulta is_explain_match); a diferencia de la búsqueda de empresas, aquí NO se interpreta como filtros.
"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity."
Cuando es true y se proporciona un query, summary devuelve un único resumen de IA sobre la actividad de expansión de esta empresa dentro del alcance actual (el mercado seleccionado, o todos los mercados extranjeros cuando is_all_markets es true), interpretado en función de tu query y fundamentado en las señales reales de la empresa con citas [n].
true
Número de página, empezando en 1. El límite es el max_search_page de tu suscripción (max_company_search_page para la búsqueda de empresas), devuelto por Perfil. Superarlo devuelve HTTP 416.
1
Registros por página. Por defecto es 25, que también es el límite en la mayoría de los planes — el límite es el max_search_per_page de tu suscripción, devuelto por Perfil. Superarlo devuelve HTTP 416 con el código 41676 (o 41613 en la búsqueda de empresas y personas), no un conjunto de resultados recortado. Un rechazo 41675 (página) o 41676 (tamaño de página) indica el límite en details, por ejemplo { "parameter": "per_page", "maximum": 25, "requested": 50 }.
x <= 2525
Devuelve la carga útil de detalle completa. El tráfico con clave de API es ligero por defecto: el bloque model, las cifras de confianza (stage.confidence en Company Expansion Detail, confidence_score en other_markets[] y en markers[] de Rankings) y los campos established_min / share_of_detected / has_known_office se omiten todos a menos que este sea true.
true
Respuesta
Detalle de empresa en el mercado.
Las filas de señales paginadas detrás de este par empresa/mercado: la lista de evidencia. El tamaño de página y los totales provienen de metadata.pagination. Las señales de liderazgo de LinkedIn (source_type: linkedin) incluyen is_current_employee: true si la persona sigue trabajando en esta empresa y false si ya no (la señal puede venir de un puesto anterior). Es null cuando no se sabe, como en todas las demás señales.

