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."
}Company Expansion Detail
In-depth expansion profile for a single company — current stage, signals, market presence, and stage-transition history — for one market or aggregated across all markets. Body keys the endpoint does not read are dropped and listed in metadata.ignored_fields. A key that names other companies is refused with 40037 instead, since the answer covers only the companies you named.
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."
}Authorizations
A unique API token that represents the actions you perform through the API and the corresponding permissions and operations. You can create it through the Settings section.
Body
- Domain Search ID
- Domain
- LinkedIn URL
Return the company's entire expansion footprint across ALL markets in one call, rather than a single market. When true, country_code is ignored, the home market is excluded from the signal aggregates when it can be identified, data becomes a company-level rollup (dominant stage, total signals, date span, top expansion score), and markets_summary lists every market. Defaults to false.
false
Plain-language description of what you sell, or the buyer profile you're evaluating this company against. Used only to ground the AI summary (see is_explain_match); unlike the company search, it is NOT interpreted into filters here.
"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity."
When true and a query is supplied, summary returns a single AI summary of this company's expansion activity in the current scope (the selected market, or all foreign markets when is_all_markets is true), read against your query and grounded in the company's real signals with [n] citations.
true
Page number, starting at 1. The ceiling is your subscription's max_search_page (max_company_search_page for company search), returned by Profile. Exceeding it returns HTTP 416.
1
Records per page. Defaults to 25, which is also the ceiling on most plans — the limit is your subscription's max_search_per_page, returned by Profile. Exceeding it returns HTTP 416 with code 41676 (or 41613 on company and people search), not a clamped result set. A 41675 (page) or 41676 (page size) refusal names the limit in details, for example { "parameter": "per_page", "maximum": 25, "requested": 50 }.
x <= 2525
Return the full detail payload. API-key traffic is lean by default: the model block, the confidence figures (stage.confidence on Company Expansion Detail, confidence_score on other_markets[] and on Rankings markers[]) and the established_min / share_of_detected / has_known_office fields are all omitted unless this is true.
true
Response
Company-in-market detail.
The paginated signal rows behind this company/market pair — the evidence list. Page size and totals come from metadata.pagination. LinkedIn leadership signals (source_type: linkedin) carry is_current_employee: true when the person still works at this company, false when they no longer do (the signal can come from an earlier role). It is null when this is unknown, as on every other signal.

