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."
}Détail de l'expansion d'entreprise
Profil d’expansion approfondi pour une seule entreprise — étape actuelle, signaux, présence sur le marché, et historique de transition d’étape — pour un marché ou agrégé sur tous les marchés. Les clés du corps que l’endpoint ne lit pas sont abandonnées et listées dans metadata.ignored_fields. Une clé qui désigne d’autres entreprises est refusée avec 40037, car la réponse ne couvre que les entreprises indiquées.
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."
}Autorisations
Un jeton API unique qui représente les actions que vous effectuez via l'API ainsi que les autorisations et opérations correspondantes. Vous pouvez le créer dans la section Settings.
Corps
- Domain Search ID
- Domain
- LinkedIn URL
Renvoie l'intégralité de l'empreinte d'expansion de l'entreprise sur TOUS les marchés en un seul appel, plutôt qu'un seul marché. Lorsque true, country_code est ignoré, le marché domestique est exclu des agrégats de signaux lorsqu'il peut être identifié, data devient un agrégat au niveau de l'entreprise (étape dominante, total des signaux, étendue des dates, meilleur score d'expansion), et markets_summary liste tous les marchés. Par défaut à false.
false
Description en langage naturel de ce que vous vendez, ou du profil acheteur par rapport auquel vous évaluez cette entreprise. Utilisé uniquement pour ancrer le summary généré par IA (voir is_explain_match) ; contrairement à la recherche d'entreprises, ceci n'est PAS interprété en filtres ici.
"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity."
Si true et qu'une query est fournie, summary renvoie un unique résumé généré par IA de l'activité d'expansion de cette entreprise dans la portée actuelle (le marché sélectionné, ou tous les marchés étrangers quand is_all_markets est true), lu en fonction de votre query et ancré dans les signaux réels de l'entreprise avec des citations [n].
true
Numéro de page, à partir de 1. Le plafond correspond au max_search_page de votre abonnement (max_company_search_page pour la recherche d'entreprises), renvoyé par Profile. Le dépasser renvoie HTTP 416.
1
Enregistrements par page. Par défaut 25, ce qui constitue également le plafond sur la plupart des forfaits — la limite correspond au max_search_per_page de votre abonnement, renvoyé par Profile. Le dépasser renvoie HTTP 416 avec le code 41676 (ou 41613 pour la recherche d'entreprises et de personnes), et non un ensemble de résultats tronqué. Un refus 41675 (page) ou 41676 (taille de page) indique la limite dans details, par exemple { "parameter": "per_page", "maximum": 25, "requested": 50 }.
x <= 2525
Renvoie la charge utile de détail complète. Le trafic par clé API est allégé par défaut : le bloc model, les chiffres de confiance (stage.confidence sur Company Expansion Detail, confidence_score sur other_markets[] et sur markers[] de Rankings) et les champs established_min / share_of_detected / has_known_office sont tous omis sauf si ceci est true.
true
Réponse
Détail entreprise sur le marché.
Les lignes de signal paginées derrière cette paire entreprise/marché — la liste des preuves. La taille de page et les totaux proviennent de metadata.pagination. Les signaux de direction LinkedIn (source_type: linkedin) portent is_current_employee : true si la personne travaille toujours dans cette entreprise, false si ce n'est plus le cas (le signal peut provenir d'un poste antérieur). Il vaut null quand on ne le sait pas, comme sur tous les autres signaux.

