開示書類の詳細
EDINET / TDnet の開示書類の詳細 (メタ情報・章構成・XBRL ファクト) を返す。TDnet 由来開示は開示時刻から 24 時間以上経過後のみ取得可能 (未経過は 404)。
GET
/disclosures/{doc_id}Authorization
AuthorizationBearer token · headerrequiredIRBANK Connect (app.irbank.net/mcp-api) で発行した API キー
Path parameters
doc_idstringrequiredEDINET 書類管理番号 (S + 7 桁英数字) または TDnet docID (14 桁数字)
Query parameters
includestring返却するデータグループ (カンマ区切り)。meta / sections / xbrl_facts / available_sections。未指定時は全グループ
Responses
200OK
metaDisclosureDocumentMetaShow propertiesHide properties
doc_idstringrequiredsourcestringrequired開示ソース
Allowed:
edinettdnetfiling_datestringrequired提出日 (JST 暦日, YYYY-MM-DD)
disclosed_atstringrequired開示日時 (ISO 8601)
available_for_redistribution_atstringrequired再配信可能日時 (ISO 8601)。TDnet は開示時刻の 24 時間後、EDINET は開示時刻
edinet_codestring | nullrequired提出者 EDINET コード
titlestring | nullrequireddocument_typestring | nullrequired書類種別
source_urlstring | nullrequired出典 URL。EDINET は公開ページ (WZEK0040.aspx) の絶対 URL、TDnet は null。PDF 原本の URL ではない
attributionDisclosureAttributionrequiredShow propertiesHide properties
source_labelstringrequired出典表示ラベル
license_notestringrequired出典・再配信条件の注記
processed_bystringrequiredsectionsDisclosureDocumentSection[]Show propertiesHide properties
Array of
DisclosureDocumentSectionsection_idstring | nullrequired正規化済みセクション ID (正規化不能なブロックは null)
section_title_rawstringrequired原文のセクションタイトル
html_or_textstringrequiredセクション本文 (HTML またはテキスト)
xbrl_factsDisclosureXbrlFact[]Show propertiesHide properties
Array of
DisclosureXbrlFactelement_namestringrequiredXBRL 要素名
contextstring | nullrequiredperiodstring | nullrequiredvaluenumber | string | anyrequiredShow propertiesHide properties
One of:
number
numberstring
stringany
anyunitstring | nullrequiredavailable_sectionsstring[]取得可能なセクション ID 一覧 (軽量)
attributionDisclosureAttributionrequiredShow propertiesHide properties
source_labelstringrequired出典表示ラベル
license_notestringrequired出典・再配信条件の注記
processed_bystringrequired400パラメータが不正
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsExternalErrorDetail[]Show propertiesHide properties
Array of
ExternalErrorDetailparamstringrequiredreasonstringrequiredAllowed:
missingconflictinvalid_typeinvalid_formatout_of_rangeunknown_valuetoo_many_itemsinvalidexpectedstring受理される値の要約(範囲・型・列挙値)。示せない場合は省略する
404書類が存在しない、または TDnet 24h 経過前
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsExternalErrorDetail[]Show propertiesHide properties
Array of
ExternalErrorDetailparamstringrequiredreasonstringrequiredAllowed:
missingconflictinvalid_typeinvalid_formatout_of_rangeunknown_valuetoo_many_itemsinvalidexpectedstring受理される値の要約(範囲・型・列挙値)。示せない場合は省略する
Request
curl -X GET "https://api.irbank.net/v1/disclosures/S100ABCD" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.irbank.net/v1/disclosures/S100ABCD", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.irbank.net/v1/disclosures/S100ABCD",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"meta": {
"doc_id": "string",
"source": "edinet",
"filing_date": "string",
"disclosed_at": "string",
"available_for_redistribution_at": "string",
"edinet_code": "string",
"title": "string",
"document_type": "string",
"source_url": "string",
"attribution": {
"source_label": "string",
"license_note": "string",
"processed_by": "string"
}
},
"sections": [
{
"section_id": "string",
"section_title_raw": "string",
"html_or_text": "string"
}
],
"xbrl_facts": [
{
"element_name": "string",
"context": "string",
"period": "string",
"value": 0,
"unit": "string"
}
],
"available_sections": [
"string"
],
"attribution": {
"source_label": "string",
"license_note": "string",
"processed_by": "string"
}
}{
"error": {
"code": "not_found",
"message": "Security not found",
"details": [
{
"param": "years",
"reason": "out_of_range",
"expected": ">= 1"
}
]
}
}{
"error": {
"code": "not_found",
"message": "Security not found",
"details": [
{
"param": "years",
"reason": "out_of_range",
"expected": ">= 1"
}
]
}
}