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."
}Детали экспансии компании
Подробный профиль экспансии для одной компании — текущая стадия, сигналы, присутствие на рынке и история переходов стадий — для одного рынка или агрегированно по всем рынкам. Ключи тела, которые эндпоинт не читает, отбрасываются и перечисляются в metadata.ignored_fields. Ключ, указывающий на другие компании, вместо этого отклоняется с кодом 40037, поскольку ответ охватывает только указанные вами компании.
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."
}Авторизации
Уникальный токен API, представляющий действия, которые вы выполняете через API, и соответствующие права доступа и операции. Вы можете создать его в разделе Settings.
Тело
- Domain Search ID
- Domain
- LinkedIn URL
Вернуть за один вызов весь охват экспансии компании по ВСЕМ рынкам, а не по одному рынку. Если true, country_code игнорируется, домашний рынок исключается из агрегатов сигналов, когда его можно определить, data становится сводкой на уровне компании (доминирующая стадия, общее количество сигналов, диапазон дат, наивысший показатель экспансии), а markets_summary перечисляет каждый рынок. По умолчанию false.
false
Описание на естественном языке того, что вы продаёте, или профиля покупателя, по которому вы оцениваете эту компанию. Используется только для обоснования summary от ИИ (см. is_explain_match); в отличие от поиска компаний, здесь это НЕ интерпретируется в фильтры.
"We sell Employer-of-Record and local payroll; best-fit buyers hire in a new market before setting up a legal entity."
Если true и указан query, summary возвращает единую сводку от ИИ по активности экспансии этой компании в текущем охвате (выбранный рынок или все зарубежные рынки, если is_all_markets равен true), составленную с учётом вашего query и обоснованную реальными сигналами компании с цитатами [n].
true
Номер страницы, начиная с 1. Предел определяется параметром max_search_page вашей подписки (max_company_search_page для поиска компаний), который возвращает Profile. Превышение возвращает HTTP 416.
1
Количество записей на странице. По умолчанию — 25, что также является пределом на большинстве тарифов — лимит определяется параметром max_search_per_page вашей подписки, который возвращает Profile. Превышение возвращает HTTP 416 с кодом 41676 (или 41613 для поиска компаний и людей), а не усечённый набор результатов. Отказ с кодом 41675 (страница) или 41676 (размер страницы) указывает лимит в details, например { "parameter": "per_page", "maximum": 25, "requested": 50 }.
x <= 2525
Вернуть полную детализированную полезную нагрузку. По умолчанию трафик по ключу API компактный: блок model, показатели достоверности (stage.confidence в Company Expansion Detail, confidence_score в other_markets[] и в markers[] Rankings), а также поля established_min / share_of_detected / has_known_office опускаются, если это значение не true.
true
Ответ
Детали компании на рынке.
Постраничные строки сигналов, лежащие в основе этой пары компания/рынок — список подтверждающих данных. Размер страницы и итоги берутся из metadata.pagination. Сигналы о руководстве из LinkedIn (source_type: linkedin) содержат is_current_employee: true, если человек всё ещё работает в этой компании, и false, если уже нет (сигнал может относиться к прежней должности). Значение null, если это неизвестно, как у всех остальных сигналов.

