コンテンツにスキップ
IRBANK API ドキュメント
Esc
↑↓移動↵開く⌘Jプレビュー

セグメント別業績

EDINET コード指定で法人のセグメント別業績一覧を返す (売上 / 営業利益 / 連結売上シェア / 前年比 / 従業員数 / セグメント資産)。fiscal_year を指定しないときは、次の 3 つをすべて満たす期を返す。(1) 期末日が「リクエストを受けた年 − 21」年の 1 月 1 日以降 (例: 2026 年中のリクエストなら 2005-01-01 以降。この日付は年が変わるごとに 1 年ずつ進む)。(2) IRBANK がデータを保持している期。どこまで遡れるかは法人によって異なり、(1) の範囲より新しい期で終わることが多い。(3) 期末が会員区分で遡れる期間 (プランと利用上限) にある。period=quarter を指定すると単独四半期 (3 ヶ月) を返し、quarter に 1..4 が入る。四半期は revenue / operating_income のみで、employees / assets は年度末時点の値のため常に null。決算短信が期首からの累計しか開示しない期の単独四半期は隣接累計の差で復元する。値の出自は revenue_basis / operating_income_basis で区別する (disclosed=開示された fact をそのまま採用 / derived_upstream=取り込み時に他の値から算出 / derived_from_cumulative=累計の差で本 API が復元)。TDnet 由来の値は開示から 24 時間以上経過したもののみ返す。各数値プロパティの単位はレスポンスの fields[].unit に機械可読で付与 (self-describing)。該当データが 0 件のときは空配列とともに reason (code=no_results + 状況の説明) を返す。

GET/segments
Authorization
AuthorizationBearer token · headerrequired

IRBANK Connect (app.irbank.net/mcp-api) で発行した API キー

Query parameters
edinet_codestringrequired

EDINET コード (E または G + 5 桁の数字)

matches ^[EG]\d{5}$
fiscal_yearinteger

年度フィルタ (決算期末の西暦年 YYYY、例: 2025)。指定した年度の期だけを返す。未指定時の範囲より古い年度も指定できる。ただし、IRBANK がデータを保持していない年度と、会員区分で遡れる期間より前に期末がある期は返らない

min 1990 · max 2100
periodstring

annual (既定) は通期、quarter は単独四半期 (3 ヶ月)。quarter では employees / assets は常に null

default: "annual"
Allowed:annualquarter
Responses
200

OK

fieldsFieldUnit[]required

数値プロパティの単位メタデータ (self-describing)

Show properties
Array of FieldUnit
keystringrequired

単位を指すレスポンス内数値プロパティのキー (data root からの相対キー)

labelstringrequired

日本語の表示名

unitstringrequired

単位識別子 (jpy / jpy_per_share / percent 等)

notestring

補足 (任意)

segmentsSegmentRow[]required

セグメント別業績 (fiscal_year 降順 → quarter 降順 → segment_name 昇順)

Show properties
Array of SegmentRow
fiscal_yearstringrequired

決算期 (YYYY/MM)。四半期の行では、その四半期が属する年度の期末

quarterinteger | nullrequired

四半期 (1..4)。period=annual では null

min 1 · max 4
segment_namestringrequired

セグメント名

revenuenumber | nullrequired

売上 (円)

revenue_basisstring | nullrequired

revenue の出自。disclosed=開示された fact をそのまま採った値、derived_upstream=取り込み時に他の値から算出された値、derived_from_cumulative=隣接する累計 (中間累計 / 第3四半期累計 / 通期) の差で本 API が復元した値。revenue が null のときは null

Allowed:disclosedderived_upstreamderived_from_cumulativenull
operating_incomenumber | nullrequired

営業利益 (円)

operating_income_basisstring | nullrequired

operating_income の出自。値の意味は revenue_basis と同じ

Allowed:disclosedderived_upstreamderived_from_cumulativenull
revenue_sharenumber | nullrequired

