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

銘柄の日次株価

指定した銘柄の日次株価(始値・高値・安値・終値・調整後終値・出来高)を新しい順で返す。東証ライセンスに基づくシステム共通の制約により、2005-01-01 より前は出典によらず全銘柄で提供されない。時系列比較には株式分割・併合を遡及調整した adj_close を使うこと。出典は原則 JPX 東京証券取引所。ただし札証・福証の単独上場銘柄は JPX の配信に含まれず、各取引所が公表する日報が出典となる(銘柄ごとに変わるため attribution を参照)。該当データが 0 件のときは空配列とともに reason (code=no_results + 状況の説明) を返す。

GET/securities/{code}/prices
Authorization
AuthorizationBearer token · headerrequired

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

Path parameters
codestringrequired

証券コード (4 桁)

matches ^[0-9A-Z]{4,5}$
Query parameters
fromstring

取得開始日 (YYYY-MM-DD)。東証ライセンスにより 2005-01-01 以降のみ

matches ^\d{4}-\d{2}-\d{2}$
tostring

取得終了日 (YYYY-MM-DD)。東証ライセンスにより 2005-01-01 以降のみ

matches ^\d{4}-\d{2}-\d{2}$
limitinteger
min 1 · max 500 · default: 100
cursorstring

前回レスポンスの next_cursor

Responses
200

OK

fieldsobject[]required

数値プロパティの単位メタデータ

Show properties
Array of object
keystringrequired

prices[] 内の対象数値プロパティのキー

labelstringrequired

日本語の表示名

unitstringrequired

単位識別子 (jpy / shares)

notestring

補足 (任意)

codestringrequired

証券コード (4 桁)

pricesSecurityDailyPrice[]required

日次株価(四本値・出来高、新しい順)

Show properties
Array of SecurityDailyPrice
datestringrequired

取引日 (YYYY-MM-DD)

opennumber | nullrequired

始値 (円)

highnumber | nullrequired

高値 (円)

lownumber | nullrequired

安値 (円)

closenumber | nullrequired

終値 (円)

adj_closenumber | nullrequired

調整後終値 (円)。株式分割・併合を最新株数基準で遡及調整

volumenumber | nullrequired

出来高 (株)

next_cursorstring | nullrequired

次ページ取得用の不透明 cursor。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

パラメータまたは cursor が不正

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/securities/7203/prices' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "fields": [
    {
      "key": "string",
      "label": "string",
      "unit": "string",
      "note": "string"
    }
  ],
  "code": "7203",
  "prices": [
    {
      "date": "2026-01-23",
      "open": 0,
      "high": 0,
      "low": 0,
      "close": 0,
      "adj_close": 0,
      "volume": 0
    }
  ],
  "next_cursor": "string",
  "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"
  }
}

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