---
title: "他社登場履歴 (統合逆引き)"
method: GET
path: "/companies/{code}/appearances"
tags: ["Corporate Graph"]
---

# 他社登場履歴 (統合逆引き)

`GET /companies/{code}/appearances`

## Request

- Base URL: `https://edinetdb.jp/v1`
- URL: `https://edinetdb.jp/v1/companies/{code}/appearances`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

対象企業 X が他社の EDINET 開示に「どう登場するか」を 1 回で返す統合逆引きビュー。
5 系統を統合: customer (主要販売先として X が登場) / cross_shareholding (政策保有株式として X が保有される) / large_holder (大量保有報告書。inbound=他社が X の 5%超を保有、 outbound=X 自身が他社の 5%超を保有) / subsidiary_affiliate (関係会社の状況で X が 子会社/関連会社/親会社/主要株主等として宣言される) / related_party (関連当事者との取引で X が取引相手として登場)。

既存 tool (get_main_customers 等) は「A 社が誰を開示するか」の順引きだが、本 endpoint は 「誰が X を開示するか」の逆引きを 5 系統横断で 1 回に統合する。

- direction は既定 inbound (他社が X を参照する方向)。outbound (X が他社を保有する方向、 large_holder のみ該当) は明示指定、all で両方。all の場合、meta.summary は appearance_type ごとにさらに direction で分計する (large_holder の inbound/outbound 混算を避けるため)。
- cross_shareholding / customer / related_party の対象解決は正規化名の完全一致のみ。 曖昧・未解決マッチは一切返さない (誤った企業への紐付けを避けるため、Gold 構築時に除外)。
- 本 endpoint は verified なマッチ (target_match_confidence != needs_review) のみを常に 返す。低信頼マッチ (subsidiary_affiliate の法人番号ブリッジ経由で needs_review になった行) を見る opt-in は提供しない。件数の透明性は meta.excluded_low_confidence_count (このフィルタ で隠れている行数) で担保する。
- large_holder は大量保有報告書 (2021-03 以降のみ。金商法27条の28第1項が定める法定公衆縦覧期間 5年により、EDINET が5年経過分を順次削除するため。当社取得経路の制約ではない) が源。
- related_party は現状カバレッジが限定的 (全社で 147 行のみ)。空でも「関連当事者なし」 を意味しない。
- metric_primary / metric_secondary は appearance_type ごとに単位・意味が異なる。 型をまたいで SUM/AVG しない。

## Path parameters

- `code` string, required

## Query parameters

- `appearance_type` string
- `direction` 'inbound' | 'outbound' | 'all'
- `from_fy` integer
- `to_fy` integer
- `limit` integer
- `offset` integer

## Response `200`

統合逆引き結果

- object
  - `data` object[]
    - `appearance_type` 'customer' | 'cross_shareholding' | 'large_holder' | 'subsidiary_affiliate' | 'related_party'
    - `as_of_date` string, date, nullable
    - `data_period_basis` 'annual_yuho' | 'event_driven'
    - `direction` 'inbound' | 'outbound'
    - `fiscal_year` integer, nullable
    - `match_confidence` 'high' | 'medium': needs_review (低信頼) は常に serving から除外されるため、返却行では実際には high/medium のみ観測される。
    - `metric_extra` object: 系統固有の残りフィールド (purpose_text, evidence_quote, terms 等)
    - `metric_primary` object
      - `label` string
      - `unit` 'yen' | 'pct' | 'shares'
      - `value` number, nullable
    - `metric_secondary` object, nullable
      - `label` string, nullable
      - `unit` string, nullable
      - `value` number, nullable
    - `relation_subtype` string, nullable: 系統固有の関係種別 (customer=segment, cross_shareholding=purpose_text, large_holder=holder_type, subsidiary_affiliate=relation_type, related_party=relation_type)
    - `source` object
      - `doc_id` string, nullable
      - `edinet_code` string, nullable
      - `name` string, nullable
    - `source_system` string: 由来テーブル名 (provenance)
    - `target_match_method` 'edinet_direct' | 'houjin_bridge' | 'name_exact_norm'
    - `target_name_matched` string: 実際に出現した対象名 (表記ゆれのまま)
  - `meta` object
    - `data_notes` string[]
    - `excluded_low_confidence_count` integer: needs_review (低信頼) のため常に除外された行数。v1 はこの値を見せる opt-in を提供しない (件数のみの透明性)。cross_shareholding/customer/related_partyの曖昧・未解決マッチ (target_edinet_code自体がNULLでGold構築時に除外) はここに含まれない。
    - `filters` object
    - `pagination` object
      - `limit` integer
      - `next_offset` integer, nullable
      - `offset` integer
      - `total` integer
    - `summary` object: appearance_type ごと、さらに direction ごとの件数・distinct出現元数 (見出し用、二重計上回避)。例 summary.large_holder.inbound。direction=inbound/outbound 指定時は該当 direction のキーのみ存在する。
    - `target` object
      - `edinet_code` string
      - `name` string, nullable

---

[API](https://skmtc.dev/edinetdb/apis/edinet-db-api.md) · [All operations](https://skmtc.dev/edinetdb/apis/edinet-db-api/llms.txt) · [OpenAPI document](https://skmtc.dev/edinetdb/apis/edinet-db-api/revisions/d896c5f7d472?raw)