連結売上シェア (%) — 同じ期の全セグメントの revenue 合計に対する当該セグメントの比率。period=quarter では、通期に出るセグメントがその四半期に揃っている期のみ返す (揃わない期は null)。通期がまだ無い進行中の年度は直前の通期と比べる

yoy_growthnumber | nullrequired

前年比 (%) — 通期は前年度、四半期は前年同四半期の同セグメント revenue との比較

employeesnumber | nullrequired

従業員数 (人)。period=quarter では常に null

assetsnumber | nullrequired

セグメント資産 (円)。period=quarter では常に null

reasonEmptyReason | nullrequired

本体データが空のとき、その理由 (機械可読な code + 説明・対処ヒント)。本体データが 1 件以上のときは null

Show properties
One of:
EmptyReason
codestringrequired

no_results: このリクエストに該当するデータが 0 件。収録が無い場合と、指定した条件に合致しない場合の両方を含む (両者は現状の実装では区別できないため、機械可読な値としては区別しない)。TDnet 由来の値は開示から 24 時間は収録に反映されないため、直近開示分は後から追加され得る

Allowed:no_results
messagestringrequired

0 件になった状況の説明 (英語)。人間向けの補足であり、分岐は code で行うこと (文面は予告なく改善されうる)

null
null
attributionAttributionrequired
Show properties
source_labelstringrequired

出典表示ラベル(第三者に表示する際はこの表記を使う)

license_notestringrequired

出典・再配信条件の注記

processed_bystringrequired
400

パラメータが不正

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
detailsExternalErrorDetail[]
Show properties
Array of ExternalErrorDetail
paramstringrequired
reasonstringrequired
Allowed:missingconflictinvalid_typeinvalid_formatout_of_rangeunknown_valuetoo_many_itemsinvalid
expectedstring

受理される値の要約(範囲・型・列挙値)。示せない場合は省略する

403

API キーの scope 不足 (code=forbidden)、Connect の利用許可なし (code=connect_access_required)、または規約などへの同意が済んでいない (code=legal_consent_required) のため、この API を利用できない

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
detailsExternalErrorDetail[]
Show properties
Array of ExternalErrorDetail
paramstringrequired
reasonstringrequired
Allowed:missingconflictinvalid_typeinvalid_formatout_of_rangeunknown_valuetoo_many_itemsinvalid
expectedstring

受理される値の要約(範囲・型・列挙値)。示せない場合は省略する

404

法人が存在しない、または非上場

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
detailsExternalErrorDetail[]
Show properties
Array of ExternalErrorDetail
paramstringrequired
reasonstringrequired
Allowed:missingconflictinvalid_typeinvalid_formatout_of_rangeunknown_valuetoo_many_itemsinvalid
expectedstring

受理される値の要約(範囲・型・列挙値)。示せない場合は省略する

503

一時的に応答できない。会員区分を確認できないときは code=plan_lookup_failed になる。原因は error.code で区別し、時間をおいて再試行する

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
detailsExternalErrorDetail[]
Show properties
Array of ExternalErrorDetail
paramstringrequired
reasonstringrequired
Allowed:missingconflictinvalid_typeinvalid_formatout_of_rangeunknown_valuetoo_many_itemsinvalid
expectedstring

受理される値の要約(範囲・型・列挙値)。示せない場合は省略する

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.irbank.net/v1/segments?edinet_code=E04430' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "fields": [
    {
      "key": "sales",
      "label": "売上高",
      "unit": "jpy",
      "note": "string"
    }
  ],
  "segments": [
    {
      "fiscal_year": "2025/03",
      "quarter": 1,
      "segment_name": "string",
      "revenue": 0,
      "revenue_basis": "disclosed",
      "operating_income": 0,
      "operating_income_basis": "disclosed",
      "revenue_share": 0,
      "yoy_growth": 0,
      "employees": 0,
      "assets": 0
    }
  ],
  "reason": {
    "code": "no_results",
    "message": "No segment disclosure is currently recorded for this organization."
  },
  "attribution": {
    "source_label": "金融庁 EDINET / TDnet",
    "license_note": "string",
    "processed_by": "IRBANK"
  }
}

このページは役に立ちましたか?