東証 17/33 業種マスタ
東証 17 業種 (TOPIX-17 セクター) と 33 業種の一覧。33 業種には対応する 17 業種名を parent として付与する (JPX 公式の固定対応)。
GET
/industriesAuthorization
AuthorizationBearer token · headerrequiredIRBANK Connect (app.irbank.net/mcp-api) で発行した API キー
Responses
200OK
industriesIndustryItem[]requiredShow propertiesHide properties
Array of
IndustryItemcodestring | nullrequired業種の識別子 (slug)。33 業種はランキング URL 等で使う slug。17 業種はコード未整備のため null
namestringrequired業種名 (正式名称)
classificationstringrequired分類体系。17=東証 17 業種 (TOPIX-17) / 33=東証 33 業種
Allowed:
1733parentstring | nullrequired対応する東証 17 業種名 (classification=33 のみ。17 業種は null)
attributionAttributionrequiredShow 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受理される値の要約(範囲・型・列挙値)。示せない場合は省略する
Request
curl -X GET "https://api.irbank.net/v1/industries" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.irbank.net/v1/industries", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.irbank.net/v1/industries",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"industries": [
{
"code": "foods",
"name": "食料品",
"classification": "33",
"parent": "食品"
}
],
"attribution": {
"source_label": "金融庁 EDINET / TDnet",
"license_note": "string",
"processed_by": "IRBANK"
}
}{
"error": {
"code": "not_found",
"message": "Security not found",
"details": [
{
"param": "years",
"reason": "out_of_range",
"expected": ">= 1"
}
]
}
}