> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pubrio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 企業エクスパンションの比較

> 複数企業のエクスパンションの状況を並べて比較します。対象企業に対して比較可能な同業他社をオプションで追加できます。



## OpenAPI

````yaml jp-openapi POST /expansions/companies/compare
openapi: 3.0.0
info:
  description: >-
    Pubrio API
    はマーケット拡大インテリジェンスを提供します——企業の新市場参入を捉えるリアルタイムシグナルと、その基盤となる企業・人物データ。アカウントやコンタクトの検索・ルックアップ・エンリッチメントに加え、200+
    市場にわたる種別・日付付きの動きシグナルを購読できます。
  version: 1.0.0
  title: Pubrio OpenAPI
  termsOfService: https://pubrio.com/ja/terms-of-service
  contact:
    email: king.lai@pubrio.com
    name: King Lai
    url: https://pubrio.com/ja/get-in-touch
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.pubrio.com
security:
  - pubrio_api_key: []
tags:
  - name: Profile
    description: ワークスペースプロフィール情報と使用統計
  - name: Enrichment
    description: 詳細なB2Bデータで人物・企業レコードをエンリッチメント
  - name: Lookalike
    description: 指定した企業に類似する企業を検索
  - name: Search
    description: フィルターを使用して人物、企業、求人、ニュース、広告を検索
  - name: Lookup
    description: 特定の人物、企業、求人、ニュース、広告、テクノロジーの詳細情報を検索
  - name: LinkedIn
    description: LinkedInプロフィールURLから人物・企業データを検索
  - name: Redeem
    description: クレジットを消費して人物の連絡先情報をアンロック（単件・バッチ）
  - name: Channels
    description: アウトリーチチャネルテンプレートの管理（作成・更新・削除・一覧）
  - name: Monitor
    description: Webhook、統計、処理を含むデータモニターの作成と管理
  - name: Filters
    description: 検索パラメータで使用可能なフィルター値を取得（テクノロジー、地域、バーティカルなど）
  - name: API Keys
    description: APIキーのリクエストログと使用状況分析を表示
  - name: Insights
    description: 企業のシグナル集計インサイト(採用、ニュース、広告)。
  - name: Export
    description: 一括データエクスポート(クレジット消費)。
  - name: Expansion
    description: '企業の市場拡大インテリジェンス: シグナル、ステージ、市場、エクスポート。'
externalDocs:
  description: >-
    Pubrio API は、コンタクトおよびアカウント情報の検索・プレビュー・エンリッチメントに利用できます。Pubrio データベースは、豊富な B2B
    連絡先データとセールスインテリジェンスを提供します。
  url: https://docs.pubrio.com
paths:
  /expansions/companies/compare:
    post:
      tags:
        - Expansion
      summary: 企業エクスパンションの比較
      description: 複数企業のエクスパンションの状況を並べて比較します。対象企業に対して比較可能な同業他社をオプションで追加できます。
      operationId: expansions_company_compare
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                companies:
                  $ref: '#/components/schemas/expansion_companies'
                domains:
                  $ref: '#/components/schemas/domains'
                linkedin_urls:
                  $ref: '#/components/schemas/company_linkedin_urls'
                transitioned_dates:
                  type: array
                  items:
                    type: string
                    format: date
                  example:
                    - '2026-04-01'
                    - '2026-06-29'
                  description: >-
                    シグナル/遷移ウィンドウの ISO `[from, to]` 日付範囲です。`window_days`
                    の両方が指定された場合はこちらが優先されます。
                window_days:
                  $ref: '#/components/schemas/window_days'
                seed_target:
                  type: string
                  example: 550e8400-e29b-41d4-a716-446655440002
                  description: 対象企業(domain_search_id)です。指定すると、レスポンスはその企業に最も近い同業他社をシードします。
                is_include_established:
                  $ref: '#/components/schemas/expansion_is_include_established'
                profile_id:
                  $ref: '#/components/schemas/profile_id'
      responses:
        '200':
          description: domain_search_id をキーとする企業ごとの比較データです。
          content:
            application/json:
              schema:
                type: object
                properties:
                  metadata:
                    type: object
                    properties:
                      seeded_peers:
                        type: array
                        items:
                          type: string
                  data:
                    type: object
                    properties:
                      companies:
                        type: array
                        items:
                          type: object
              example:
                metadata:
                  seeded_peers:
                    - 550e8400-e29b-41d4-a716-446655440002
                data:
                  companies:
                    - domain_search_id: 550e8400-e29b-41d4-a716-446655440002
                      home_country_code: SG
                      firmographics:
                        company_name: Example Corp
                        country_code: SG
                        company_size: 350
                        founded_year: 2015
                        industry: Software Development
                        publicly_traded_symbol: null
                        estimated_revenue: 25000000
                      markets_summary:
                        - country_code: US
                          stage_slug: committing
                          signal_count: 12
                          distinct_type_count: 4
                          first_signal_at: '2026-04-02T08:00:00.000Z'
                          latest_signal_at: '2026-06-28T10:15:22.000Z'
                          last_transition_at: '2026-06-25T14:30:00.000Z'
                          expansion_score: 0.685
                          signals:
                            - signal_type_slug: EXEC
                              signal_subtype_slug: country_manager
                              event_date: '2026-06-20T14:00:00.000Z'
                              display_label: Hired Regional VP for North America
components:
  schemas:
    expansion_companies:
      type: array
      items:
        type: string
      example:
        - stripe.com
        - https://www.linkedin.com/company/airbnb
        - 550e8400-e29b-41d4-a716-446655440000
      description: >-
        `domain_search_id`、会社ドメイン、または会社のソーシャルメディアプロフィール URL
        の任意の組み合わせで企業を指定します。ドメインと URL は最も上位の企業に解決されます。
    domains:
      type: array
      items:
        type: string
      example:
        - pubrio.com
      description: 企業および人物検索に使用する会社ドメインの一覧です。`www` や URL スキームが含まれる場合も、自動的にルートドメインへ正規化されます。
    company_linkedin_urls:
      type: array
      items:
        type: string
      example:
        - https://www.linkedin.com/company/pubrio
      description: >-
        企業の LinkedIn 公式ページを指す完全な URL です。値は `http` で始まり、`linkedin.com/company/`
        を含んでいる必要があります。
    window_days:
      type: integer
      example: 90
      description: >-
        任意。ローリングウィンドウの日数。明示的な `transitioned_dates`
        範囲が指定されていない場合に使用されます。両方とも省略した場合はデフォルトのウィンドウが使用されます。
    expansion_is_include_established:
      type: boolean
      example: false
      description: '`established` 段階（アクティブな拡大シグナルを持たない長期事業者）を含めます。デフォルトは false です。'
    profile_id:
      type: integer
      description: >-
        オプション。リクエストを送信するチームを表す識別子です。API
        キーにワークスペース情報が既に含まれているため、このパラメータは必須ではなくなりました。指定した場合、検索結果が特定のチーム（ワークスペース）に紐づけられ、データ取得およびクレジット利用状況の追跡が可能になります。詳しくは、チーム関連の「ユーザー詳細」エンドポイントを参照してください。
  securitySchemes:
    pubrio_api_key:
      type: apiKey
      name: pubrio-api-key
      description: >-
        API で実行する操作内容と、その操作に付与された権限を識別するための一意の API トークンです。このトークンはダッシュボードの
        [設定](https://dashboard.pubrio.com/#/settings/) 画面から発行できます。
      in: header

````