跳转到主要内容
POST
/
expansions
/
companies
/
lookup
公司扩张详情
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,
  "profile_id": 123
}
'
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,
"profile_id": 123
}
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,
profile_id: 123
})
};

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,
'profile_id' => 123
]),
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 \"profile_id\": 123\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 \"profile_id\": 123\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 \"profile_id\": 123\n}"

response = http.request(request)
puts response.read_body
{
  "metadata": {
    "filters": {
      "domain_search_id": "550e8400-e29b-41d4-a716-446655440002",
      "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
    }
  },
  "data": {
    "domain_search_id": "550e8400-e29b-41d4-a716-446655440002",
    "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",
      "signal_count": 5,
      "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
    }
  ],
  "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"
    }
  ]
}

授权

pubrio-api-key
string
header
必填

一个唯一的 API 令牌,用于标识您通过 API 执行的操作以及相应的权限和操作。您可以在 设置 部分创建该令牌。

请求体

application/json
domain_search_id
string<uuid>
必填

用于公司检索操作的唯一标识符。

country_code
string

目标市场,采用 ISO 3166-1 alpha-2(cca2)国家代码。省略时将自动选择该公司最活跃的单个市场;如需所有市场的跨市场视图,请设置 is_all_markets

示例:

"US"

is_all_markets
boolean

在一次调用中返回公司在所有市场的整体扩张情况,而非单一市场。设为 true 时,将忽略 country_code,在能够识别本土市场时将其从信号汇总中排除,data 变为公司级别的汇总(主导阶段、信号总数、时间跨度、最高扩张分数),并且 markets_summary 列出每个市场。默认为 false。

示例:

false

signal_type
enum<string>

将返回的信号筛选至单一类型。

可用选项:
AD,
NEWS,
INFRA,
PARTNER,
EXEC,
OFFICE,
HIRE,
SCALE,
PRODUCT
示例:

"EXEC"

query
string

用纯文本描述你所销售的产品,或你正在评估这家公司是否契合的目标买家画像。仅用于为 AI 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."

is_explain_match
boolean

为 true 且提供了 query 时,summary 返回针对当前范围(所选市场,或当 is_all_markets 为 true 时的所有海外市场)内该公司扩张活动的单条 AI 摘要,依据你的 query 解读,并基于公司的真实信号给出 [n] 引用。

示例:

true

window_days
integer
默认值:90

可选。限定 AI summary 所依据信号流的滚动时间窗口(天)。当本参数与 transitioned_dates 均未提供时默认为 90。不影响分页的 signals 列表(完整历史)。

示例:

90

transitioned_dates
string<date>[]

信号/转换窗口的 ISO [from, to] 日期范围。如果同时提供了 window_days,则此参数优先。

示例:
["2026-04-01", "2026-06-29"]
domain
string

用于公司检索操作的公司域名。如果收到的地址为 www.pubrio.comhttps://docs.pubrio.com/,系统会自动转换为 pubrio.com 进行处理。

示例:

"pubrio.com"

linkedin_url
string

LinkedIn 公司主页的完整 URL。URL 需以 http 开头且包含 linkedin.com/company/

示例:

"https://www.linkedin.com/company/pubrio"

is_include_established
boolean

包含 established 阶段(无活跃扩张信号的长期运营者)。默认为 false。

示例:

false

page
integer

要检索的数据页码。

示例:

1

per_page
integer

每页应返回的搜索结果数量。限制每页结果数量可提升接口性能。

示例:

25

profile_id
integer

可选。发起请求的团队标识符。由于 API 密钥已包含您的工作区信息,此参数不再是必填项。如果提供,该 ID 有助于将查找与特定团队(工作区)关联,实现数据检索和额度追踪。

更多信息请参见团队标签下的 user details 端点。

响应

200 - application/json

公司在某市场的详情。

metadata
object
data
any