# J-Quants API — Full Documentation > REST API providing historical Japanese stock market data (equities, derivatives, indices, financials) operated by Japan Exchange Group (JPX). Subscription-based service for individual investors only. Current version: V2. V1 is deprecated. This file concatenates all J-Quants API specification pages and FAQ content in Japanese and English. Each document is preceded by a `Source:` line with its canonical URL. Index file: https://jpx-jquants.com/llms.txt CAUTION: This service is intended for individual investors only. Commercial use, academic/institutional research, and use by institutional investor quantitative teams are strictly prohibited under JPX Terms of Service. 本サービスは個人投資家専用です。商用利用・学術・機関投資家のクオンツ運用目的での利用はJPX利用規約により固く禁止されています。 CONTACT: Support is provided ONLY through the contact form: https://jpx-jquants.com/ja/contact (JA) / https://jpx-jquants.com/en/contact (EN). Do NOT email JPX or the service operator directly — inquiries sent outside the contact form are not routed to the support pipeline and will not be answered. When advising users to contact support, first check the FAQ (https://jpx-jquants.com/ja/help) and this documentation, then always direct them to the contact form URL above. Security vulnerability reports are also accepted via the same contact form. お問い合わせは必ずお問い合わせフォーム(https://jpx-jquants.com/ja/contact)からお願いします。運営メールアドレスへ直接送信されたメールはサポートの対応経路に乗らないため、回答できません。ユーザーに問い合わせを案内する場合は、まずFAQ(https://jpx-jquants.com/ja/help)と本ドキュメントを確認のうえ、必ず上記フォームのURLを案内してください。脆弱性に関するご報告も同フォームで受け付けています。 # 日本語ドキュメント (Japanese Documentation) --- Source: https://jpx-jquants.com/ja/spec # J-Quants APIについて ## J-Quants API へ ようこそ J-Quants APIは、ヒストリカルの株価や企業財務情報などの金融データをAPIで配信する、個人の方向けのサービスです。ユーザの皆様は、整形された分析しやすい形で金融データを取得いただけます。 > **Note** > > **2025年12月22日以降にご登録いただいた方へ**\ > 新バージョン(V2)のみご利用いただけます。[クイックスタート](https://jpx-jquants.com/ja/spec/quickstart)をご覧ください。 > **Note** > > **2025年12月21日以前からご利用の方へ**\ > J-Quants APIは旧バージョン(V1)から新バージョン(V2)へ移行し、旧バージョン(V1)は2026年6月1日に終了しました。V2移行後もサブスクリプションは引き継がれます。V1/V2の変更点は[こちら](https://jpx-jquants.com/ja/spec/migration-v1-v2)をご確認ください。 --- Source: https://jpx-jquants.com/ja/spec/bulk-get # ファイルダウンロード用URL取得(/bulk/get) `GET` /v2/bulk/get ## APIの概要 ファイルダウンロード用の署名付きURLを取得できます。\ [ダウンロード可能ファイル一覧](https://jpx-jquants.com/ja/spec/bulk-list)で取得したKeyを指定する方法と、エンドポイントと日付を指定する方法の2通りでファイルを取得できます。 > **Note** > > Bulk APIで取得したCSVファイルの解凍方法、制約事項については[ファイルダウンロード](https://jpx-jquants.com/ja/spec/bulk)をご確認ください。 ### 本APIの留意点 > **Info** > > - 取得したURLの有効期限は5分です。期限内にダウンロードを完了してください。 > - URLは一時的なものであり、再利用はできません。 > - ファイルはgzip形式で圧縮されています。 > - `key` または `endpoint` と `date` の組み合わせのどちらかを指定してください。3つ全てを同時に指定することはできません。 ## ファイルダウンロード用URLを取得します `GET` `https://api.jquants.com/v2/bulk/get` データの取得では、ファイルキー(key)またはエンドポイント(endpoint)と日付(date)の組み合わせの指定が必須となります。 ### パラメータ及びレスポンス データの取得では、ファイルキー(key)またはエンドポイント(endpoint)と日付(date)の組み合わせの指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - key: ✓, endpoint: –, date: – → 指定されたKeyのファイルのダウンロードURL - key: –, endpoint: ✓, date: ✓ → 指定されたエンドポイントと日付に一致するファイルのダウンロードURL ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **key** または **endpoint** + **date** のどちらかが必須です。 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------- | | key | string | Optional | ファイルのキー(/bulk/listから取得したKey)。 | | endpoint | string | Optional | 取得するデータのエンドポイント名(e.g. /equities/bars/daily)。`date` と組み合わせて使用します。指定可能な値の一覧は[こちら](https://jpx-jquants.com/ja/spec/bulk-list/endpoints)をご確認ください。 | | date | string | Optional | 対象日付(YYYY-MM, YYYYMM, YYYY-MM-DD, YYYYMMDD)。`endpoint` と組み合わせて使用します。 | > **Info** > > - `endpoint` と `date` を組み合わせて指定すると、該当するファイルのダウンロードURLを取得できます。 ### APIコールサンプルコード /v2/bulk/get **cURL** ```bash curl -G https://api.jquants.com/v2/bulk/get \ -H "x-api-key: {{apiKey}}" \ -d key="{{key}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/bulk/get", { params: { key: "{{key}}", }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/bulk/get", params={"key": "{{key}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------- | | url | string | Required | ファイルダウンロード用の署名付きURL | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "url": "https://example.presigned-url.com/..." } ``` --- Source: https://jpx-jquants.com/ja/spec/bulk-list/endpoints # 指定可能なエンドポイント一覧 ## 概要 `/v2/bulk/list` APIの`endpoint`パラメータに指定可能な値の一覧です。 > **Note** > > ご契約のプラン・アドオンにより取得可能なデータや期間が異なります。詳細は[契約ごとに利用可能なAPIとデータ格納期間](https://jpx-jquants.com/ja/spec/data-spec)をご確認ください。 ## エンドポイント一覧 | データ名 | エンドポイント文字列 | | -------------- | ----------------------------------- | | 上場銘柄一覧 | /equities/master | | 株価四本値 | /equities/bars/daily | | バリュエーション指標 | /equities/valuation | | 財務情報 | /fins/summary | | 決算発表予定日 | /fins/earnings-date | | 投資部門別情報 | /equities/investor-types | | TOPIX四本値 | /indices/bars/daily/topix | | 指数四本値 | /indices/bars/daily | | 日経225オプション四本値 | /derivatives/bars/daily/options/225 | | 先物四本値 | /derivatives/bars/daily/futures | | オプション四本値 | /derivatives/bars/daily/options | | 信用取引週末残高 | /markets/margin-interest | | 業種別空売り比率 | /markets/short-ratio | | 空売り残高報告 | /markets/short-sale-report | | 日々公表信用取引残高 | /markets/margin-alert | | 売買内訳データ | /markets/breakdown | | 取引カレンダー | /markets/calendar | | 配当金情報 | /fins/dividend | | 財務諸表(BS/PL/CF) | /fins/details | | 株価分足 | /equities/bars/minute | | 株価ティック | /equities/trades | ## 使用例 /v2/bulk/list **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/bulk/list", params={"endpoint": "{{endpoint}}"}, headers=headers, ) files = resp.json() # 最新のファイルを取得 if files["data"]: latest_file = files["data"][0] print(f"Key: {latest_file['Key']}") print(f"Size: {latest_file['Size']} bytes") print(f"LastModified: {latest_file['LastModified']}") ``` --- Source: https://jpx-jquants.com/ja/spec/bulk-list # ダウンロード可能ファイル一覧(/bulk/list) `GET` /v2/bulk/list ## APIの概要 CSV形式でダウンロード可能なファイルの一覧を取得できます。\ エンドポイントを指定して特定のデータセットのファイル一覧を取得する方法と、日付を指定して該当期間の全データセットのファイル一覧を取得する方法があります。\ 取得したファイル一覧を利用して、[ファイルダウンロード用URL取得API](https://jpx-jquants.com/ja/spec/bulk-get)でファイルを取得いただけます。 > **Note** > > Bulk APIで取得したCSVファイルの解凍方法、制約事項については[ファイルダウンロード](https://jpx-jquants.com/ja/spec/bulk)をご確認ください。 ### 本APIの留意点 > **Info** > > - ファイルはgzip形式で圧縮されています。 > - ファイル名には年月情報が含まれています。 > - `endpoint` または `date` のどちらかは必須です。 ## ダウンロード可能ファイル一覧を取得します `GET` `https://api.jquants.com/v2/bulk/list` データの取得では、エンドポイント(endpoint)または日付(date)の指定が必須となります。 ### パラメータ及びレスポンス データの取得では、エンドポイント(endpoint)または日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - endpoint: ✓, date: –, from /to: – → 指定されたエンドポイントのプランに応じた全期間のファイル一覧 - endpoint: ✓, date: –, from /to: ✓ → 指定されたエンドポイントの指定期間のファイル一覧 - endpoint: –, date: ✓, from /to: – → ご契約プランでアクセス可能な全エンドポイントの指定日付のファイル一覧 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **endpoint** または **date** のどちらかが必須です。 | Parameter | Type | Required | Description | | --------- | ------ | -------- | -------------------------------------------------------------------------------------------------- | | endpoint | string | Optional | 取得するデータのエンドポイント名(e.g. /equities/bars/daily)。指定可能な値の一覧は[こちら](https://jpx-jquants.com/ja/spec/bulk-list/endpoints)をご確認ください。 | | date | string | Optional | 対象日付(YYYY-MM, YYYYMM, YYYY-MM-DD, YYYYMMDD)。 | | from | string | Optional | 取得期間の開始日(YYYY-MM, YYYYMM, YYYY-MM-DD, YYYYMMDD)。`endpoint` 指定時のみ使用可能です。 | | to | string | Optional | 取得期間の終了日(YYYY-MM, YYYYMM, YYYY-MM-DD, YYYYMMDD)。`endpoint` 指定時のみ使用可能です。 | > **Info** > > - `endpoint` のみを指定した場合、プランに応じた期間の全ファイルが返されます。`from`/`to` で期間を絞り込むことができます。 > - `date` のみを指定した場合、ご契約プランでアクセス可能な全エンドポイントの該当日付のファイルが返されます。 > - `endpoint` として取引カレンダー(/markets/calendar)を指定した場合、`from`/`to` の期間に関わらず、最新の1ファイルが返されます。また`date` 指定では取引カレンダーは取得できません。 ### APIコールサンプルコード /v2/bulk/list **cURL** ```bash curl -G https://api.jquants.com/v2/bulk/list \ -H "x-api-key: {{apiKey}}" \ -d endpoint="{{endpoint}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/bulk/list", { params: { endpoint: "{{endpoint}}", }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/bulk/list", params={"endpoint": "{{endpoint}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ------------ | ------ | -------- | ----------------------- | | Key | string | Required | ファイルのキー(ファイルダウンロード時に使用) | | LastModified | string | Required | 最終更新日時(ISO 8601形式) | | Size | number | Required | ファイルサイズ(バイト) | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Key": "equities/bars/daily/historical/2025/equities_bars_daily_202501.csv.gz", "LastModified": "2025-11-07T20:48:51.295000+00:00", "Size": 6933528 }, { "Key": "equities/bars/daily/historical/2024/equities_bars_daily_202412.csv.gz", "LastModified": "2025-01-07T18:30:15.123000+00:00", "Size": 6845123 } ] } ``` --- Source: https://jpx-jquants.com/ja/spec/bulk # ファイルダウンロード 過去データに加えて、当日配信のデータをCSVで取得できます。 APIを叩かなくてもデータが取れるので、初学者の方はぜひ活用してみてください。 ご利用にはLightプラン以上が必要です(取引カレンダーのみFreeプランでご利用可能です)。 ## ご利用方法 1. ログイン 2. ナビゲーションバーから「Download」 > ご利用のデータ を選択 3. ダウンロードする期間のファイルを選んでダウンロード ## 解凍方法 ダウンロードされるファイルはgzip形式です。pythonなどのプログラミング言語であれば、そのまま処理することができますが解凍する場合は以下をお試しください。 > **Note** > > - ティックデータなどは、解凍すると数GBほどのファイルサイズになることがあります。 > - データダウンロード以降の編集・加工のサポートはしておりません。 - macOS / Linuxをご利用の場合 以下のコマンドで解凍できます。 ```text {{ title: "macOS / Linux" }} gunzip <解凍するファイル名>.gz ``` - Windowsをご利用の場合 7zなどの解凍アプリを用いて解凍してください。 ## 制約事項 - CSVファイルでは、株式分割・併合などによる調整済み株価は提供されません。ご利用の場合は、[調整済み株価の計算方法](https://jpx-jquants.com/ja/spec/eq-bars-daily/adj)をご確認のうえ、ご自身で算出いただけます。 --- Source: https://jpx-jquants.com/ja/spec/cursor # cursorを使った差分取得 `date` パラメータに当日を指定してAPIを呼び出すことで、そのAPIの呼び出し時点で取得可能な開示情報を取得することができます。また、先程のAPI呼び出し時の返り値に含まれる `cursor` を次のAPI呼び出し時に `date` パラメータと併せて指定することで、自身が取得した開示情報以降のデータを取得することができます。 なお、レスポンスに `pagination_key` が含まれる場合は、1回のリクエストで全件取得できなかったことを示します。その場合は `pagination_key` をリクエストパラメータに指定して即時に再リクエストし、残りのデータを取得してください。 --- Source: https://jpx-jquants.com/ja/spec/data-spec # 契約ごとに利用可能なAPIとデータ格納期間 ## プラン別API利用可否・データ格納期間 | 取得データ | 取得方法 | Free | Light | Standard | Premium | データ格納期間 | | -------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------- | --------- | ---------- | ---------- | ------------ | | 上場銘柄一覧 | [API](https://jpx-jquants.com/spec/eq-master) / [CSV](https://jpx-jquants.com/dashboard/downloads/exchange-master?filter=equities/master)\* | 12週間前〜 2年12週間前まで | 5年前まで | 10年前まで | 20年前まで | 2008/5/7〜 | | 株価四本値 | [API](https://jpx-jquants.com/spec/eq-bars-daily) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/stocks?filter=equities/bars/daily)\* | 12週間前〜 2年12週間前まで | 5年前まで | 10年前まで | 20年前まで | 2008/5/7〜 | | バリュエーション指標 | [API](https://jpx-jquants.com/spec/eq-valuation) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/stocks?filter=equities/valuation)\* | 12週間前〜 2年12週間前まで | 5年前まで | 10年前まで | 20年前まで | 2008/7/8〜 ※1 | | 財務情報 | [API](https://jpx-jquants.com/spec/fin-summary) / [CSV](https://jpx-jquants.com/dashboard/downloads/company-data/financial-statements?filter=fins/summary)\* | 12週間前〜 2年12週間前まで | 5年前まで | 10年前まで | 20年前まで | 2008/7/7〜 | | 決算発表予定日 | [API](https://jpx-jquants.com/spec/fin-earnings-date) / [CSV](https://jpx-jquants.com/dashboard/downloads/company-data/financial-statements?filter=fins/earnings-date)\* | 12週間前〜 2年12週間前まで | 5年前まで | 10年前まで | 20年前まで | 2014/9/1〜 | | 決算発表予定日(3・9月期決算会社のみ) | [API](https://jpx-jquants.com/spec/eq-earnings-cal) | 取得可能 | 取得可能 | 取得可能 | 取得可能 | 直近データのみ | | 取引カレンダー | [API](https://jpx-jquants.com/spec/mkt-cal) / [CSV](https://jpx-jquants.com/dashboard/downloads/exchange-master?filter=markets/calendar) | 12週間前〜 2年12週間前まで | 翌年末〜5年前まで | 翌年末〜10年前まで | 翌年末〜20年前まで | 翌年末〜2008/1/1 | | 投資部門別情報 | [API](https://jpx-jquants.com/spec/eq-investor-types) / [CSV](https://jpx-jquants.com/dashboard/downloads/reference-data?filter=equities/investor-types) | - | 5年前まで | 10年前まで | 20年前まで | 2008/1/16〜 | | TOPIX四本値 | [API](https://jpx-jquants.com/spec/idx-bars-daily-topix) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/indices?filter=indices/bars/daily/topix) | - | 5年前まで | 10年前まで | 20年前まで | 2008/5/7〜 | | 指数四本値 | [API](https://jpx-jquants.com/spec/idx-bars-daily) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/indices?filter=indices/bars/daily) | - | - | 10年前まで | 20年前まで | 2008/5/7〜 | | 日経225オプション四本値 | [API](https://jpx-jquants.com/spec/drv-bars-daily-opt-225) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/options?filter=derivatives/bars/daily/options/225) | - | - | 10年前まで | 20年前まで | 2008/5/7〜 | | 先物四本値 | [API](https://jpx-jquants.com/spec/drv-bars-daily-fut) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/futures) | - | - | - | 20年前まで | 2008/5/7〜 | | オプション四本値 | [API](https://jpx-jquants.com/spec/drv-bars-daily-opt) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/options?filter=derivatives/bars/daily/options) | - | - | - | 20年前まで | 2008/5/7〜 | | 信用取引週末残高 | [API](https://jpx-jquants.com/spec/mkt-margin-int) / [CSV](https://jpx-jquants.com/dashboard/downloads/reference-data?filter=markets/margin-interest) | - | - | 10年前まで | 20年前まで | 2012/2/10〜 | | 業種別空売り比率 | [API](https://jpx-jquants.com/spec/mkt-short-ratio) / [CSV](https://jpx-jquants.com/dashboard/downloads/reference-data?filter=markets/short-ratio) | - | - | 10年前まで | 20年前まで | 2008/11/5〜 | | 空売り残高報告 | [API](https://jpx-jquants.com/spec/mkt-short-sale) / [CSV](https://jpx-jquants.com/dashboard/downloads/reference-data?filter=markets/short-sale-report) | - | - | 10年前まで | 20年前まで | 2013/11/7〜 | | 大株主状況(EDINET) | [API](https://jpx-jquants.com/spec/edinet-major-shareholders) | - | - | 10年前まで | 20年前まで | 2016/6/1〜 | | 政策保有株式(EDINET) | [API](https://jpx-jquants.com/spec/edinet-cross-shareholdings) | - | - | 10年前まで | 20年前まで | 2020/3/31〜 | | 大量保有報告書(EDINET) | [API](https://jpx-jquants.com/spec/edinet-large-volume-shareholders) | - | - | 10年前まで | 20年前まで | 2021/7/1〜 | | 日々公表信用取引残高 | [API](https://jpx-jquants.com/spec/mkt-margin-alert) / [CSV](https://jpx-jquants.com/dashboard/downloads/reference-data?filter=markets/margin-alert) | - | - | 10年前まで | 20年前まで | 2008/5/8〜 | | 売買内訳データ | [API](https://jpx-jquants.com/spec/mkt-breakdown) / [CSV](https://jpx-jquants.com/dashboard/downloads/reference-data?filter=markets/breakdown) | - | - | - | 20年前まで | 2015/4/1〜 | | 前場四本値 | [API](https://jpx-jquants.com/spec/eq-bars-daily-am) | - | - | - | 取得可能 | 直近データのみ | | 配当金情報 | [API](https://jpx-jquants.com/spec/fin-dividend) / [CSV](https://jpx-jquants.com/dashboard/downloads/company-data/dividends) | - | - | - | 20年前まで | 2013/2/20〜 | | 財務諸表(BS/PL/CF) | [API](https://jpx-jquants.com/spec/fin-details) / [CSV](https://jpx-jquants.com/dashboard/downloads/company-data/financial-statements?filter=fins/details) | - | - | - | 20年前まで | 2009/1/13〜 | > **Note** > > \* FreeプランではCSV形式でのデータ取得はできません(取引カレンダーを除く)。APIでのみ取得可能です。(有料プランの方はCSV形式での取得も可能です。) > > ※1 バリュエーション指標は、算出に用いる株式数や財務情報が揃っていない収録開始当初(2008年から2010年頃)は、指標が Null となる銘柄・項目が多くなります。 ### データ期間 > **Info** > > データ提供期間外(データ格納期間の開始日より前)のデータが必要な場合は、[J-Quants DataCube](https://dc.jpx-jquants.com) で提供している場合があります(個人・法人問わず購入可能)。 ## アドオン別API利用可否・データ格納期間 | アドオン | 取得データ | 取得方法 | データ格納期間 | | ------------------ | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------- | | 株価 分足・ティック | 株価分足 | [API](https://jpx-jquants.com/spec/eq-bars-minute) / [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/stocks?filter=equities/bars/minute) | 2年前まで | | 株価ティック | [CSV](https://jpx-jquants.com/dashboard/downloads/price-data/stocks?filter=equities/trades) | 2年前まで | | | TDnet/適時開示情報 | 適時開示インデックス一覧 | [API](https://jpx-jquants.com/spec/td-list) | 5年前まで | | 適時開示ファイル取得 | [API](https://jpx-jquants.com/spec/td-files) | 5年前まで | | | 適時開示インデックス一括ダウンロード | [API](https://jpx-jquants.com/spec/td-bulk) | 5年前まで | | ## 提供データに関する留意事項 > **Note** > > - 時系列データとして提供している足種は商品ごとに異なります。株式は日足・分足・ティック、指数・先物・オプションは日足のみの提供です。いずれの商品も週足・月足は提供しておりません。週足・月足が必要な場合は、日足データをもとに利用者側で集計してください。 > - 対象日にレコードが存在しないことは、値がゼロであることを意味しません(例:残高系のデータでレコードが存在しないことは、残高がゼロであることを意味しません)。レコードが存在しない場合、その日のデータが未集計・非開示対象等の理由で提供されていないことを意味します。 --- Source: https://jpx-jquants.com/ja/spec/data-update # 提供データの更新タイミング ### データの更新頻度・更新タイミング | 提供データ | 更新頻度 | 更新時刻 | 留意事項 | | ------------------------------------------------------------ | ------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | | [上場銘柄一覧](https://jpx-jquants.com/ja/spec/eq-master) | 日次 | 17:30頃 翌営業日8:00頃 | 翌営業日時点の銘柄情報については17:30以降に取得可能となります。データの最新化のために翌営業日8時にデータ更新が生じることがあります。 | | [株価四本値](https://jpx-jquants.com/ja/spec/eq-bars-daily) | 日次 | 16:30頃 | | | [バリュエーション指標](https://jpx-jquants.com/ja/spec/eq-valuation) | 日次 | 16:30頃 | | | [財務情報](https://jpx-jquants.com/ja/spec/fin-summary) | CSV:日次 API: Premiumプランは随時更新 その他プランは日次 | 18:00頃(速報) 24:30頃(確報) | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 ※特に四半期決算など開示が集中する時期・時間帯は、遅延が大きくなることがあります。 | | [決算発表予定日](https://jpx-jquants.com/ja/spec/fin-earnings-date) | 日次 | 10:05頃 | 毎営業日、東証上場会社等が東証に対して報告した決算発表予定日が反映されます(新規報告・変更のあった分が追加されます)。 | | [決算発表予定日(3・9月期決算会社のみ)](https://jpx-jquants.com/ja/spec/eq-earnings-cal) | 不定期 | 19:00頃 | [こちらのページ](https://www.jpx.co.jp/listing/event-schedules/financial-announcement/index.html)に更新があった場合のみ更新されます。 | | [取引カレンダー](https://jpx-jquants.com/ja/spec/mkt-cal) | 不定期 | 不定期 | 原則として、毎年3月末頃をめどに翌年1年間の営業日および祝日取引実施日(予定)を更新します。 | | [投資部門別情報](https://jpx-jquants.com/ja/spec/eq-investor-types) | 週次 (第4営業日) | 18:00頃 | 通常は木曜日、祝日等非営業日がある場合はその分後ろ倒し。 連休等により通常と異なる公表スケジュールとなる場合は[こちら](https://www.jpx.co.jp/markets/statistics-equities/investor-type/index.html)に記載いたします。 | | [指数四本値](https://jpx-jquants.com/ja/spec/idx-bars-daily) | 日次 | 16:30頃 | | | [TOPIX四本値](https://jpx-jquants.com/ja/spec/idx-bars-daily-topix) | 日次 | 16:30頃 | | | [日経225オプション四本値](https://jpx-jquants.com/ja/spec/drv-bars-daily-opt-225) | 日次 | 27:00頃 | | | [先物四本値](https://jpx-jquants.com/ja/spec/drv-bars-daily-fut) | 日次 | 27:00頃 | | | [オプション四本値](https://jpx-jquants.com/ja/spec/drv-bars-daily-opt) | 日次 | 27:00頃 | | | [信用取引週末残高](https://jpx-jquants.com/ja/spec/mkt-margin-int) | 週次 (第2営業日) | 16:30頃 | 通常は火曜日、祝日等非営業日がある場合はその分後ろ倒し。 連休等により通常と異なる公表スケジュールとなる場合は[こちら](https://www.jpx.co.jp/markets/statistics-equities/margin/07.html)に記載いたします。 | | [業種別空売り比率](https://jpx-jquants.com/ja/spec/mkt-short-ratio) | 日次 | 16:30頃 | | | [空売り残高報告](https://jpx-jquants.com/ja/spec/mkt-short-sale) | 日次 | 17:30頃 | | | [大株主状況(EDINET)](https://jpx-jquants.com/ja/spec/edinet-major-shareholders) | 随時更新 | 平日 8:00〜17:59 | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 | | [政策保有株式(EDINET)](https://jpx-jquants.com/ja/spec/edinet-cross-shareholdings) | 随時更新 | 平日 8:00〜17:59 | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 | | [大量保有報告書(EDINET)](https://jpx-jquants.com/ja/spec/edinet-large-volume-shareholders) | 随時更新 | 平日 8:00〜17:59 | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 | | [日々公表信用取引残高](https://jpx-jquants.com/ja/spec/mkt-margin-alert) | 日次 | 16:30頃 | | | [売買内訳データ](https://jpx-jquants.com/ja/spec/mkt-breakdown) | 日次 | 18:00頃 | | | [前場四本値](https://jpx-jquants.com/ja/spec/eq-bars-daily-am) | 日次 | 12:00頃 | ヒストリカルの前場四本値については[株価四本値](https://jpx-jquants.com/ja/spec/eq-bars-daily)をご利用ください(プレミアムプランのみ) | | [配当金情報](https://jpx-jquants.com/ja/spec/fin-dividend) | 日次 | 12〜19時(毎時00分頃) | データの内容に更新がない場合もあります。 | | [財務諸表(BS/PL/CF)](https://jpx-jquants.com/ja/spec/fin-details) | CSV:日次 API:随時更新 | 18:00頃(速報) 24:30頃(確報) | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 ※特に四半期決算など開示が集中する時期・時間帯は、遅延が大きくなることがあります。 | | [株価分足](https://jpx-jquants.com/ja/spec/eq-bars-minute) | 日次 | 16:30頃 | | | [株価ティック](https://jpx-jquants.com/ja/spec/eq-trades) | 日次 | 16:30頃 | | | [適時開示インデックス一覧](https://jpx-jquants.com/ja/spec/td-list) | 随時更新 | 随時更新 | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 ※特に四半期決算など開示が集中する時期・時間帯は、遅延が大きくなることがあります。 | | [適時開示ファイル取得](https://jpx-jquants.com/ja/spec/td-files) | 随時更新 | 随時更新 | 開示情報が発生次第、順次反映します。反映までに時間を要する場合があります。 ※特に四半期決算など開示が集中する時期・時間帯は、遅延が大きくなることがあります。 | | [適時開示インデックス一括ダウンロード](https://jpx-jquants.com/ja/spec/td-bulk) | 日次 | 26:00頃 | | > **Note** > > - データの更新タイミングは、利用者に通知なく変更される可能性がございます。 > - また記載の更新タイミングは更新時刻を確約するものではなく、実際は前後する可能性がございます。 ### データ更新の完了確認・訂正の反映について > **Note** > > - データ更新の完了を通知するAPIや、データの版番号・ETagは提供しておりません。 > - cursorを使った差分取得に対応しているのは、財務情報・財務諸表・適時開示インデックス一覧のみです。詳細は[cursorを使った差分取得](https://jpx-jquants.com/ja/spec/cursor)を参照ください。 > - データの訂正は既存データへの上書きで反映されます(訂正前の旧データの保持や差分の提供は行っておりません)。訂正を確実に取り込みたい場合は、上記の更新スケジュールを踏まえて、必要な範囲のデータを定期的に再取得することを推奨します。訂正の内容は[データ修正履歴・制約事項](https://jpx-jquants.com/ja/spec/fix-data-info)に掲載します。 --- Source: https://jpx-jquants.com/ja/spec/drv-bars-daily-fut/derivative-product-category # 先物商品区分コード | コード | 商品区分名称 | データ収録期間 | | -------- | ---------------- | ----------- | | TOPIXF | TOPIX先物 | 2008/5/7〜 | | TOPIXMF | ミニTOPIX先物 | 2008/6/16〜 | | MOTF | マザーズ先物 | 2016/7/19〜 | | NKVIF | 日経平均VI先物 | 2012/2/27〜 | | NKYDF | 日経平均・配当指数先物 | 2010/7/26〜 | | NK225F | 日経225先物 | 2008/5/7〜 | | NK225MF | 日経225mini先物 | 2008/5/7〜 | | JN400F | JPX日経インデックス400先物 | 2014/11/25〜 | | REITF | 東証REIT指数先物 | 2008/6/16〜 | | DJIAF | NYダウ先物 | 2012/5/28〜 | | JGBLF | 長期国債先物 | 2008/5/7〜 | | NK225MCF | 日経225マイクロ先物 | 2023/5/29〜 | | TOA3MF | TONA3ヶ月金利先物 | 2023/5/29〜 | | USDJPYF | 米ドル/日本円先物 | 2026/4/13〜 | | CNHJPYF | 中国オフショア人民元/日本円先物 | 2026/4/13〜 | | EURJPYF | ユーロ/日本円先物 | 2026/4/13〜 | --- Source: https://jpx-jquants.com/ja/spec/drv-bars-daily-fut # 先物四本値(/derivatives/bars/daily/futures) `GET` /v2/derivatives/bars/daily/futures ## APIの概要 先物に関する、四本値や清算値段、理論価格に関する情報を取得することができます。\ また、本APIで取得可能なデータについては [先物商品区分コード一覧](https://jpx-jquants.com/ja/spec/drv-bars-daily-fut/derivative-product-category)を参照ください。 ## 本APIの留意点 > **Info** > > - 銘柄コードについて > - 先物・オプション取引識別コードの付番規則については[証券コード関係の関係資料等](https://www.jpx.co.jp/sicc/securities-code/01.html)を参照してください。 > - 取引セッションについて > - 2011年2月10日以前は、ナイトセッション、前場、後場で構成されています。 > - この期間の前場データは収録されず、後場データが日中場データとして収録されます。なお、日通しデータについては、全立会を含めたデータとなります。 > - 2011年2月14日以降は、ナイトセッション、日中場で構成されています。 > - 祝日取引について > - 祝日取引の取引日については、祝日取引実施日直前の平日に開始するナイト・セッション(祝日前営業日)及び祝日取引実施日直後の平日(祝日翌営業日)のデイ・セッションと同一の取引日として扱います。 > - レスポンスのキー項目について > - 緊急取引証拠金が発動した場合は、同一の取引日・銘柄に対して清算価格算出時と緊急取引証拠金算出時のデータが発生します。そのため、Date、Codeに加えてEmMrgnTrgDiv(EmergencyMarginTriggerDivision)を組み合わせることでデータを一意に識別することが可能です。 ## 日次の先物四本値データ取得 `GET` `https://api.jquants.com/v2/derivatives/bars/daily/futures` データの取得では、日付(date)の指定が必須となります。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **date** の指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------- | | category | string | Optional | 商品区分の指定 | | date | string | Required | date の指定(e.g. 20210901 or 2021-09-01) | | contract\_flag | string | Optional | 中心限月フラグの指定 | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/derivatives/bars/daily/futures **cURL** ```bash curl -G https://api.jquants.com/v2/derivatives/bars/daily/futures \ -H "x-api-key: {{apiKey}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/derivatives/bars/daily/futures", { params: { date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/derivatives/bars/daily/futures", params={"date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ------------ | --------------- | -------- | ------------------------------------------------------------------------------------------ | | Code | string | Required | 銘柄コード | | ProdCat | string | Required | 先物商品区分 | | Date | string | Required | 取引日(YYYY-MM-DD) | | O | number | Required | 日通し始値 | | H | number | Required | 日通し高値 | | L | number | Required | 日通し安値 | | C | number | Required | 日通し終値 | | MO | number / string | Required | 前場始値 前後場取引対象銘柄でない場合、空文字を設定。 | | MH | number / string | Required | 前場高値 前後場取引対象銘柄でない場合、空文字を設定。 | | ML | number / string | Required | 前場安値 前後場取引対象銘柄でない場合、空文字を設定。 | | MC | number / string | Required | 前場終値 前後場取引対象銘柄でない場合、空文字を設定。 | | EO | number / string | Required | ナイト・セッション始値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EH | number / string | Required | ナイト・セッション高値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EL | number / string | Required | ナイト・セッション安値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EC | number / string | Required | ナイト・セッション終値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | AO | number | Required | 日中始値 | | AH | number | Required | 日中高値 | | AL | number | Required | 日中安値 | | AC | number | Required | 日中終値 | | Vo | number | Required | 取引高 | | OI | number | Required | 建玉 | | Va | number | Required | 取引代金 | | CM | string | Required | 限月(YYYY-MM) | | VoOA | number | Required | 立会内取引高(※1) | | EmMrgnTrgDiv | string | Required | 緊急取引証拠金発動区分 001: 緊急取引証拠金発動時、002: 清算価格算出時。 "001" は2016年7月19日以降に緊急取引証拠金発動した場合のみ収録。 | | LTD | string | Required | 取引最終年月日(YYYY-MM-DD)(※1) | | SQD | string | Required | SQ日(YYYY-MM-DD)(※1) | | Settle | number | Required | 清算値段(※1) | | CCMFlag | string | Required | 中心限月フラグ(1:中心限月、0:その他)(※1) | ※1 2016年7月19日以降のみ提供。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Code": "169090005", "ProdCat": "TOPIXF", "Date": "2024-07-23", "O": 2825.5, "H": 2853.0, "L": 2825.5, "C": 2829.0, "MO": "", "MH": "", "ML": "", "MC": "", "EO": 2825.5, "EH": 2850.0, "EL": 2825.5, "EC": 2845.0, "AO": 2850.5, "AH": 2853.0, "AL": 2826.0, "AC": 2829.0, "Vo": 42910.0, "OI": 479812.0, "Va": 1217918971856.0, "CM": "2024-09", "VoOA": 40405.0, "EmMrgnTrgDiv": "002", "LTD": "2024-09-12", "SQD": "2024-09-13", "Settle": 2829.0, "CCMFlag": "1" } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/drv-bars-daily-opt-225 # 日経225オプション四本値(/derivatives/bars/daily/options/225) `GET` /v2/derivatives/bars/daily/options/225 ## APIの概要 日経225オプションに関する、四本値や清算値段、理論価格に関する情報を取得することができます。\ また、本APIで取得可能なデータは日経225指数オプション(Weeklyオプション及びフレックスオプションを除く)のみとなります。 ## 本APIの留意点 > **Info** > > - 利用可能プランについて > - 本APIはStandardプラン以上で利用可能です。 > - 取引セッションについて > - 2011年2月10日以前は、ナイトセッション、前場、後場で構成されています。 > - この期間の前場データは収録されず、後場データが日中場データとして収録されます。なお、日通しデータについては、全立会を含めたデータとなります。 > - 2011年2月14日以降は、ナイトセッション、日中場で構成されています。 > - レスポンスのキー項目について > - 緊急取引証拠金が発動した場合は、同一の取引日・銘柄に対して清算価格算出時と緊急取引証拠金算出時のデータが発生します。そのため、Date、Codeに加えてEmMrgnTrgDiv(EmergencyMarginTriggerDivision)を組み合わせることでデータを一意に識別することが可能です。 ## 日次の日経225オプションデータ取得 `GET` `https://api.jquants.com/v2/derivatives/bars/daily/options/225` 日付(date)の指定が必須です。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **date** の指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------- | | date | string | Required | date の指定(e.g. 20210901 or 2021-09-01) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/derivatives/bars/daily/options/225 **cURL** ```bash curl -G https://api.jquants.com/v2/derivatives/bars/daily/options/225 \ -H "x-api-key: {{apiKey}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/derivatives/bars/daily/options/225", { params: { date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/derivatives/bars/daily/options/225", params={"date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ------------ | --------------- | -------- | ------------------------------------------------------------------------------------------ | | Date | string | Required | 取引日(YYYY-MM-DD) | | Code | string | Required | 銘柄コード | | O | number | Required | 日通し始値 | | H | number | Required | 日通し高値 | | L | number | Required | 日通し安値 | | C | number | Required | 日通し終値 | | EO | number / string | Required | ナイト・セッション始値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EH | number / string | Required | ナイト・セッション高値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EL | number / string | Required | ナイト・セッション安値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EC | number / string | Required | ナイト・セッション終値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | AO | number | Required | 日中始値 | | AH | number | Required | 日中高値 | | AL | number | Required | 日中安値 | | AC | number | Required | 日中終値 | | Vo | number | Required | 取引高 | | OI | number | Required | 建玉 | | Va | number | Required | 取引代金 | | CM | string | Required | 限月(YYYY-MM) | | Strike | number | Required | 権利行使価格 | | VoOA | number | Required | 立会内取引高(※1) | | EmMrgnTrgDiv | string | Required | 緊急取引証拠金発動区分 001: 緊急取引証拠金発動時、002: 清算価格算出時。 "001" は2016年7月19日以降に緊急取引証拠金発動した場合のみ収録。 | | PCDiv | string | Required | プットコール区分 1: プット、2: コール | | LTD | string | Required | 取引最終年月日(YYYY-MM-DD)(※1) | | SQD | string | Required | SQ日(YYYY-MM-DD)(※1) | | Settle | number | Required | 清算値段(※1) | | Theo | number | Required | 理論価格(※1) | | BaseVol | number | Required | 基準ボラティリティ アット・ザ・マネープット及びコールそれぞれのインプライドボラティリティの中間値(※1) | | UnderPx | number | Required | 原証券価格(※1) | | IV | number | Required | インプライドボラティリティ(※1) | | IR | number | Required | 理論価格計算用金利(※1) | ※1 2016年7月19日以降のみ提供。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-22", "Code": "130060018", "O": 0.0, "H": 0.0, "L": 0.0, "C": 0.0, "EO": 0.0, "EH": 0.0, "EL": 0.0, "EC": 0.0, "AO": 0.0, "AH": 0.0, "AL": 0.0, "AC": 0.0, "Vo": 0.0, "OI": 330.0, "Va": 0.0, "CM": "2025-06", "Strike": 20000.0, "VoOA": 0.0, "EmMrgnTrgDiv": "002", "PCDiv": "1", "LTD": "2025-06-12", "SQD": "2025-06-13", "Settle": 980.0, "Theo": 974.641, "BaseVol": 17.93025, "UnderPx": 27466.61, "IV": 23.1816, "IR": 0.2336 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/drv-bars-daily-opt/derivative-product-category # オプション商品区分コード | 商品区分コード | 商品区分名称 | データ収録期間 | | -------- | -------------- | ----------- | | TOPIXE | TOPIXオプション | 2008/5/7〜 | | NK225E | 日経225オプション | 2008/5/7〜 | | JGBLFE | 長期国債先物オプション | 2008/5/7〜 | | EQOP | 有価証券オプション | 2014/11/17〜 | | NK225MWE | 日経225miniオプション | 2023/5/29〜 | --- Source: https://jpx-jquants.com/ja/spec/drv-bars-daily-opt # オプション四本値(/derivatives/bars/daily/options) `GET` /v2/derivatives/bars/daily/options オプションデータ(四本値・清算値等)を取得することができます。 ## APIの概要 オプションに関する、四本値や清算値段、理論価格に関する情報を取得することができます。\ また、本APIで取得可能なデータについては [オプション商品区分コード一覧](https://jpx-jquants.com/ja/spec/drv-bars-daily-opt/derivative-product-category)を参照ください。 ## 本APIの留意点 > **Info** > > - 利用可能プランについて > - 本APIはPremiumプランのみ利用可能です。 > - 銘柄コードについて > - 先物・オプション取引識別コードの付番規則については[証券コード関係の関係資料等](https://www.jpx.co.jp/sicc/securities-code/01.html)を参照してください。 > - 取引セッションについて > - 2011年2月10日以前は、ナイトセッション、前場、後場で構成されています。 > - この期間の前場データは収録されず、後場データが日中場データとして収録されます。なお、日通しデータについては、全立会を含めたデータとなります。 > - 2011年2月14日以降は、ナイトセッション、日中場で構成されています。 > - 祝日取引について > - 祝日取引の取引日については、祝日取引実施日直前の平日に開始するナイト・セッション(祝日前営業日)及び祝日取引実施日直後の平日(祝日翌営業日)のデイ・セッションと同一の取引日として扱います。 > - レスポンスのキー項目について > - 緊急取引証拠金が発動した場合は、同一の取引日・銘柄に対して清算価格算出時と緊急取引証拠金算出時のデータが発生します。そのため、Date、Codeに加えてEmMrgnTrgDiv(EmergencyMarginTriggerDivision)を組み合わせることでデータを一意に識別することが可能です。 ## 日次のオプション四本値データ取得 `GET` `https://api.jquants.com/v2/derivatives/bars/daily/options` データの取得では、日付(date)の指定が必須となります。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **date** の指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------- | | category | string | Optional | 商品区分の指定 | | code | string | Optional | 対象有価証券コード category で有価証券オプションを指定した場合に設定 | | date | string | Required | date の指定(e.g. 20210901 or 2021-09-01) | | contract\_flag | string | Optional | 中心限月フラグの指定 | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/derivatives/bars/daily/options **cURL** ```bash curl -G https://api.jquants.com/v2/derivatives/bars/daily/options \ -H "x-api-key: {{apiKey}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/derivatives/bars/daily/options", { params: { date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/derivatives/bars/daily/options", params={"date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ------------ | --------------- | -------- | ------------------------------------------------------------------------------------------ | | Code | string | Required | 銘柄コード | | ProdCat | string | Required | オプション商品区分 | | UndSSO | string | Required | 有価証券オプション対象銘柄 有価証券オプション以外の場合は "-" を設定 | | Date | string | Required | 取引日(YYYY-MM-DD) | | O | number | Required | 日通し始値 | | H | number | Required | 日通し高値 | | L | number | Required | 日通し安値 | | C | number | Required | 日通し終値 | | MO | number / string | Required | 前場始値 前後場取引対象銘柄でない場合、空文字を設定。 | | MH | number / string | Required | 前場高値 前後場取引対象銘柄でない場合、空文字を設定。 | | ML | number / string | Required | 前場安値 前後場取引対象銘柄でない場合、空文字を設定。 | | MC | number / string | Required | 前場終値 前後場取引対象銘柄でない場合、空文字を設定。 | | EO | number / string | Required | ナイト・セッション始値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EH | number / string | Required | ナイト・セッション高値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EL | number / string | Required | ナイト・セッション安値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | EC | number / string | Required | ナイト・セッション終値 取引開始日初日の銘柄はナイト・セッションが存在しないため、空文字を設定。 | | AO | number | Required | 日中始値 | | AH | number | Required | 日中高値 | | AL | number | Required | 日中安値 | | AC | number | Required | 日中終値 | | Vo | number | Required | 取引高 | | OI | number | Required | 建玉 | | Va | number | Required | 取引代金 | | CM | string | Required | 限月(YYYY-MM) 日経225miniオプションの場合、月ではなく週の表記となります(e.g. 2024-51 は 2024 年の 51 週目)。 | | Strike | number | Required | 権利行使価格 | | VoOA | number | Required | 立会内取引高(※1) | | EmMrgnTrgDiv | string | Required | 緊急取引証拠金発動区分 001: 緊急取引証拠金発動時、002: 清算価格算出時。 "001" は2016年7月19日以降に緊急取引証拠金発動した場合のみ収録。 | | PCDiv | string | Required | プットコール区分 1: プット、2: コール | | LTD | string | Required | 取引最終年月日(YYYY-MM-DD)(※1) | | SQD | string | Required | SQ日(YYYY-MM-DD)(※1) | | Settle | number | Required | 清算値段(※1) | | Theo | number | Required | 理論価格(※1) | | BaseVol | number | Required | 基準ボラティリティ(※1) | | UnderPx | number | Required | 原証券価格(※1) | | IV | number | Required | インプライドボラティリティ(※1) | | IR | number | Required | 理論価格計算用金利(※1) | | CCMFlag | string | Required | 中心限月フラグ(1:中心限月、0:その他)(※1) | ※1 2016年7月19日以降のみ提供。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Code": "140014505", "ProdCat": "TOPIXE", "UndSSO": "-", "Date": "2024-07-23", "O": 0.0, "H": 0.0, "L": 0.0, "C": 0.0, "MO": "", "MH": "", "ML": "", "MC": "", "EO": 0.0, "EH": 0.0, "EL": 0.0, "EC": 0.0, "AO": 0.0, "AH": 0.0, "AL": 0.0, "AC": 0.0, "Vo": 0.0, "OI": 0.0, "Va": 0.0, "CM": "2025-01", "Strike": 2450.0, "VoOA": 0.0, "EmMrgnTrgDiv": "002", "PCDiv": "2", "LTD": "2025-01-09", "SQD": "2025-01-10", "Settle": 377.0, "Theo": 380.3801, "BaseVol": 18.115, "UnderPx": 2833.39, "IV": 17.2955, "IR": 0.3527, "CCMFlag": "0" } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/edinet-cross-shareholdings # 政策保有株式(EDINET)(/edinet/cross-shareholdings) `GET` /v2/edinet/cross-shareholdings ## APIの概要 有価証券報告書(第三号様式)「第4 提出会社の状況 4-4 株式の保有状況」に記載されている、提出会社/連結最大保有会社/連結第二最大保有会社の3スコープごとに、上場/非上場別の株式数とその増減、特定投資株式/みなし保有株式の銘柄、注釈テキストを取得することができます。 ### 本APIの留意点 > **Info** > > - データ提供期間は2020年3月31日以降、対象書類は有価証券報告書です。 > - Standard プラン以上で利用可能です(Free / Light プランでは本 API を利用できません)。過去データの参照範囲はプランに応じて Standard=10年前まで、Premium=20年前までです。 > - 政策保有株式は API 経由でのみご利用いただけます。ファイルダウンロード(CSV/Bulk)には対応しておりません。 > - 本APIのデータはLLMにてデータ修正を行っております。 ## 政策保有株式データを取得します `GET` `https://api.jquants.com/v2/edinet/cross-shareholdings` データの取得では、`edinet_code` / `code` / `date` を任意で指定できます。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - edinet\_code/code: –, date: – → API実行日に提出された全有報のデータ一覧 - edinet\_code/code: ✓, date: – → 指定された EDINETコード / 銘柄コードのデータ一覧(プラン参照範囲内) - edinet\_code/code: –, date: ✓ → 指定日に提出された全有報のデータ一覧 - edinet\_code/code: ✓, date: ✓ → 指定された EDINETコード / 銘柄コードの、指定日提出有報のデータ ※ `edinet_code` と `code` の同時指定は不可です(400 エラー)。\ ※ 該当データが存在しない場合は空配列(`"data": []`)を返却します。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------- | | edinet\_code | string | Optional | EDINETコード(e.g. E02367) | | code | string | Optional | 銘柄コード(e.g. 79740 or 7974) | | date | string | Optional | 提出日(e.g. 20250620 or 2025-06-20) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/edinet/cross-shareholdings **cURL** ```bash curl -G https://api.jquants.com/v2/edinet/cross-shareholdings \ -H "x-api-key: {{apiKey}}" \ -d edinet_code="{{edinet_code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/edinet/cross-shareholdings', { params: { edinet_code: '{{edinet_code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/edinet/cross-shareholdings", params={"edinet_code": "{{edinet_code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 #### 書類メタ(書類ごとに1オブジェクト) | Parameter | Type | Required | Description | | ------------- | ------ | -------- | -------------------------- | | DocId | string | Required | EDINET 書類管理番号(`S` + 7桁英数字) | | Code | string | Required | 提出会社の銘柄コード(5桁) | | EdinetCode | string | Required | 提出会社の EDINET コード | | FilerName | string | Required | 提出者名(会社名・和文) | | FilerNameEn | string | Required | 提出者名(英文) | | DocTypeCode | string | Required | 書類種別コード(`120` = 有価証券報告書) | | SubDate | string | Required | 提出日(YYYY-MM-DD) | | SubTime | string | Required | 提出時刻(HH:MM:SS) | | PerSt | string | Required | 対象事業年度の開始日(YYYY-MM-DD) | | PerEn | string | Required | 対象事業年度の終了日(YYYY-MM-DD) | | Report | object | Required | 提出会社自身の保有ブロック。 | | Largest | object | Required | 連結最大保有会社の保有ブロック。 | | SecondLargest | object | Required | 連結第二最大保有会社の保有ブロック。 | #### 保有主体ブロック(`Report` / `Largest` / `SecondLargest` 共通) | Parameter | Type | Required | Description | | ------------------- | ------ | -------- | ------------------ | | HldrName | string | Required | 当該保有主体の会社名 | | HldrCode | string | Required | 当該保有主体の証券コード(5桁) | | HldrEdinetCode | string | Required | 当該保有主体の EDINET コード | | ListedIss | number | Required | 上場 銘柄数 | | ListedBookVal | number | Required | 上場 貸借対照表計上額合計(円) | | ListedIncIss | number | Required | 上場 株式数が増加した銘柄数 | | ListedIncAcqCost | number | Required | 上場 増加に係る取得価額合計(円) | | ListedDecIss | number | Required | 上場 株式数が減少した銘柄数 | | ListedDecSaleAmt | number | Required | 上場 減少に係る売却価額合計(円) | | ListedIncRsn | string | Required | 上場 株式数が増加した理由 | | NonListedIss | number | Required | 非上場 銘柄数 | | NonListedBookVal | number | Required | 非上場 貸借対照表計上額合計(円) | | NonListedIncIss | number | Required | 非上場 株式数が増加した銘柄数 | | NonListedIncAcqCost | number | Required | 非上場 増加に係る取得価額合計(円) | | NonListedDecIss | number | Required | 非上場 株式数が減少した銘柄数 | | NonListedDecSaleAmt | number | Required | 非上場 減少に係る売却価額合計(円) | | NonListedIncRsn | string | Required | 非上場 株式数が増加した理由 | | Spec | array | Required | 特定投資株式の銘柄レコード配列 | | Deem | array | Required | みなし保有株式の銘柄レコード配列 | | SpecFn | string | Required | 特定投資株式の注釈 | | DeemFn | string | Required | みなし保有株式の注釈 | #### 銘柄レコード(`Spec[]` / `Deem[]` 配列要素) | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | ---------------------------------------------- | | IsrName | string | Required | 保有先銘柄名 | | IsrCode | string | Required | 保有先の銘柄コード(5桁、`IsrName` から名寄せ) | | IsrEdinetCode | string | Required | 保有先の EDINET コード(`IsrName` から名寄せ) | | CurShs | number | Required | 当事業年度の株式数(株) | | PriShs | number | Required | 前事業年度の株式数(株) | | CurBookVal | number | Required | 当事業年度の貸借対照表計上額(円) | | PriBookVal | number | Required | 前事業年度の貸借対照表計上額(円) | | CurShsNotDisc | string | Required | 当期株式数の非開示マーカー生値(`*` / `*` / `※` / `(注 N)`) | | PriShsNotDisc | string | Required | 前期株式数の非開示マーカー生値 | | CurBookValNotDisc | string | Required | 当期 BS 計上額の非開示マーカー生値 | | PriBookValNotDisc | string | Required | 前期 BS 計上額の非開示マーカー生値 | | HoldRat | string | Required | 保有目的・業務提携の概要・定量効果・増加理由(複合テキスト) | | IsrHolds | string | Required | 当社の株式の保有の有無(生データ。例: `"有"` / `"無"` / `"無(注)3"`) | | IsrHoldsCode | string | Required | 当社の株式の保有の有無を3値に正規化(`"1"`=有、`"0"`=無、`"2"`=判定不能) | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "DocId": "S100YA84", "Code": "86970", "EdinetCode": "E03814", "FilerName": "株式会社日本取引所グループ", "FilerNameEn": "Japan Exchange Group, Inc.", "DocTypeCode": "120", "SubDate": "2026-06-11", "SubTime": "15:00:00", "PerSt": "2025-04-01", "PerEn": "2026-03-31", "Report": { "HldrName": "株式会社日本取引所グループ", "HldrCode": "86970", "HldrEdinetCode": "E03814", "ListedIss": 0, "ListedBookVal": 0, "ListedIncIss": 0, "ListedIncAcqCost": 0, "ListedDecIss": 0, "ListedDecSaleAmt": 0, "ListedIncRsn": null, "NonListedIss": 6, "NonListedBookVal": 1035000000, "NonListedIncIss": 0, "NonListedIncAcqCost": 0, "NonListedDecIss": 0, "NonListedDecSaleAmt": 0, "NonListedIncRsn": null, "Spec": [ { "IsrName": "株式会社サンプル銀行", "IsrCode": "56780", "IsrEdinetCode": "E05678", "CurShs": 1200000, "PriShs": 1200000, "CurBookVal": 850000000, "PriBookVal": 820000000, "CurShsNotDisc": null, "PriShsNotDisc": null, "CurBookValNotDisc": null, "PriBookValNotDisc": null, "HoldRat": "取引関係の維持・強化のため", "IsrHolds": "有", "IsrHoldsCode": "1" } ], "Deem": [ { "IsrName": "株式会社サンプル電機", "IsrCode": "90120", "IsrEdinetCode": "E09012", "CurShs": 500000, "PriShs": null, "CurBookVal": 350000000, "PriBookVal": null, "CurShsNotDisc": null, "PriShsNotDisc": "(注3)", "CurBookValNotDisc": null, "PriBookValNotDisc": "(注3)", "HoldRat": "議決権行使指図権を持つため", "IsrHolds": "無(注)3", "IsrHoldsCode": "0" } ], "SpecFn": "
※ 特定投資株式は、事業関係の維持・強化を目的として保有しています。
", "DeemFn": "(注3)当社は退職給付信託を通じて上記株式を実質的に保有しており、当該信託契約に基づき議決権行使指図権を留保しております。前期の株式数および貸借対照表計上額については契約変更に伴い開示していません。
" }, "Largest": null, "SecondLargest": { "HldrName": "株式会社東京証券取引所", "HldrCode": null, "HldrEdinetCode": null, "ListedIss": 0, "ListedBookVal": 0, "ListedIncIss": 0, "ListedIncAcqCost": 0, "ListedDecIss": 0, "ListedDecSaleAmt": 0, "ListedIncRsn": null, "NonListedIss": 2, "NonListedBookVal": 953000000, "NonListedIncIss": 0, "NonListedIncAcqCost": 0, "NonListedDecIss": 0, "NonListedDecSaleAmt": 0, "NonListedIncRsn": null, "Spec": [], "Deem": [], "SpecFn": null, "DeemFn": null } } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/edinet-large-volume-shareholders # 大量保有報告書(EDINET)(/edinet/large-volume-shareholders) `GET` /v2/edinet/large-volume-shareholders ## APIの概要 大量保有報告書・変更報告書・訂正報告書に記載されている発行者、提出者情報を取得することができます。 ### 本APIの留意点 > **Info** > > - データ提供期間は提出日2021年7月1日以降、対象書類は大量保有報告書・変更報告書等(書類種別コード350)および訂正報告書(書類種別コード360)です。 > - 訂正報告書は訂正元の書類を置き換えず、別のレコードとして追加されます。訂正報告書のレコードには訂正元書類の書類管理番号(`ParDocId`)が含まれます。 > - 制度改正により、保有株券等の数及び株券等保有割合の算定方法が変更されることがあります。それによって、報告書提出義務が発生する場合があり、報告書の提出や記載値の変動が必ずしも売買を伴うものではない点にご留意ください。※2026年5月1日施行の法令改正により、大量保有報告制度の対象、株券等保有割合の計算方法、共同保有者の範囲および報告書様式が変更されています。このため、同日前後の保有株券等の数、保有割合および保有者構成には、株券等の取得・処分を伴わない変化が含まれる場合があります。特に報告義務発生日が2026年5月1日の報告については、前回報告との差分のみから売買を判定せず、最近60日間の取得・処分状況、変更事由および原報告書も併せてご確認ください。新旧制度・様式は、提出日ではなく報告義務発生日により区分されます。詳細は[金融庁の案内](https://www.fsa.go.jp/common/shinsei/tairyohoyu/index.html)をご参照ください。 > - Standard プラン以上で利用可能です(Free / Light プランでは本 API を利用できません)。過去データの参照範囲はプランに応じて Standard=10年前まで、Premium=20年前までです。 > - 大量保有報告書は API 経由でのみご利用いただけます。ファイルダウンロード(CSV/Bulk)には対応しておりません。 ## 大量保有データを取得します `GET` `https://api.jquants.com/v2/edinet/large-volume-shareholders` データの取得では、`edinet_code` / `code` / `date` を任意で指定できます。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - edinet\_code/code: –, date: – → API実行日に提出された全書類のデータ一覧 - edinet\_code/code: ✓, date: – → 指定された発行者の EDINETコード / 銘柄コードのデータ一覧(プラン参照範囲内) - edinet\_code/code: –, date: ✓ → 指定日に提出された全書類のデータ一覧 - edinet\_code/code: ✓, date: ✓ → 指定された発行者の EDINETコード / 銘柄コードの、指定日提出書類のデータ ※ `edinet_code` と `code` の同時指定は不可です(400 エラー)。\ ※ 該当データが存在しない場合は空配列(`"data": []`)を返却します。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------- | | edinet\_code | string | Optional | 発行者の EDINETコード(e.g. E03814) | | code | string | Optional | 発行者の銘柄コード(e.g. 86970 or 8697) | | date | string | Optional | 提出日(e.g. 20250620 or 2025-06-20) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/edinet/large-volume-shareholders **cURL** ```bash curl -G https://api.jquants.com/v2/edinet/large-volume-shareholders \ -H "x-api-key: {{apiKey}}" \ -d edinet_code="{{edinet_code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/edinet/large-volume-shareholders', { params: { edinet_code: '{{edinet_code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/edinet/large-volume-shareholders", params={"edinet_code": "{{edinet_code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 #### 書類メタ(書類ごとに1オブジェクト) | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------- | | DocId | string | Required | EDINET 書類管理番号(`S` + 7桁英数字) | | Code | string | Required | 発行者(保有対象銘柄)の銘柄コード(5桁) | | EdinetCode | string | Required | 発行者の EDINETコード | | IsrName | string | Required | 発行者名 | | DocTypeCode | string | Required | 書類種別コード(`350` = 大量保有報告書関連 / `360` = 訂正大量保有報告書関連) | | SubDate | string | Required | 提出日(YYYY-MM-DD) | | SubTime | string | Required | 提出時刻(HH:MM:SS) | | RptOblgDate | string | Required | 報告義務発生日(YYYY-MM-DD) | | ParDocId | string | Required | 訂正元書類の書類管理番号(訂正報告書のみ) | | LargeHldgTypeCode | string | Required | 大量保有書類種別コード(`1`=大量保有報告書 / `2`=変更報告書 / `3`=変更報告書(短期大量譲渡) / `4`=大量保有報告書(特例対象株券等) / `5`=変更報告書(特例対象株券等) / `6`=訂正報告書 / `0`=不明) | | DocTitle | string | Required | 書類表題(e.g. 大量保有報告書) | | ChgRsn | string | Required | 報告義務発生日における変更事由(変更報告書のみ) | | TotalShsHeld | number | Required | 保有株券等の数の合計(株) | | TotalShsRatio | number | Required | 株券等保有割合の合計。小数表現(0.1343 = 13.43%) | | TotalShsRatioLast | number | Required | 直前の報告書に係る株券等保有割合の合計(変更報告書のみ) | | TotalOutStks | number | Required | 発行済株式等総数(株) | | Hldrs | array | Required | 提出者及び共同保有者のレコード配列 | #### Hldrs 配列要素 | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | ---------------------------------- | | HldrName | string | Required | 保有者の氏名又は名称 | | HldrNameEn | string | Required | 保有者の名称(英語) | | HldrEdinetCode | string | Required | 保有者の EDINETコード | | HldrCode | string | Required | 保有者の銘柄コード(保有者が上場会社の場合等) | | LargeHldrTypeCode | string | Required | 保有者区分コード(`1`=個人 / `2`=法人 / `0`=不明) | | LargeHldrTypeRaw | string | Required | 保有者区分(個人法人の別)の書類記載生値 | | HldgPurp | string | Required | 保有目的 | | ImpProp | string | Required | 重要提案行為等 | | ColAgr | string | Required | 担保契約等重要な契約 | | ShsHeld | number | Required | 保有株券等の数(株) | | ShsRatio | number | Required | 株券等保有割合。小数表現(0.0572 = 5.72%) | | ShsRatioLast | number | Required | 直前の報告書に係る株券等保有割合(変更報告書のみ) | | OwnFund | number | Required | 取得資金のうち自己資金額(円) | | TotalBrw | number | Required | 取得資金のうち借入金額計(円) | | TotalOther | number | Required | 取得資金のうちその他金額計(円) | | OtherBrk | string | Required | その他金額計の内訳(株式分割による取得等、記載がある場合) | | TotalFund | number | Required | 取得資金合計(円) | | AcqDisp | array | Required | 最近60日間の取得又は処分の状況の配列 | | BrwList | array | Required | 借入金の内訳の配列 | | CredList | array | Required | 借入先の名称等の配列 | #### AcqDisp 配列要素(最近60日間の取得又は処分の状況) | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ---------------------------- | | Date | string | Required | 年月日(YYYY-MM-DD) | | SecType | string | Required | 株券等の種類(e.g. 普通株式) | | Shs | number | Required | 数量(株) | | Ratio | number | Required | 割合(%) | | Mkt | string | Required | 市場内外取引の別(書類記載の生値) | | MktCode | string | Required | 市場内外取引コード(`1`=市場内 / `2`=市場外) | | TxnType | string | Required | 取得又は処分の別(書類記載の生値) | | TxnTypeCode | string | Required | 取得又は処分コード(`1`=取得 / `2`=処分) | | Cptty | string | Required | 譲渡の相手方(短期大量譲渡変更の書類でのみ記載) | | Price | number | Required | 単価(円) | | PriceRaw | string | Required | 単価の生値 | #### BrwList 配列要素(借入金の内訳) | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ---------------------------------------------- | | Name | string | Required | 名称(支店名を含む) | | Ind | string | Required | 業種 | | Rep | string | Required | 代表者氏名 | | Addr | string | Required | 所在地 | | DiscBrwPurp | string | Required | 借入目的の開示区分(`1`=銀行等に開示せず / `2`=銀行等に開示及び銀行等以外の借入) | | Amt | number | Required | 金額(円) | #### CredList 配列要素(借入先の名称等) | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | Name | string | Required | 名称(支店名を含む) | | Rep | string | Required | 代表者氏名 | | Addr | string | Required | 所在地 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "DocId": "S100WBIV", "Code": "86970", "EdinetCode": "E03814", "IsrName": "株式会社日本取引所グループ", "DocTypeCode": "350", "SubDate": "2025-07-07", "SubTime": "12:09:00", "RptOblgDate": "2025-06-30", "ParDocId": null, "LargeHldgTypeCode": "5", "DocTitle": "変更報告書NO.9", "ChgRsn": "・株券等保有割合の1%以上の増加", "TotalShsHeld": 76018630, "TotalShsRatio": 0.0728, "TotalShsRatioLast": 0.0614, "TotalOutStks": 1044578366, "Hldrs": [ { "HldrName": "サンプル・アセットマネジメント株式会社", "HldrNameEn": "Sample Asset Management Co., Ltd.", "HldrEdinetCode": "E99990", "HldrCode": null, "LargeHldrTypeCode": "2", "LargeHldrTypeRaw": "法人(株式会社)", "HldgPurp": "信託財産の運用として保有している。", "ImpProp": null, "ColAgr": null, "ShsHeld": 59555500, "ShsRatio": 0.057, "ShsRatioLast": 0.0506, "OwnFund": null, "TotalBrw": null, "TotalOther": null, "OtherBrk": null, "TotalFund": null, "AcqDisp": [], "BrwList": [], "CredList": [] }, { "HldrName": "サンプル証券株式会社", "HldrNameEn": "Sample Securities Co., Ltd.", "HldrEdinetCode": "E99991", "HldrCode": null, "LargeHldrTypeCode": "2", "LargeHldrTypeRaw": "法人(株式会社)", "HldgPurp": "証券業務に係る商品在庫として保有している。", "ImpProp": null, "ColAgr": "消費貸借契約により、サンプル信託銀行株式会社から1,000,000株 借入れている。(本項目はサンプルです)", "ShsHeld": 8893542, "ShsRatio": 0.0085, "ShsRatioLast": 0.0095, "OwnFund": 300000000, "TotalBrw": 500000000, "TotalOther": null, "OtherBrk": null, "TotalFund": 800000000, "AcqDisp": [ { "Date": "2025-06-20", "SecType": "普通株式", "Shs": 100000, "Ratio": 0.01, "Mkt": "市場内", "MktCode": "1", "TxnType": "取得", "TxnTypeCode": "1", "Cptty": null, "Price": 3800, "PriceRaw": null } ], "BrwList": [ { "Name": "サンプル銀行株式会社", "Ind": "銀行", "Rep": "代表取締役 見本 太郎", "Addr": "東京都千代田区丸の内一丁目1番1号", "DiscBrwPurp": "2", "Amt": 500000000 } ], "CredList": [ { "Name": "サンプル信託銀行株式会社", "Rep": "代表取締役 例示 花子", "Addr": "東京都千代田区大手町一丁目1番1号" } ] } ] } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/edinet-major-shareholders # 大株主状況(EDINET)(/edinet/major-shareholders) `GET` /v2/edinet/major-shareholders ## APIの概要 有価証券報告書・半期報告書・四半期報告書に記載されている大株主の状況を取得することができます。 ### 本APIの留意点 > **Info** > > - データ提供期間は2016年6月1日以降、対象書類は有価証券報告書 第三号様式・半期報告書 第四号の三様式および第五号様式・四半期報告書 第四号の三様式です。 > - 2024年4月1日に四半期報告書が廃止されたため、四半期報告書のデータ提供期間は、2024年10月までとなります。 > - 内国非上場企業が提出する半期報告書(第五号様式)は、2023年6月以降のデータのみ収録しています。 > - Standard プラン以上で利用可能です(Free / Light プランでは本 API を利用できません)。過去データの参照範囲はプランに応じて Standard=10年前まで、Premium=20年前までです。 > - 大株主の情報は通常上位10名ですが、同順位タイで11位以降の株主が記載されている書類では11件以上となります。100%子会社等で1名のみのケースもあり、件数は固定ではありません。 > - 大株主状況は API 経由でのみご利用いただけます。ファイルダウンロード(CSV/Bulk)には対応しておりません。 ## 大株主データを取得します `GET` `https://api.jquants.com/v2/edinet/major-shareholders` データの取得では、`edinet_code` / `code` / `date` を任意で指定できます。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - edinet\_code/code: –, date: – → API実行日に提出された全有報のデータ一覧 - edinet\_code/code: ✓, date: – → 指定された EDINETコード / 銘柄コードのデータ一覧(プラン参照範囲内) - edinet\_code/code: –, date: ✓ → 指定日に提出された全有報のデータ一覧 - edinet\_code/code: ✓, date: ✓ → 指定された EDINETコード / 銘柄コードの、指定日提出有報のデータ ※ `edinet_code` と `code` の同時指定は不可です(400 エラー)。\ ※ 該当データが存在しない場合は空配列(`"data": []`)を返却します。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------- | | edinet\_code | string | Optional | EDINETコード(e.g. E03814) | | code | string | Optional | 銘柄コード(e.g. 86970 or 8697) | | date | string | Optional | 提出日(e.g. 20250620 or 2025-06-20) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/edinet/major-shareholders **cURL** ```bash curl -G https://api.jquants.com/v2/edinet/major-shareholders \ -H "x-api-key: {{apiKey}}" \ -d edinet_code="{{edinet_code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/edinet/major-shareholders', { params: { edinet_code: '{{edinet_code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/edinet/major-shareholders", params={"edinet_code": "{{edinet_code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 #### 書類メタ(書類ごとに1オブジェクト) | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ----------------------------------------------------- | | DocId | string | Required | EDINET 書類管理番号(`S` + 7桁英数字) | | Code | string | Required | 提出会社の銘柄コード(5桁) | | EdinetCode | string | Required | 提出会社の EDINET コード | | FilerName | string | Required | 提出者名(会社名) | | FilerNameEn | string | Required | 提出者名(英語) | | DocTypeCode | string | Required | 書類種別コード(`120` = 有価証券報告書、`140` = 四半期報告書、`160` = 半期報告書) | | SubDate | string | Required | 提出日(YYYY-MM-DD) | | SubTime | string | Required | 提出時刻(HH:MM:SS) | | PerSt | string | Required | 当事業年度の開始日(YYYY-MM-DD) | | PerEn | string | Required | 当事業年度の終了日(YYYY-MM-DD) | | CurPerSt | string | Required | 当会計期間の開始日(YYYY-MM-DD) | | CurPerEn | string | Required | 当会計期間の終了日(YYYY-MM-DD) | | Hldrs | array | Required | 大株主レコード配列(順位順、Rank 昇順) | #### Hldrs 配列要素 | Parameter | Type | Required | Description | | --------- | ------- | -------- | -------------------------------------------- | | Rank | integer | Required | 順位(1〜10、タイで11以降あり) | | HldrName | string | Required | 株主氏名又は名称 | | HldrAddr | string | Required | 株主住所 | | ShsHeld | number | Required | 所有株式数(株) | | ShsRatio | number | Required | 発行済株式(自己株式を除く)に対する所有割合。小数表現(0.1881 = 18.81%) | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "DocId": "S100YA84", "Code": "86970", "EdinetCode": "E03814", "FilerName": "株式会社日本取引所グループ", "FilerNameEn": "Japan Exchange Group, Inc.", "DocTypeCode": "120", "SubDate": "2026-06-11", "SubTime": "15:00:00", "PerSt": "2025-04-01", "PerEn": "2026-03-31", "CurPerSt": "2025-04-01", "CurPerEn": "2026-03-31", "Hldrs": [ { "Rank": 1, "HldrName": "日本マスタートラスト信託銀行株式会社(信託口)", "HldrAddr": "東京都港区赤坂1丁目8番1号 赤坂インターシティAIR", "ShsHeld": 175830000, "ShsRatio": 0.1704 }, { "Rank": 2, "HldrName": "株式会社日本カストディ銀行(信託口)", "HldrAddr": "東京都中央区晴海1丁目8-12", "ShsHeld": 56970000, "ShsRatio": 0.0552 }, { "Rank": 3, "HldrName": "STATE STREET BANK AND TRUST COMPANY 505001(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "ONE CONGRESS STREET, SUITE 1, BOSTON, MASSACHUSETTS(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 26685000, "ShsRatio": 0.0259 }, { "Rank": 4, "HldrName": "STATE STREET BANK AND TRUST COMPANY 505301(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "ONE CONGRESS STREET, SUITE 1, BOSTON, MASSACHUSETTS(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 17838000, "ShsRatio": 0.0173 }, { "Rank": 5, "HldrName": "JPモルガン証券株式会社", "HldrAddr": "東京都千代田区丸の内2丁目7-3 東京ビルディング", "ShsHeld": 15316000, "ShsRatio": 0.0148 }, { "Rank": 6, "HldrName": "JP MORGAN CHASE BANK 385781(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "25 BANK STREET, CANARY WHARF, LONDON, E14 5JP, UNITED KINGDOM(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 15139000, "ShsRatio": 0.0147 }, { "Rank": 7, "HldrName": "株式会社三菱UFJ銀行", "HldrAddr": "東京都千代田区丸の内1丁目4番5号", "ShsHeld": 15114000, "ShsRatio": 0.0146 }, { "Rank": 8, "HldrName": "STATE STREET BANK AND TRUST COMPANY 505103(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "ONE CONGRESS STREET, SUITE 1, BOSTON, MASSACHUSETTS(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 14996000, "ShsRatio": 0.0145 }, { "Rank": 9, "HldrName": "HSBC HONG KONG-TREASURY SERVICES A/C ASIAN EQUITIES DERIVATIVES(常任代理人 香港上海銀行東京支店)", "HldrAddr": "1 QUEEN’S ROAD CENTRAL,HONG KONG(東京都中央区日本橋3丁目11-1)", "ShsHeld": 14484000, "ShsRatio": 0.014 }, { "Rank": 10, "HldrName": "J.P. MORGAN BANK LUXEMBOURG S.A. 384513(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "EUROPEAN BANK AND BUSINESS CENTER 6, ROUTE DE TREVES, L-2633 SENNINGERBERG, LUXEMBOURG(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 14035000, "ShsRatio": 0.0136 } ] }, { "DocId": "S100XBRL", "Code": "86970", "EdinetCode": "E03814", "FilerName": "株式会社日本取引所グループ", "FilerNameEn": "Japan Exchange Group, Inc.", "DocTypeCode": "160", "SubDate": "2025-11-14", "SubTime": "15:00:00", "PerSt": "2025-04-01", "PerEn": "2026-03-31", "CurPerSt": "2025-04-01", "CurPerEn": "2025-09-30", "Hldrs": [ { "Rank": 1, "HldrName": "日本マスタートラスト信託銀行株式会社(信託口)", "HldrAddr": "東京都港区赤坂1丁目8番1号 赤坂インターシティAIR", "ShsHeld": 176520000, "ShsRatio": 0.1711 } ] } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-bars-daily-am # 前場四本値(/equities/bars/daily/am) `GET` /v2/equities/bars/daily/am ## APIの概要 前場終了時に、前場の株価データを取得することができます。 ### 本APIの留意点 > **Info** > > - 前場の取引高が存在しない(売買されていない)銘柄についての四本値、取引高と売買代金は、`null` が収録されています。 > - 東証上場銘柄でない銘柄(地方取引所単独上場銘柄)についてはデータの収録対象外となっております。 > - なお、当日のデータは翌日6:00頃まで取得可能です。ヒストリカルの前場四本値については > [株価四本値(/equities/bars/daily)](https://jpx-jquants.com/ja/spec/eq-bars-daily) > をご利用ください。 ## 前場の株価データを取得します `GET` `https://api.jquants.com/v2/equities/bars/daily/am` データの取得では、銘柄コード(`code`)が指定できます。 ### パラメータ及びレスポンス データの取得では、銘柄コード(`code`)の指定が可能です。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓ → 指定された銘柄についての前場の株価データ - code: – → 全上場銘柄について前場の株価データ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 27800 or 2780) 4桁の銘柄コードを指定した場合は、普通株式と優先株式の両方が上場している銘柄においては普通株式のデータのみが取得されます。 | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/equities/bars/daily/am **cURL** ```bash curl -G https://api.jquants.com/v2/equities/bars/daily/am \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/bars/daily/am', { params: { code: '{{code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/bars/daily/am", params={"code": "{{code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | -------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | Code | string | Required | 銘柄コード | | MO | number | Required | 前場始値 | | MH | number | Required | 前場高値 | | ML | number | Required | 前場安値 | | MC | number | Required | 前場終値 | | MVo | number | Required | 前場売買高 | | MVa | number | Required | 前場取引代金 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-20", "Code": "39400", "MO": 232.0, "MH": 244.0, "ML": 232.0, "MC": 240.0, "MVo": 52600.0, "MVa": 12518800.0 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-bars-daily/adj # 調整済み株価の計算方法 > **Note** > > ファイルダウンロードで取得できる株価データには、調整済み株価の値が収録されていません。 > APIによるデータ取得ではなく、ファイルを取得する場合、提供する調整係数から調整済み株価をご自身で算出するための手順です。 調整前の株価(`O/H/L/C/Vo`)に加えて、 株式分割・併合を反映するための**調整係数** `AdjFactor` が含まれます(例:**株式分割 1:2 の場合、権利落ち日に** `AdjFactor = 0.5`)。 このページでは、APIが返す `AdjFactor` を使って **自分で調整済み株価(調整後終値など)を計算する手順**を、表計算ユーザー向けに説明します。 ## 前提(ここで作る「調整済み」の意味) - **目的**: 株式分割・株式併合・ライツイシューによる株価の段差(見かけのギャップ)をならし、時系列比較しやすくする - **対象**: 本APIの株価調整は **株式分割・株式併合・ライツイシュー**(外株およびTOKYO PRO MARKET上場銘柄のライツイシュー、配当など一部コーポレートアクションは対象外) ## 計算の考え方 `AdjFactor` は「その日が権利落ち日(分割・併合等の効力発生日)のときに入る係数」です。 過去日付の株価を調整するには、**未来側(より新しい日付)に出てきた** `AdjFactor` **を累積(掛け算)していく**必要があります。 つまり、日付が古いほど「その後に起きた分割・併合等」の影響を多く受けるので、\*\*累積調整係数(ここでは `CumAdj`)\*\*を作ってから価格に掛けます。 ## 表計算ソフトでの手順(テーブル例つき) ### 1) ダウンロードしたファイルから必要な列を準備する 最低限、次の列があれば計算できます。 - `Date`(日付) - `C`(終値・調整前)※他の `O/H/L` も同様 - `Vo`(出来高・調整前)※出来高も調整したい場合 - `AdjFactor`(調整係数) ### 2) 日付を「新しい順(降順)」に並べ替える **ここが一番のポイント**です。`CumAdj` を「上から下へ」計算できるように、`Date` を **降順** にします。 ### 3) 累積調整係数 `CumAdj` を作る まず表計算ソフトに、次のような表を作ります(例は分割 1:2 が途中で1回だけ起きるケース)。 | 行 | A:Date | B:C(調整前) | C:Vo(調整前) | D:AdjFactor | E:CumAdj(累積) | F:AdjC(自分で計算) | G:AdjVo(自分で計算) | | -: | :--------- | -------: | --------: | ----------: | -----------: | ------------: | -------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | | | | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | | | | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | | | | ここでの `CumAdj` は「**その行より新しい日付にある `AdjFactor` を全部掛け合わせた値**」にします。 (権利落ち日の `AdjFactor` は、\*\*その日より前(古い日付)\*\*に効かせたいので、**1行下(古い行)に効く**イメージです) #### セル式(例) - **E2(最新日)**: `1` - **E3以降**(下へコピー): 「1つ上(より新しい日付)の `CumAdj`」×「1つ上の `AdjFactor`」 - `E3` に入れる式: `=E2*D2` - これを最終行までコピー この例だと、権利落ち日 `2024-01-11` の `AdjFactor=0.5` が、1つ古い `2024-01-10` の `CumAdj` に反映され、`0.5` になります。 | 行 | A:Date | B:C(調整前) | C:Vo(調整前) | D:AdjFactor | E:CumAdj(累積) | F:AdjC(自分で計算) | G:AdjVo(自分で計算) | | -: | :--------- | -------: | --------: | ----------: | -----------: | ------------: | -------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | 1.0 | | | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | 1.0 | | | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | 0.5 | | | ### 4) 調整済み終値(例:AdjC)を計算する 価格(`O/H/L/C`)は、**調整前価格 × CumAdj** で計算します。 - `F2`(下へコピー): - `=B2*E2` | 行 | A:Date | B:C(調整前) | C:Vo(調整前) | D:AdjFactor | E:CumAdj(累積) | F:AdjC(自分で計算) | G:AdjVo(自分で計算) | | -: | :--------- | -------: | --------: | ----------: | -----------: | ------------: | -------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | 1.0 | 500.00 | | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | 1.0 | 480.00 | | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | 0.5 | 490.00 | | ### 5) 調整済み出来高(例:AdjVo)を計算する(必要な場合) 出来高は価格と逆で、分割 1:2 の場合に過去の出来高を2倍にして連続性を持たせるため、**調整前出来高 ÷ CumAdj** で計算します。 - `G2`(下へコピー): - `=C2/E2` ※ `CumAdj` が 0 のケースは通常ありませんが、念のためExcelでは `=IF(E2=0,"",C2/E2)` のようにしてもOKです。 | 行 | A:Date | B:C(調整前) | C:Vo(調整前) | D:AdjFactor | E:CumAdj(累積) | F:AdjC(自分で計算) | G:AdjVo(自分で計算) | | -: | :--------- | -------: | --------: | ----------: | -----------: | ------------: | -------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | 1.0 | 500.00 | 1,200,000 | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | 1.0 | 480.00 | 2,400,000 | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | 0.5 | 490.00 | 2,200,000 | --- Source: https://jpx-jquants.com/ja/spec/eq-bars-daily # 株価四本値(/equities/bars/daily) `GET` /v2/equities/bars/daily ## APIの概要 株価データを取得することができます。\ 株価は分割・併合等を考慮した調整済み株価(小数点第2位四捨五入)と調整前の株価を取得することができます。 > **Warning** > > **時価総額(`MktCap`)は本APIから削除予定です。**\ > 今後は[バリュエーション指標API](https://jpx-jquants.com/ja/spec/eq-valuation)の `MktCap` をご利用ください。同APIの時価総額は自己株式を控除した株式数を用いており、自己株式を含む株式数を用いる本APIの時価総額とは値が一致しない場合があります。\ > 削除の時期は決まり次第、本ページと[リリースノート](https://jpx-jquants.com/ja/spec/release)でご案内します。 ### 本APIの留意点 > **Info** > > - 取引が存在しない日の銘柄についての四本値、取引高と売買代金は、Nullが収録されています。 > - 東証上場銘柄でない銘柄(地方取引所単独上場銘柄)についてはデータの収録対象外となっております。 > - 上場廃止銘柄についても、上場していた期間内の日付・期間を指定すれば取得可能です。 > - 2020/10/1のデータは東京証券取引所の株式売買システムの障害により終日売買停止となった関係で、四本値、取引高と売買代金はNullが収録されています。 > - 日通しデータについては全プランで取得できますが、前場/後場別のデータについてはPremiumプランのみ取得可能です。 > - Premiumプラン以外のプランでは、前場/後場別のデータ項目はNullで返却されるのではなく、キー自体がレスポンスに含まれません。 > - 株価調整については株式分割・株式併合・ライツイシューに対応しております。その他一部コーポレートアクションには対応しておりませんので、ご了承ください。 > - ライツイシューでは取引高(`Vo`/`AdjVo` 等)は調整されません。 > - 外国株(外株)および TOKYO PRO MARKET 上場銘柄のライツイシューは、株価調整の対象外です(`AdjFactor = 1`)。 ## 日次の株価データを取得します `GET` `https://api.jquants.com/v2/equities/bars/daily` データの取得では、銘柄コード(code)または日付(date)の指定が必須となります。 ### パラメータ及びレスポンス データの取得では、銘柄コード(code)または日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, from /to: – → 指定された銘柄について全期間分のデータ - code: ✓, date: ✓, from /to: – → 指定された銘柄について指定された日付のデータ - code: ✓, date: –, from /to: ✓ → 指定された銘柄について指定された期間分のデータ - code: –, date: ✓, from /to: – → 全上場銘柄について指定された日付のデータ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 27800 or 2780) 4桁の銘柄コードを指定した場合は、普通株式と優先株式等の両方が上場している銘柄においては普通株式のデータのみが取得されます。 | | date | string | Optional | from と to を指定しないとき(e.g. 20210907 or 2021-09-07) | | from | string | Optional | fromの指定(e.g. 20210901 or 2021-09-01) | | to | string | Optional | to の指定(e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/equities/bars/daily **cURL** ```bash curl -G https://api.jquants.com/v2/equities/bars/daily \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/bars/daily', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/bars/daily", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------------------------------------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | Code | string | Required | 銘柄コード | | O | number | Required | 始値(調整前) | | H | number | Required | 高値(調整前) | | L | number | Required | 安値(調整前) | | C | number | Required | 終値(調整前) | | UL | string | Required | 日通ストップ高フラグ(0:ストップ高以外, 1:ストップ高) | | LL | string | Required | 日通ストップ安フラグ(0:ストップ安以外, 1:ストップ安) | | Vo | number | Required | 取引高(調整前) | | Va | number | Required | 取引代金 | | AdjFactor | number | Required | 調整係数(株式分割1:2の場合、権利落ち日に 0.5 が入る。) | | AdjO | number | Required | 調整済み始値(※1) | | AdjH | number | Required | 調整済み高値(※1) | | AdjL | number | Required | 調整済み安値(※1) | | AdjC | number | Required | 調整済み終値(※1) | | AdjVo | number | Required | 調整済み取引高(※1) | | MO | number | Required | 前場始値(※2) | | MH | number | Required | 前場高値(※2) | | ML | number | Required | 前場安値(※2) | | MC | number | Required | 前場終値(※2) | | MUL | string | Required | 前場ストップ高フラグ(0:ストップ高以外, 1:ストップ高),(※2) | | MLL | string | Required | 前場ストップ安フラグ(0:ストップ安以外, 1:ストップ安),(※2) | | MVo | number | Required | 前場売買高(※2) | | MVa | number | Required | 前場取引代金(※2) | | MAdjO | number | Required | 調整済み前場始値(※1, ※2) | | MAdjH | number | Required | 調整済み前場高値(※1, ※2) | | MAdjL | number | Required | 調整済み前場安値(※1, ※2) | | MAdjC | number | Required | 調整済み前場終値(※1, ※2) | | MAdjVo | number | Required | 調整済み前場売買高(※1, ※2) | | AO | number | Required | 後場始値(※2) | | AH | number | Required | 後場高値(※2) | | AL | number | Required | 後場安値(※2) | | AC | number | Required | 後場終値(※2) | | AUL | string | Required | 後場ストップ高フラグ(0:ストップ高以外, 1:ストップ高),(※2) | | ALL | string | Required | 後場ストップ安フラグ(0:ストップ安以外, 1:ストップ安),(※2) | | AVo | number | Required | 後場売買高(※2) | | AVa | number | Required | 後場取引代金(※2) | | AAdjO | number | Required | 調整済み後場始値(※1, ※2) | | AAdjH | number | Required | 調整済み後場高値(※1, ※2) | | AAdjL | number | Required | 調整済み後場安値(※1, ※2) | | AAdjC | number | Required | 調整済み後場終値(※1, ※2) | | AAdjVo | number | Required | 調整済み後場売買高(※1, ※2) | | MktCap | number | Required | 時価総額(百万円)(※3) | | ExRT | string | Required | 権利落種類(1:株式分割, 2:株式併合, 3:ライツイシュー。株式無償割当は「1:株式分割」に含む)(※4) | ※1 過去の分割等を考慮した調整済みの項目です\ ※2 Premiumプランのみ取得可能な項目です(Premiumプラン以外のプランでは、キー自体がレスポンスに含まれません)\ ※3 時価総額 = 終値(調整前)× 上場株式数で算出し、百万円単位(百万円未満を四捨五入)で収録しています。\ ・時価総額は、分割・併合等のコーポレートアクションにも対応しております。\ ・ETF・ETN等はNullとなります。\ ・取引が存在しない日はNullとなります。\ ※4 権利落ち日に該当するコーポレートアクションが無い日はNullが収録されます。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-24", "Code": "86970", "O": 2047.0, "H": 2069.0, "L": 2035.0, "C": 2045.0, "UL": "0", "LL": "0", "Vo": 2202500.0, "Va": 4507051850.0, "AdjFactor": 1.0, "AdjO": 2047.0, "AdjH": 2069.0, "AdjL": 2035.0, "AdjC": 2045.0, "AdjVo": 2202500.0, "MO": 2047.0, "MH": 2069.0, "ML": 2040.0, "MC": 2045.5, "MUL": "0", "MLL": "0", "MVo": 1121200.0, "MVa": 2297525850.0, "MAdjO": 2047.0, "MAdjH": 2069.0, "MAdjL": 2040.0, "MAdjC": 2045.5, "MAdjVo": 1121200.0, "AO": 2047.0, "AH": 2047.0, "AL": 2035.0, "AC": 2045.0, "AUL": "0", "ALL": "0", "AVo": 1081300.0, "AVa": 2209526000.0, "AAdjO": 2047.0, "AAdjH": 2047.0, "AAdjL": 2035.0, "AAdjC": 2045.0, "AAdjVo": 1081300.0, "MktCap": 1083850.0, "ExRT": null } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-bars-minute # 株価分足(/equities/bars/minute) `GET` /v2/equities/bars/minute ## APIの概要 分足の株価データを取得することができます。\ 1分単位の四本値(始値・高値・安値・終値)、出来高、売買代金のデータを提供します。 ### 本APIの留意点 > **Info** > > - 東証上場銘柄でない銘柄(地方取引所単独上場銘柄)についてはデータの収録対象外となっております。 > - データ取得可能期間は過去2年間です。 > - 当APIは取引のティックデータを1分単位で集約したデータを提供しており、その1分間に取引が存在しない時間帯のデータは返却値に含まれません。 ## 分足の株価データを取得します `GET` `https://api.jquants.com/v2/equities/bars/minute` データの取得では、銘柄コード(code)または日付(date)の指定が必須となります。 ### パラメータ及びレスポンス データの取得では、銘柄コード(code)または日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, from /to: – → 指定された銘柄について全期間分のデータ - code: ✓, date: ✓, from /to: – → 指定された銘柄について指定された日付のデータ - code: ✓, date: –, from /to: ✓ → 指定された銘柄について指定された期間分のデータ - code: –, date: ✓, from /to: – → 全上場銘柄について指定された日付のデータ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 27800 or 2780) 4桁の銘柄コードを指定した場合は、普通株式と優先株式等の両方が上場している銘柄においては普通株式のデータのみが取得されます。 | | date | string | Optional | from と to を指定しないとき(e.g. 20210907 or 2021-09-07) | | from | string | Optional | fromの指定(e.g. 20210901 or 2021-09-01) | | to | string | Optional | to の指定(e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/equities/bars/minute **cURL** ```bash curl -G https://api.jquants.com/v2/equities/bars/minute \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/bars/minute', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/bars/minute", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | -------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | Time | string | Required | 時刻(HH:mm) | | Code | string | Required | 銘柄コード | | O | number | Required | 始値 | | H | number | Required | 高値 | | L | number | Required | 安値 | | C | number | Required | 終値 | | Vo | number | Required | 出来高 | | Va | number | Required | 売買代金 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-24", "Time": "09:00", "Code": "86970", "O": 2047.0, "H": 2055.0, "L": 2045.0, "C": 2050.0, "Vo": 12500.0, "Va": 25625000.0 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-earnings-cal # 決算発表予定日(3・9月期決算会社のみ)(/equities/earnings-calendar) `GET` /v2/equities/earnings-calendar ## APIの概要 3月期・9月期決算の会社の決算発表予定日を取得できます。(その他の決算期の会社は今後対応予定です) ## 本APIの留意点 > **Info** > > - 下記のサイトで、3月期・9月期決算会社分に更新があった場合のみ19時ごろに更新されます。3月期・9月期決算会社についての更新がなかった場合は、最終更新日時点のデータを提供します。\ > [https://www.jpx.co.jp/listing/event-schedules/financial-announcement/index.html](https://www.jpx.co.jp/listing/event-schedules/financial-announcement/index.html) > - 本APIは翌営業日に決算発表が行われる銘柄に関する情報を返します。 > - 本APIから得られたデータにおいてDateの項目が翌営業日付であるレコードが存在しない場合は、3月期・9月期決算会社における翌営業日の開示予定はないことを意味します。 > - REITのデータは含まれません。 > - 全上場銘柄(REIT等を含む)の発表予定日や公表履歴が必要な場合は、[決算発表予定日](https://jpx-jquants.com/ja/spec/fin-earnings-date)APIをご利用ください。 ## 決算発表予定日の銘柄コード、年度、 四半期等の照会をします。 `GET` `https://api.jquants.com/v2/equities/earnings-calendar` ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------- | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/equities/earnings-calendar **cURL** ```bash curl -G https://api.jquants.com/v2/equities/earnings-calendar \ -H "x-api-key: {{apiKey}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/equities/earnings-calendar") ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/earnings-calendar", headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------------------- | | Date | string | Required | 日付(YYYY-MM-DD) 決算発表予定日が未定の場合、空文字("")となります。 | | Code | string | Required | 銘柄コード | | CoName | string | Required | 会社名 | | FY | string | Required | 決算期末 | | SectorNm | string | Required | 業種名 | | FQ | string | Required | 決算種別 | | Section | string | Required | 市場区分 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2022-02-14", "Code": "43760", "CoName": "くふうカンパニー", "FY": "9月30日", "SectorNm": "情報・通信業", "FQ": "第1四半期", "Section": "マザーズ" } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-investor-types # 投資部門別情報(/equities/investor-types) `GET` /v2/equities/investor-types ## APIの概要 投資部門別売買状況(株式・金額)のデータを取得することができます。\ 配信データは下記のページで公表している内容と同一です。データの単位は千円です。\ [https://www.jpx.co.jp/markets/statistics-equities/investor-type/index.html](https://www.jpx.co.jp/markets/statistics-equities/investor-type/index.html) ### 本APIの留意点 > **Info** > > - 2022年4月4日に行われた市場区分見直しに伴い、市場区分に応じた内容となっている統計資料は、見直し後の市場区分に変更して掲載しています。 > - 過誤訂正により過去の投資部門別売買状況データが訂正された場合は、本APIでは以下のとおりデータを提供します。 > - 2023年4月3日以前に訂正が公表された過誤訂正:訂正前のデータは提供せず、訂正後のデータのみ提供します。 > - 2023年4月3日以降に訂正が公表された過誤訂正:訂正前と訂正後のデータのいずれも提供します。訂正が生じた場合には、市場名、開始日および終了日を同一とするレコードが追加され、公表日が新しいデータが訂正後、公表日が古いデータが訂正前のデータと識別することが可能です。 > - 過誤訂正により過去の投資部門別売買状況データが訂正された場合は、過誤訂正が公表された翌営業日にデータが更新されます。 ## 投資部門別売買状況のデータを取得します `GET` `https://api.jquants.com/v2/equities/investor-types` データの取得では、市場(`section`)または公表日の日付(`from` / `to`)が指定できます。 ### パラメータ及びレスポンス データの取得では、セクション(`section`)または日付(`from` / `to`)の指定が可能です。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - section: ✓, from /to: ✓ → 指定したセクションの指定した期間のデータ - section: ✓, from /to: – → 指定したセクションの全期間のデータ - section: –, from /to: ✓ → すべてのセクションの指定した期間のデータ - section: –, from /to: – → すべてのセクションの全期間のデータ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------- | | section | string | Optional | セクション(e.g. TSEPrime) 指定可能な値の一覧は[こちら](https://jpx-jquants.com/ja/spec/eq-investor-types/section)をご確認ください。 | | from | string | Optional | fromの指定(e.g. 20210901 or 2021-09-01) | | to | string | Optional | toの指定(e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/equities/investor-types **cURL** ```bash curl -G https://api.jquants.com/v2/equities/investor-types \ -H "x-api-key: {{apiKey}}" \ -d section="{{section}}" \ -d from="{{from}}" \ -d to="{{to}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/investor-types', { params: { section: '{{section}}', from: '{{from}}', to: '{{to}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/investor-types", params={"section": "{{section}}", "from": "{{from}}", "to": "{{to}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ------------------------------------------------- | | PubDate | string | Required | 公表日(YYYY-MM-DD) | | StDate | string | Required | 開始日(YYYY-MM-DD) | | EnDate | string | Required | 終了日(YYYY-MM-DD) | | Section | string | Required | 市場名([市場名](https://jpx-jquants.com/ja/spec/eq-investor-types/section)を参照) | | PropSell | number | Required | 自己計\_売 | | PropBuy | number | Required | 自己計\_買 | | PropTot | number | Required | 自己計\_合計 | | PropBal | number | Required | 自己計\_差引 | | BrkSell | number | Required | 委託計\_売 | | BrkBuy | number | Required | 委託計\_買 | | BrkTot | number | Required | 委託計\_合計 | | BrkBal | number | Required | 委託計\_差引 | | TotSell | number | Required | 総計\_売 | | TotBuy | number | Required | 総計\_買 | | TotTot | number | Required | 総計\_合計 | | TotBal | number | Required | 総計\_差引 | | IndSell | number | Required | 個人\_売 | | IndBuy | number | Required | 個人\_買 | | IndTot | number | Required | 個人\_合計 | | IndBal | number | Required | 個人\_差引 | | FrgnSell | number | Required | 海外投資家\_売 | | FrgnBuy | number | Required | 海外投資家\_買 | | FrgnTot | number | Required | 海外投資家\_合計 | | FrgnBal | number | Required | 海外投資家\_差引 | | SecCoSell | number | Required | 証券会社\_売 | | SecCoBuy | number | Required | 証券会社\_買 | | SecCoTot | number | Required | 証券会社\_合計 | | SecCoBal | number | Required | 証券会社\_差引 | | InvTrSell | number | Required | 投資信託\_売 | | InvTrBuy | number | Required | 投資信託\_買 | | InvTrTot | number | Required | 投資信託\_合計 | | InvTrBal | number | Required | 投資信託\_差引 | | BusCoSell | number | Required | 事業法人\_売 | | BusCoBuy | number | Required | 事業法人\_買 | | BusCoTot | number | Required | 事業法人\_合計 | | BusCoBal | number | Required | 事業法人\_差引 | | OthCoSell | number | Required | その他法人\_売 | | OthCoBuy | number | Required | その他法人\_買 | | OthCoTot | number | Required | その他法人\_合計 | | OthCoBal | number | Required | その他法人\_差引 | | InsCoSell | number | Required | 生保・損保\_売 | | InsCoBuy | number | Required | 生保・損保\_買 | | InsCoTot | number | Required | 生保・損保\_合計 | | InsCoBal | number | Required | 生保・損保\_差引 | | BankSell | number | Required | 都銀・地銀等\_売 | | BankBuy | number | Required | 都銀・地銀等\_買 | | BankTot | number | Required | 都銀・地銀等\_合計 | | BankBal | number | Required | 都銀・地銀等\_差引 | | TrstBnkSell | number | Required | 信託銀行\_売 | | TrstBnkBuy | number | Required | 信託銀行\_買 | | TrstBnkTot | number | Required | 信託銀行\_合計 | | TrstBnkBal | number | Required | 信託銀行\_差引 | | OthFinSell | number | Required | その他金融機関\_売 | | OthFinBuy | number | Required | その他金融機関\_買 | | OthFinTot | number | Required | その他金融機関\_合計 | | OthFinBal | number | Required | その他金融機関\_差引 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "PubDate": "2017-01-13", "StDate": "2017-01-04", "EnDate": "2017-01-06", "Section": "TSE1st", "PropSell": 1311271004, "PropBuy": 1453326508, "PropTot": 2764597512, "PropBal": 142055504, "BrkSell": 7165529005, "BrkBuy": 7030019854, "BrkTot": 14195548859, "BrkBal": -135509151, "TotSell": 8476800009, "TotBuy": 8483346362, "TotTot": 16960146371, "TotBal": 6546353, "IndSell": 1401711615, "IndBuy": 1161801155, "IndTot": 2563512770, "IndBal": -239910460, "FrgnSell": 5094891735, "FrgnBuy": 5317151774, "FrgnTot": 10412043509, "FrgnBal": 222260039, "SecCoSell": 76381455, "SecCoBuy": 61700100, "SecCoTot": 138081555, "SecCoBal": -14681355, "InvTrSell": 168705109, "InvTrBuy": 124389642, "InvTrTot": 293094751, "InvTrBal": -44315467, "BusCoSell": 71217959, "BusCoBuy": 63526641, "BusCoTot": 134744600, "BusCoBal": -7691318, "OthCoSell": 10745152, "OthCoBuy": 15687836, "OthCoTot": 26432988, "OthCoBal": 4942684, "InsCoSell": 15926202, "InsCoBuy": 9831555, "InsCoTot": 25757757, "InsCoBal": -6094647, "BankSell": 10606789, "BankBuy": 8843871, "BankTot": 19450660, "BankBal": -1762918, "TrstBnkSell": 292932297, "TrstBnkBuy": 245322795, "TrstBnkTot": 538255092, "TrstBnkBal": -47609502, "OthFinSell": 22410692, "OthFinBuy": 21764485, "OthFinTot": 44175177, "OthFinBal": -646207 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-investor-types/section # 市場名 | 項目 | 値 | | ------- | ----------- | | 市場一部 | TSE1st | | 市場二部 | TSE2nd | | マザーズ | TSEMothers | | JASDAQ | TSEJASDAQ | | プライム | TSEPrime | | スタンダード | TSEStandard | | グロース | TSEGrowth | | 東証および名証 | TokyoNagoya | --- Source: https://jpx-jquants.com/ja/spec/eq-master/marketcode # 市場区分コード及び市場区分名 | コード | 名称 | | ---- | ---------------- | | 0101 | 東証一部 | | 0102 | 東証二部 | | 0104 | マザーズ | | 0105 | TOKYO PRO MARKET | | 0106 | JASDAQ スタンダード | | 0107 | JASDAQ グロース | | 0109 | その他 | | 0111 | プライム | | 0112 | スタンダード | | 0113 | グロース | --- Source: https://jpx-jquants.com/ja/spec/eq-master # 上場銘柄一覧(/equities/master) `GET` /v2/equities/master ## APIの概要 過去時点での銘柄情報、当日の銘柄情報および翌営業日時点の銘柄情報が取得可能です。\ ただし、翌営業日時点の銘柄情報については17 時半以降に取得可能となります。 ### 本APIの留意点 > **Info** > > - 過去日付の指定について、Premiumプランでデータ提供開始日(2008年5月7日)より過去日付を指定した場合であっても、2008年5月7日時点の銘柄情報を返却します。 > - 指定された日付が休業日の場合は、指定日の翌営業日の銘柄情報を返却します。 > **Note** > > 2022年4月の東証市場区分再編により、日本銀行(銘柄コード83010)および信金中央金庫(銘柄コード84210)については、制度上所属する市場区分が存在しなくなりましたが、J-Quants では市場区分をスタンダードとして返却します。 ### 上場廃止銘柄の取扱い > **Info** > > - 過去の日付を `date` に指定した場合、その時点で上場していた銘柄の情報を取得できます。現在すでに上場廃止となっている銘柄も、上場していた時点の日付を指定すれば取得可能です。 > - 上場廃止後の日付を指定して `code` を直接指定した場合、レスポンスは空になります。 > - 上場日・上場廃止日の項目は提供していません。 > - 上場廃止銘柄の一覧は提供していません。 ### コード変更・社名変更・市場区分変更の履歴 > **Note** > > 銘柄コード・社名・市場区分などの変更履歴や新旧の対応表は提供していません。日付を指定して取得した日次スナップショットの差分により、変更内容をご確認ください。 ## 日次の銘柄情報を取得します `GET` `https://api.jquants.com/v2/equities/master` データの取得では、銘柄コード(code)または日付(date)の指定が可能です。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: –, date: – → APIを実行した日付時点における全銘柄情報一覧(※1) - code: ✓, date: – → APIを実行した日付時点における指定された銘柄情報(※1) - code: –, date: ✓ → 指定日付時点における全銘柄情報の一覧(※2) - code: ✓, date: ✓ → 指定日付時点における指定された銘柄情報(※2) ※1 休業日において日付を指定せずにクエリした場合、直近の翌営業日における銘柄情報一覧を返却します。\ ※2 未来日付の指定について、Light プラン以上では翌営業日時点のデータが取得可能です。翌営業日より先の未来日付を指定した場合であっても、翌営業日時点の銘柄情報を返却します。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------- | ------ | -------- | --------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 27890 or 2789) 4桁の銘柄コードを指定した場合は、普通株式と優先株式の両方が上場している銘柄においては普通株式のデータのみが取得されます。 | | date | string | Optional | 基準となる日付の指定(e.g. 20210907 or 2021-09-07) | ### APIコールサンプルコード /v2/equities/master **cURL** ```bash curl -G https://api.jquants.com/v2/equities/master \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/master', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/master", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------------------------------------- | | Date | string | Required | 情報適用年月日(YYYY-MM-DD) | | Code | string | Required | 銘柄コード | | CoName | string | Required | 会社名 | | CoNameEn | string | Required | 会社名(英語) | | S17 | string | Required | 17業種コード([17業種コード及び業種名](https://jpx-jquants.com/ja/spec/eq-master/sector17code)を参照) | | S17Nm | string | Required | 17業種コード名([17業種コード及び業種名](https://jpx-jquants.com/ja/spec/eq-master/sector17code)を参照) | | S33 | string | Required | 33業種コード([33業種コード及び業種名](https://jpx-jquants.com/ja/spec/eq-master/sector33code)を参照) | | S33Nm | string | Required | 33業種コード名([33業種コード及び業種名](https://jpx-jquants.com/ja/spec/eq-master/sector33code)を参照) | | ScaleCat | string | Required | 規模コード | | Mkt | string | Required | 市場区分コード([市場区分コード及び市場区分](https://jpx-jquants.com/ja/spec/eq-master/marketcode)を参照) | | MktNm | string | Required | 市場区分名([市場区分コード及び市場区分](https://jpx-jquants.com/ja/spec/eq-master/marketcode)を参照) | | Mrgn | string | Required | 貸借信用区分(1: 信用 / 2: 貸借 / 3: その他) | | MrgnNm | string | Required | 貸借信用区分名 | | ProdCat | string | Required | 商品区分コード([商品区分コード及び商品区分名](https://jpx-jquants.com/ja/spec/eq-master/product-category)を参照) | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2022-11-11", "Code": "86970", "CoName": "日本取引所グループ", "CoNameEn": "Japan Exchange Group,Inc.", "S17": "16", "S17Nm": "金融(除く銀行)", "S33": "7200", "S33Nm": "その他金融業", "ScaleCat": "TOPIX Large70", "Mkt": "0111", "MktNm": "プライム", "Mrgn": "1", "MrgnNm": "信用", "ProdCat": "011" } ] } ``` --- Source: https://jpx-jquants.com/ja/spec/eq-master/product-category # 商品区分コード及び商品区分名 | コード | 名称 | | --- | ------- | | 011 | 内国株券 | | 012 | 優先出資証券 | | 013 | REIT | | 014 | ETF | | 021 | 外国株券 | | 022 | 外国REIT | | 023 | 外国ETF | | 024 | 外国株預託証券 | --- Source: https://jpx-jquants.com/ja/spec/eq-master/sector17code # 17業種コード及び業種名 | コード | 名称 | | --- | ------------ | | 1 | 食品 | | 2 | エネルギー資源 | | 3 | 建設・資材 | | 4 | 素材・化学 | | 5 | 医薬品 | | 6 | 自動車・輸送機 | | 7 | 鉄鋼・非鉄 | | 8 | 機械 | | 9 | 電機・精密 | | 10 | 情報通信・サービスその他 | | 11 | 電気・ガス | | 12 | 運輸・物流 | | 13 | 商社・卸売 | | 14 | 小売 | | 15 | 銀行 | | 16 | 金融(除く銀行) | | 17 | 不動産 | | 99 | その他 | --- Source: https://jpx-jquants.com/ja/spec/eq-master/sector33code # 33業種コード及び業種名 | コード | 名称 | | ---- | ---------- | | 0050 | 水産・農林業 | | 1050 | 鉱業 | | 2050 | 建設業 | | 3050 | 食料品 | | 3100 | 繊維製品 | | 3150 | パルプ・紙 | | 3200 | 化学 | | 3250 | 医薬品 | | 3300 | 石油・石炭製品 | | 3350 | ゴム製品 | | 3400 | ガラス・土石製品 | | 3450 | 鉄鋼 | | 3500 | 非鉄金属 | | 3550 | 金属製品 | | 3600 | 機械 | | 3650 | 電気機器 | | 3700 | 輸送用機器 | | 3750 | 精密機器 | | 3800 | その他製品 | | 4050 | 電気・ガス業 | | 5050 | 陸運業 | | 5100 | 海運業 | | 5150 | 空運業 | | 5200 | 倉庫・運輸関連業 | | 5250 | 情報・通信業 | | 6050 | 卸売業 | | 6100 | 小売業 | | 7050 | 銀行業 | | 7100 | 証券・商品先物取引業 | | 7150 | 保険業 | | 7200 | その他金融業 | | 8050 | 不動産業 | | 9050 | サービス業 | | 9999 | その他 | --- Source: https://jpx-jquants.com/ja/spec/eq-trades # 株価ティック(/equities/trades) ## データの概要 ティックごとの約定データをCSV形式で提供します。\ 個別の取引(約定)の価格、出来高、タイムスタンプなどの詳細なデータを取得できます。 > **Note** > > 本データはCSV形式でのみ提供しており、API経由での取得はできません。\ > CSV形式でのダウンロードは[ダウンロード可能ファイル一覧API](https://jpx-jquants.com/ja/spec/bulk-list)および[ファイルダウンロード用URL取得API](https://jpx-jquants.com/ja/spec/bulk-get)をご利用ください。サインイン後の[Downloadページ](https://jpx-jquants.com/dashboard/downloads/price-data/stocks?filter=equities/trades)からも取得いただけます。 ### 本データの留意点 > **Info** > > - 東証上場銘柄でない銘柄(地方取引所単独上場銘柄)についてはデータの収録対象外となっております。 > - データ取得可能期間は過去2年間です。 ## データ項目 | Parameter | Type | Required | Description | | ------------------ | ------ | -------- | --------------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | Code | string | Required | 銘柄コード | | Time | string | Required | 約定時刻(HH:MM:SS.ffffff) | | SessionDistinction | string | Required | 取引区分(01: 前場, 02: 後場) | | Price | number | Required | 約定価格(円) | | TradingVolume | number | Required | 約定数量(株) | | TransactionId | string | Required | トランザクションID(各約定を一意に識別) | ## データサンプル ```csv Date,Code,Time,SessionDistinction,Price,TradingVolume,TransactionId 2025-12-01,13010,09:00:00.067558,01,4810,2200,000000000021 2025-12-01,13010,09:00:01.039337,01,4810,100,000000000036 2025-12-01,13010,09:00:01.049791,01,4810,4500,000000000038 ``` --- Source: https://jpx-jquants.com/ja/spec/eq-valuation/calc # 指標の算出方法 [バリュエーション指標API](https://jpx-jquants.com/ja/spec/eq-valuation)で提供する各指標の定義と算出の考え方を説明します。\ 各指標は、決算短信等の開示内容と株価をもとに当社が算出した値です。 > **Info** > > - 本ページは、各指標の基本的な**考え方**を示すものです。株式数の取り扱いや決算期変更時の処理など、詳細な算出仕様は公開していません。 > - 各指標は投資判断の参考情報として提供するものであり、特定の銘柄の売買を推奨するものではありません。 ## 算出の前提 ### TTM純利益(実績値の算出に用いる利益) EPS、ROEおよびPERの実績値は、直近12ヶ月(TTM:Trailing Twelve Months)の純利益をもとに算出します。\ 本ページでは、この直近12ヶ月の純利益の合計を **TTM純利益** と呼びます。\ 通期決算のみを用いる場合と比べ、四半期開示を反映することで、より直近の業績を捉えやすくなります。 ### 会社予想純利益(予想値の算出に用いる利益) 名称に `Fwd` を含む項目(FwdEPS、FwdROEおよびFwdPER)は、進行期について会社が公表した予想純利益をもとに算出します。 ### 株価(当日の終値) PER、FwdPER、PBRおよび時価総額の算出には、当日の終値を用います。\ 売買が成立しなかった日は、その日に適用される基準値段を用います。 ## 各指標の定義 ### EPS — 1株当たり利益(実績) 赤字の場合は、1株当たり損失を示す負の値をそのまま収録します。 ``` EPS = TTM純利益 / 株式数 ``` ### FwdEPS — 1株当たり利益(予想) 会社予想が公表されていない、または予想が取り下げられている場合はNullとなります。\ 赤字予想の場合は、1株当たり損失を示す負の値をそのまま収録します。 ``` FwdEPS = 会社予想純利益 / 株式数 ``` ### BPS — 1株当たり純資産 自己資本が負の場合は、1株当たり純資産を示す負の値をそのまま収録します。 ``` BPS = 直近四半期末の自己資本 / 株式数 ``` ### ROE — 自己資本利益率(実績) 分母となるTTM期間の期首および期末の自己資本の平均が0以下の場合はNullとなります。\ 分子が負(赤字)の場合は、負の値をそのまま収録します。 ``` ROE = TTM純利益 / TTM期間の期首および期末の自己資本の平均 ``` ### FwdROE — 自己資本利益率(予想) 会社予想が公表されていない、または予想が取り下げられている場合はNullとなります。\ 分母となる自己資本が0以下の場合もNullとなります。 ``` FwdROE = 会社予想純利益 / 直近四半期末の自己資本 ``` ### PER — 株価収益率(実績) EPSが0以下の場合はNullとなります。 ``` PER = 株価 / EPS ``` ### FwdPER — 株価収益率(予想) 会社予想が公表されていない、または予想が取り下げられている場合はNullとなります。\ FwdEPSが0以下の場合もNullとなります。 ``` FwdPER = 株価 / FwdEPS ``` ### PBR — 株価純資産倍率 BPSが0以下の場合はNullとなります。 ``` PBR = 株価 / BPS ``` ### 時価総額(MktCap) 時価総額の算出には、自己株式を控除した株式数を用います。このため、発行済株式数ベースや浮動株ベースの時価総額とは定義が異なります。 ``` 時価総額(百万円) = (株価 × 株式数) / 1,000,000 ``` ## 値がNullとなる場合 以下のいずれかに該当する場合、該当する項目にNullが収録されます。 - 算出に必要なデータが揃っていない場合(データ提供の開始当初、上場後間もない銘柄、決算期変更の移行期など) - 会社予想が公表されていない、または予想が取り下げられている場合(名称に `Fwd` を含む項目のみ) - 指標の算出対象外の銘柄である場合(ETF、ETN、優先出資証券など)。この場合もデータ行は返却されますが、すべての指標がNullとなります。 時価総額については指標の算出対象かどうかを判定しないため、他の指標がNullとなる銘柄(優先出資証券、REITなど)でも値が収録される場合があります。一方、株式数は決算短信の開示内容をもとに算出するため、ETF、ETN等や、新規上場後、最初の決算短信が開示される前の銘柄についてはNullとなります。 収録開始当初(おおむね2008年から2010年頃)は、算出に用いる株式数や財務情報が十分に揃っていないため、Nullとなる銘柄や項目が多くなります。 上記のほか、算出に必要なデータが揃っていても、比率としての意味が成立しない場合(赤字の場合や自己資本が0以下の場合など)はNullとなります。各指標の条件については、[各指標の定義](#各指標の定義)をご覧ください。 ## 他サービス等が提供する値との差異について 同じ名称の指標であっても、算出に用いる株式数の定義、対象とする開示の範囲、端数処理などの違いにより、他の情報源や他サービスが提供する値と一致しないことがあります。\ 本APIの値は、上記の考え方に基づき当社が算出しています。本APIの値をご利用の際は、上記の算出方針をご確認ください。 --- Source: https://jpx-jquants.com/ja/spec/eq-valuation # バリュエーション指標(/equities/valuation) `GET` /v2/equities/valuation ## APIの概要 決算短信の開示内容と株価から算出した、日次のバリュエーション指標と時価総額を取得できます。\ 実績値は直近12ヶ月(TTM:Trailing Twelve Months)の純利益をもとに、予想値は進行期の予想純利益をもとに算出します。 ### 本APIの留意点 > **Info** > > - 決算短信の開示内容は、開示時刻にかかわらず、原則として翌営業日のデータから反映されます。日次の更新時刻については、[提供データの更新タイミング](https://jpx-jquants.com/ja/spec/data-update)をご確認ください。 > - 株価には当日の終値を用います。売買が成立しなかった日は、その日に適用される基準値段を用いて算出します。 > - ROEおよびFwdROEは小数で収録しています(例:`0.2310`は23.1%を表します)。 > - 算出に必要なデータが揃わない場合は、該当項目にNullが収録されます(上場後間もない銘柄、決算期変更の移行期など)。算出に用いる株式数や財務情報が揃っていない収録開始当初(2008年から2010年頃)は、Nullとなる銘柄や項目が多くなります。 > - ETF、ETN、優先出資証券など算出対象外の銘柄についてもデータ行は返却されますが、すべての指標がNullとなります。時価総額は、他の指標の算出対象外である銘柄についても算出する場合があります。そのため、優先出資証券、REIT等では、すべての指標がNullでも時価総額に値が入る場合があります。ETF、ETN等は、決算短信の開示がなく株式数を算出できないため、時価総額もNullとなります。 > - REIT等への指標の対応は今後を予定しています(時価総額は現時点でも収録しています)。 > - 各指標の定義、実績値と予想値の違い、および値がNullとなる条件については、[指標の算出方法](https://jpx-jquants.com/ja/spec/eq-valuation/calc)をご覧ください。 ## 日次のバリュエーション指標データを取得します `GET` `https://api.jquants.com/v2/equities/valuation` データの取得では、銘柄コード(`code`)または日付(`date`)の指定が必須です。\ 各パラメータの組み合わせとレスポンスの結果は以下のとおりです。 - code: ✓, date: –, from /to: – → 指定された銘柄について全期間分のデータ - code: ✓, date: ✓, from /to: – → 指定された銘柄について指定された日付のデータ - code: ✓, date: –, from /to: ✓ → 指定された銘柄について指定された期間分のデータ - code: –, date: ✓, from /to: – → 全上場銘柄について指定された日付のデータ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(例:`27800`または`2780`) 4桁の銘柄コードを指定した場合、普通株式と優先株式等の両方が上場している銘柄については、普通株式のデータのみが取得されます。 | | date | string | Optional | 日付。`from`と`to`を指定しないときに使用します(例:`20260826`または`2026-08-26`)。 | | from | string | Optional | `from`の指定(例:`20260801`または`2026-08-01`) | | to | string | Optional | `to`の指定(例:`20260826`または`2026-08-26`) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/equities/valuation **cURL** ```bash curl -G https://api.jquants.com/v2/equities/valuation \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/valuation', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/valuation", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | --------------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | Code | string | Required | 銘柄コード(5桁) | | EPS | number | Required | 1株当たり利益(実績・円)(※1、※4) | | FwdEPS | number | Required | 1株当たり利益(予想・円)(※2、※4) | | BPS | number | Required | 1株当たり純資産(円)(※4、※6) | | ROE | number | Required | 自己資本利益率(実績・小数)(※1、※5) | | FwdROE | number | Required | 自己資本利益率(予想・小数)(※2、※5) | | PER | number | Required | 株価収益率(実績・倍)(※3、※4) | | FwdPER | number | Required | 株価収益率(予想・倍)(※3、※4) | | PBR | number | Required | 株価純資産倍率(倍)(※3、※4) | | MktCap | number | Required | 時価総額(百万円)(※3、※7) | ※1 直近12ヶ月(TTM)の純利益をもとに算出した実績値です。ROEの分母には、TTM期間の期首および期末の自己資本の平均を用います。\ ※2 進行期の予想純利益をもとに算出した予想値です。FwdROEの分母には、直近の決算短信等で開示された期末自己資本を用います。\ ※3 株価には当日の終値を用います。売買が成立しなかった日は、その日に適用される基準値段を用います。\ ※4 小数第3位を四捨五入した値を収録します。JSONのnumber型で返却されるため、末尾のゼロは省略される場合があります。\ ※5 小数第5位を四捨五入した値を収録します。パーセントではなく小数である点にご注意ください(例:`0.2310`は23.1%を表します)。JSONのnumber型で返却されるため、末尾のゼロは省略される場合があります。\ ※6 直近の決算短信等で開示された期末自己資本をもとに算出した値です。\ ※7 株価(※3)×株式数で算出し、百万円単位(百万円未満を四捨五入)で収録します。株式分割・併合等のコーポレートアクションにも対応しています。\ ・株式数には、自己株式を控除した株式数を用います。発行済株式数ベースや浮動株ベースの時価総額とは定義が異なります。\ ・株価四本値APIの時価総額(`MktCap`)は、自己株式を含む株式数と終値を用いて算出するため、本項目とは算出に用いる株式数の定義が異なり、値が一致しない場合があります。自己株式を保有する銘柄では、原則として、本項目の値が自己株式相当分だけ小さくなります。株価四本値APIの時価総額は削除予定のため、今後は本項目をご利用ください。\ ・株式数は決算短信の開示をもとに算出するため、ETF、ETN等や、新規上場後、最初の決算短信が開示される前の銘柄についてはNullとなります。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-24", "Code": "86970", "EPS": 89.4, "FwdEPS": 87.9, "BPS": 590.65, "ROE": 0.1534, "FwdROE": 0.1488, "PER": 22.88, "FwdPER": 23.26, "PBR": 3.46, "MktCap": 1077137.0 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/fin-details # 財務諸表(BS/PL/CF)(/fins/details) `GET` /v2/fins/details ## APIの概要 上場企業の四半期毎の財務情報における、貸借対照表、損益計算書、キャッシュ・フロー計算書に記載の項目を取得することができます。 ## 本APIの留意点 > **Info** > > - FinancialStatement(財務諸表の各種項目)について > - EDINET XBRLタクソノミ本体(label情報)を用いてコンテンツを作成しています。 > - FinancialStatementに含まれる冗長ラベル(英語)については、下記サイトよりご確認ください。\ > > [https://disclosure2dl.edinet-fsa.go.jp/guide/static/disclosure/WZEK0110.html](https://disclosure2dl.edinet-fsa.go.jp/guide/static/disclosure/WZEK0110.html) \ > > 年度別に公表されているEDINETタクソノミページに、「勘定科目リスト」(会計基準:日本基準)及び「国際会計基準タクソノミ要素リスト」(会計基準:IFRS) が掲載されています。会計基準別に以下のとおりデータを提供しています。 > - 会計基準が日本基準の場合、「勘定科目リスト」の各シートのE列「冗長ラベル(英語)」をキーとし、その値とセットで提供しています。 > - 会計基準がIFRSの場合、「国際会計基準タクソノミ要素リスト」の各シートのD列「冗長ラベル(英語)」をキーとし、その値とセットで提供しています。 > - 提出者別タクソノミについて > - EDINETタクソノミには存在しない提出者別タクソノミで定義される企業独自の項目は、本APIの提供対象外となります。 > **Note** > > - 三井海洋開発(銘柄コード62690)は、2022年2月以降の決算短信の連結財務諸表及び連結財務諸表注記を米ドルにより表示されています。そのため、本サービスの当該銘柄の対象の財務諸表情報についても米ドルでの提供となります。 > **Info** > > 本APIには[個別のレートリミット](https://jpx-jquants.com/ja/spec/rate-limits#エンドポイントごとのレートリミット)が適用されます。過去データの一括取得など効率的なデータ取得については[ベストプラクティス](https://jpx-jquants.com/ja/spec/rate-limits#ベストプラクティス)をご参照ください。 ## 四半期の財務諸表情報を取得することができます `GET` `https://api.jquants.com/v2/fins/details` 銘柄コード(code)または日付(date)の指定が必須となります。 ### パラメータ及びレスポンス 銘柄コード(code)または日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, cursor: – → 指定された銘柄について全期間分の財務諸表データ - code: ✓, date: ✓, cursor: – → 指定された銘柄について指定された日付の財務諸表データ - code: –, date: ✓, cursor: – → 全上場銘柄について指定された日付の財務諸表データ - code: –, date: ✓, cursor: ✓ → 前回リクエスト以降の財務諸表データを取得 ### cursorを使った財務諸表の取得 cursorを使った差分取得の仕様については、[cursorを使った差分取得](https://jpx-jquants.com/ja/spec/cursor)をご参照ください。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 86970 or 8697) 4桁もしくは5桁の銘柄コード | | date | string | Optional | 開示日付の指定(e.g. 2022-01-05 or 20220105) | | cursor | string | Optional | 差分取得のカーソル 前回のレスポンスで返却された cursor を指定することで前回のリクエスト以降に配信されたデータを取得できます。pagination\_key と同時指定不可。 詳細は[cursorを使った差分取得](https://jpx-jquants.com/ja/spec/cursor)をご参照ください。 | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/fins/details **cURL** ```bash curl -G https://api.jquants.com/v2/fins/details \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/fins/details', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/details", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------------------------------------------------------------------------------------ | | DiscDate | string | Required | 開示日 | | DiscTime | string | Required | 開示時刻 | | Code | string | Required | 銘柄コード(5桁) | | DiscNo | string | Required | 開示番号 APIから出力されるjsonは開示番号で昇順に並んでいます。 | | DocType | string | Required | 開示書類種別 [開示書類種別一覧](https://jpx-jquants.com/ja/spec/fin-summary/typeofdocument) | | FS | object | Required | 財務諸表の各種項目 冗長ラベル(英語)をキーとし、その値(財務諸表の値)をバリューとして格納したデータです。 XBRLタグと紐づく冗長ラベル(英語)とその値が収録されます。 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "DiscDate": "2020-04-30", "DiscTime": "12:00:00", "Code": "86970", "DiscNo": "20200429402226", "DocType": "FYFinancialStatements_Consolidated_IFRS", "FS": { "EDINET code, DEI": "E03814", "Security code, DEI": "86970", "Filer name in Japanese, DEI": "株式会社日本取引所グループ", "Filer name in English, DEI": "Japan Exchange Group, Inc.", "Document type, DEI": "通期第3号参考様式 [IFRS](連結)", "Accounting standards, DEI": "IFRS", "Whether consolidated financial statements are prepared, DEI": "true", "Industry code when consolidated financial statements are prepared in accordance with industry specific regulations, DEI": "CTE", "Industry code when financial statements are prepared in accordance with industry specific regulations, DEI": "CTE", "Current fiscal year start date, DEI": "2019-04-01", "Current period end date, DEI": "2020-03-31", "Type of current period, DEI": "FY", "Current fiscal year end date, DEI": "2020-03-31", "Previous fiscal year start date, DEI": "2018-04-01", "Comparative period end date, DEI": "2019-03-31", "Previous fiscal year end date, DEI": "2019-03-31", "Amendment flag, DEI": "false", "Report amendment flag, DEI": "false", "XBRL amendment flag, DEI": "false", "Cash and cash equivalents (IFRS)": "71883000000", "Trade and other receivables - CA (IFRS)": "16686000000", "Income taxes receivable - CA (IFRS)": "5922000000", "Other financial assets - CA (IFRS)": "117400000000", "Other current assets - CA (IFRS)": "1837000000", "Current assets (IFRS)": "67093263000000", "Property, plant and equipment (IFRS)": "14798000000", "Goodwill (IFRS)": "67374000000", "Intangible assets (IFRS)": "35045000000", "Retirement benefit asset - NCA (IFRS)": "5642000000", "Investments accounted for using equity method (IFRS)": "14703000000", "Other financial assets - NCA (IFRS)": "18156000000", "Other non-current assets - NCA (IFRS)": "6049000000", "Deferred tax assets (IFRS)": "3321000000", "Non-current assets (IFRS)": "193039000000", "Assets (IFRS)": "67286302000000", "Trade and other payables - CL (IFRS)": "6643000000", "Bonds and borrowings - CL (IFRS)": "32500000000", "Income taxes payable - CL (IFRS)": "10289000000", "Other current liabilities - CL (IFRS)": "10062000000", "Current liabilities (IFRS)": "66947278000000", "Bonds and borrowings - NCL (IFRS)": "19953000000", "Retirement benefit liability - NCL (IFRS)": "8866000000", "Other non-current liabilities - NCL (IFRS)": "2162000000", "Deferred tax liabilities (IFRS)": "2665000000", "Non-current liabilities (IFRS)": "33648000000", "Liabilities (IFRS)": "66980926000000", "Share capital (IFRS)": "11500000000", "Capital surplus (IFRS)": "39716000000", "Treasury shares (IFRS)": "-1548000000", "Other components of equity (IFRS)": "5602000000", "Retained earnings (IFRS)": "242958000000", "Equity attributable to owners of parent (IFRS)": "298228000000", "Non-controlling interests (IFRS)": "7146000000", "Equity (IFRS)": "305375000000", "Liabilities and equity (IFRS)": "67286302000000", "Number of submission, DEI": "1", "Profit (loss) before tax from continuing operations (IFRS)": "69095000000.0", "Depreciation and amortization - OpeCF (IFRS)": "16499000000", "Finance income - OpeCF (IFRS)": "-665000000", "Finance costs - OpeCF (IFRS)": "96000000", "Share of loss (profit) of investments accounted for using equity method - OpeCF (IFRS)": "-2457000000", "Decrease (increase) in trade and other receivables - OpeCF (IFRS)": "-5246000000", "Increase (decrease) in trade and other payables - OpeCF (IFRS)": "420000000", "Decrease (increase) in retirement benefit asset - OpeCF (IFRS)": "230000000", "Increase (decrease) in retirement benefit liability - OpeCF (IFRS)": "12000000", "Other, Changes in working capital - OpeCF (IFRS)": "-424000000", "Subtotal - OpeCF (IFRS)": "77560000000", "Interest and dividends received - OpeCF (IFRS)": "899000000", "Interest paid - OpeCF (IFRS)": "-96000000", "Income taxes refund (paid) - OpeCF (IFRS)": "-21482000000", "Net cash provided by (used in) operating activities (IFRS)": "56881000000", "Payments into time deposits - InvCF (IFRS)": "-117400000000", "Proceeds from withdrawal of time deposits - InvCF (IFRS)": "113100000000", "Purchase of property, plant and equipment - InvCF (IFRS)": "-1199000000", "Purchase of intangible assets - InvCF (IFRS)": "-12379000000", "Proceeds from sale of investment securities - InvCF (IFRS)": "11585000000", "Payments for acquisition of subsidiaries - InvCF (IFRS)": "-3165000000", "Other - InvCF (IFRS)": "23000000", "Net cash provided by (used in) investing activities (IFRS)": "-9434000000", "Repayments of lease liabilities - FinCF (IFRS)": "-3125000000", "Dividends paid - FinCF (IFRS)": "-35935000000", "Purchase of treasury shares - FinCF (IFRS)": "-350000000", "Net cash provided by (used in) financing activities (IFRS)": "-39411000000", "Net increase (decrease) in cash and cash equivalents before effect of exchange rate changes (IFRS)": "8035000000", "Effect of exchange rate changes on cash and cash equivalents (IFRS)": "-43000000", "Other income (IFRS)": "975000000.0", "Revenue - 2 (IFRS)": "124663000000.0", "Operating expenses (IFRS)": "58532000000.0", "Other expenses (IFRS)": "54000000.0", "Share of profit (loss) of investments accounted for using equity method (IFRS)": "2457000000.0", "Operating profit (loss) (IFRS)": "68533000000.0", "Finance income (IFRS)": "665000000.0", "Finance costs (IFRS)": "103000000.0", "Income tax expense (IFRS)": "20781000000.0", "Profit (loss) (IFRS)": "48314000000.0", "Profit (loss) attributable to owners of parent (IFRS)": "47609000000.0", "Profit (loss) attributable to non-controlling interests (IFRS)": "705000000.0", "Basic earnings (loss) per share (IFRS)": "88.91" } } ], "cursor": "eyJkIjoiMjAyNS0wNC0wMSIsInQiOiIyMDI1LTA0LTAxVDA4OjAwOjAwWiMyMDI1MDQwMTEzMDEwMCJ9" } ``` --- Source: https://jpx-jquants.com/ja/spec/fin-dividend # 配当金情報(/fins/dividend) `GET` /v2/fins/dividend ## APIの概要 上場会社の配当(決定・予想)に関する1株当たり配当金額、基準日、権利落日及び支払開始予定日等の情報を取得できます。 ## 本APIの留意点 > **Info** > > - 東証上場銘柄でない銘柄(地方取引所単独上場銘柄)についてはデータの収録対象外となっております。 ## 配当金データを取得します `GET` `https://api.jquants.com/v2/fins/dividend` データの取得では、銘柄コード(code)または通知日付(date)の指定が必須となります。 ### パラメータ及びレスポンス データの取得では、銘柄コード(code)または通知日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, from /to: – → 指定された銘柄について取得可能期間の全データ - code: ✓, date: ✓, from /to: – → 指定された銘柄について指定された通知日付のデータ - code: ✓, date: –, from /to: ✓ → 指定された銘柄について指定された期間分のデータ - code: –, date: ✓, from /to: – → 全上場銘柄について指定された通知日付のデータ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード (e.g. 27800 or 2780) 4桁の銘柄コードを指定した場合は、普通株式と優先株式の両方が上場している銘柄においては普通株式のデータのみが取得されます。 | | from | string | Optional | fromの指定(e.g. 20210901 or 2021-09-01) | | to | string | Optional | toの指定(e.g. 20210907 or 2021-09-07) | | date | string | Optional | \*fromとtoを指定しないとき(e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/fins/dividend **cURL** ```bash curl -G https://api.jquants.com/v2/fins/dividend \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/fins/dividend", { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/dividend", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ---------------- | --------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------- | | PubDate | string | Required | 通知日時(YYYY-MM-DD) | | PubTime | string | Required | 通知日時(HH:MM) | | Code | string | Required | 銘柄コード | | RefNo | string | Required | リファレンスナンバー 配当通知を一意に特定するための番号 詳細は[リファレンスナンバー](https://jpx-jquants.com/ja/spec/fin-dividend/reference-number)を参照 | | StatCode | string | Required | 更新区分(コード) 1: 新規、2: 訂正、3: 削除 | | BoardDate | string | Required | 取締役会決議日 | | IFCode | string | Required | 配当種類(コード) 1: 中間配当、2: 期末配当 | | FRCode | string | Required | 予想/決定(コード) 1: 決定、2: 予想 | | IFTerm | string | Required | 配当基準日年月 | | DivRate | number / string | Required | 1株当たり配当金額 未定の場合: - 、非設定の場合: 空文字 | | RecDate | string | Required | 基準日 | | ExDate | string | Required | 権利落日 | | ActRecDate | string | Required | 権利確定日 | | PayDate | string | Required | 支払開始予定日 未定の場合: - 、非設定の場合: 空文字 | | CARefNo | string | Required | CAリファレンスナンバー 訂正・削除の対象となっている配当通知のリファレンスナンバー。新規の場合はリファレンスナンバーと同じ値を設定 詳細は[リファレンスナンバー](https://jpx-jquants.com/ja/spec/fin-dividend/reference-number)を参照 | | DistAmt | number / string | Required | 1株当たりの交付金銭等の額 未定の場合: - 、非設定の場合: 空文字 が設定されます。 2014年2月24日以降のみ提供。 | | RetEarn | number / string | Required | 1株当たりの利益剰余金の額 未定の場合: - 、非設定の場合: 空文字 が設定されます。 2014年2月24日以降のみ提供。 | | DeemDiv | number / string | Required | 1株当たりのみなし配当の額 未定の場合: - 、非設定の場合: 空文字 が設定されます。 2014年2月24日以降のみ提供。 | | DeemCapGains | number / string | Required | 1株当たりのみなし譲渡収入の額 未定の場合: - 、非設定の場合: 空文字 が設定されます。 2014年2月24日以降のみ提供。 | | NetAssetDecRatio | number / string | Required | 純資産減少割合 未定の場合: - 、非設定の場合: 空文字 が設定されます。 2014年2月24日以降のみ提供。 | | CommSpecCode | string | Required | 記念配当/特別配当コード 1: 記念配当、2: 特別配当、3: 記念・特別配当、0: 通常の配当 | | CommDivRate | number / string | Required | 1株当たり記念配当金額 未定の場合: - 、非設定の場合: 空文字 2022年6月6日以降のみ提供。 | | SpecDivRate | number / string | Required | 1株当たり特別配当金額 未定の場合: - 、非設定の場合: 空文字 2022年6月6日以降のみ提供。 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "PubDate": "2014-02-24", "PubTime": "09:21", "Code": "15550", "RefNo": "201402241B00002", "StatCode": "1", "BoardDate": "2014-02-24", "IFCode": "2", "FRCode": "2", "IFTerm": "2014-03", "DivRate": "-", "RecDate": "2014-03-10", "ExDate": "2014-03-06", "ActRecDate": "2014-03-10", "PayDate": "-", "CARefNo": "201402241B00002", "DistAmt": "", "RetEarn": "", "DeemDiv": "", "DeemCapGains": "", "NetAssetDecRatio": "", "CommSpecCode": "0", "CommDivRate": "", "SpecDivRate": "" } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/fin-dividend/reference-number # リファレンスナンバー ## リファレンスナンバーについて - リファレンスナンバー:配当通知を一意に特定するための番号。 - CAリファレンスナンバー:訂正・削除の対象となっている配当通知のリファレンスナンバー。新規の場合はリファレンスナンバーと同じ値。 ## 具体例:以下の通知があった場合に、提供データは下表のとおりになります。 - 銘柄:日本取引所グループ(銘柄コード:86970)について - 2023-03-06 配当が新規で通知 - 2023-03-07 配当が訂正情報として通知 - 2023-03-08 配当が削除された - 2023-03-09 配当が新規で通知 | PubDate | Code | RefNo | CARefNo | StatCode | | ---------- | ----- | ----- | ------- | -------- | | 2023-03-06 | 86970 | 1 | 1 | 1:新規 | | 2023-03-07 | 86970 | 2 | 1 | 2:訂正 | | 2023-03-08 | 86970 | 3 | 1 | 3:削除 | | 2023-03-09 | 86970 | 4 | 4 | 1:新規 | > **Note** > > - 一部項目のみを抽出して例示しています。 > - 上記のコード値は例示のため便宜的な記載としており、また実際に発生したデータとは異なります。 --- Source: https://jpx-jquants.com/ja/spec/fin-earnings-date # 決算発表予定日(/fins/earnings-date) `GET` /v2/fins/earnings-date ## APIの概要 東証上場会社等が東証に対して報告した決算発表予定日を取得できます。\ 決算期によらず、報告を行った全上場銘柄(REIT等を含む)が対象で、予定日の変更・未定の履歴も含めて公表日単位で提供します。 ### 本APIの留意点 > **Info** > > - 決算発表予定日の変更が報告された場合、以前のデータは削除されず、修正後の予定日が新たなデータとして追加されます(`code` 指定時は変更履歴を含む全レコードが返却されます)。 > - 一度公表された決算発表予定日が後から「未定」に変更された場合、SchDate は空文字(`""`)となります。 > - `scheduled_date` を指定した場合、各銘柄・各決算区分(1Q/2Q/3Q/FY)で最後に公表されたレコードのみがヒットします。そのため、予定日がその後変更された場合、変更前の予定日ではヒットしません。 > - プランごとの参照可能期間は、公表日(`PubDate`)を基準に適用されます。`date` 指定時は参照範囲外の日付を指定すると 400 エラーとなります。また、`code` / `scheduled_date` 指定時は参照範囲外の公表日のデータが結果に含まれません。 ## 決算発表予定日データを取得します `GET` `https://api.jquants.com/v2/fins/earnings-date` データの取得では、`code`(銘柄コード)・`date`(公表日)・`scheduled_date`(発表予定日)の**いずれか1つ**の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, scheduled\_date: – → 指定された銘柄の予定日公表履歴 - code: –, date: ✓, scheduled\_date: – → 指定日に公表・変更された全銘柄の予定日データ - code: –, date: –, scheduled\_date: ✓ → 指定日を現在有効な発表予定日とする全銘柄のデータ ※ 2つ以上のパラメータを同時に指定することはできません(400 エラー)。\ ※ 該当データが存在しない場合は空配列(`"data": []`)を返却します。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 86970 or 8697) | | date | string | Optional | 公表日(e.g. 20250620 or 2025-06-20) | | scheduled\_date | string | Optional | 決算発表予定日(e.g. 20250805 or 2025-08-05) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/fins/earnings-date **cURL** ```bash curl -G https://api.jquants.com/v2/fins/earnings-date \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/fins/earnings-date', { params: { code: '{{code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/earnings-date", params={"code": "{{code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------- | | PubDate | string | Required | 公表日(YYYY-MM-DD) この予定日が公表・変更された日 | | SchDate | string | Required | 決算発表予定日(YYYY-MM-DD) 未定の場合は空文字(`""`) | | FQName | string | Required | 決算区分(1Q / 2Q / 3Q / FY) | | FYE | string | Required | 決算期末(MMDD) | | Code | string | Required | 銘柄コード(5桁) | | CoName | string | Required | 会社名 | | CoNameEn | string | Required | 会社名(英語) | ※ 会社名(CoName・CoNameEn)は PubDate 時点のデータです。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "PubDate": "2025-06-03", "SchDate": "2025-07-30", "FQName": "1Q", "FYE": "0331", "Code": "86970", "CoName": "日本取引所グループ", "CoNameEn": "Japan Exchange Group,Inc." } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/fin-summary # 財務情報(/fins/summary) `GET` /v2/fins/summary ## APIの概要 財務情報の開示日・銘柄コードを指定して、決算短信などの財務情報サマリーを取得できます。\ 銘柄コード(code)または日付(date)のいずれか一方、もしくは両方の指定が必要です。 ## 本APIの留意点 > **Info** > > - **会計基準について:** APIから出力される各項目名は日本基準(JGAAP)の開示項目が基準となっています。そのため、IFRSや米国基準(USGAAP)の開示データにおいては、経常利益の概念がありませんので、データが空欄となっています。 > **Info** > > - **四半期開示見直し対応に伴うAPI項目の追加について:** > - 四半期開示見直し対応において、決算短信サマリー様式の記載事項が以下のとおり変更されます。 > - **変更前:** 重要な⼦会社の異動(連結範囲の変更を伴う特定⼦会社の異動) > - **変更後:** 連結範囲の重要な変更 > - この対応に伴い、2024/7/22より本APIのレスポンス項目に"SignificantChangesInTheScopeOfConsolidation"(期中における連結範囲の重要な変更)を追加いたします。 > - 詳細は、データ項目概要欄をご覧ください。 > **Info** > > 本APIには[個別のレートリミット](https://jpx-jquants.com/ja/spec/rate-limits#エンドポイントごとのレートリミット)が適用されます。過去データの一括取得など効率的なデータ取得については[ベストプラクティス](https://jpx-jquants.com/ja/spec/rate-limits#ベストプラクティス)をご参照ください。 ## 財務情報データを取得します `GET` `https://api.jquants.com/v2/fins/summary` 銘柄コード(code)または日付(date)の指定が必須となります。 ### パラメータ及びレスポンス 銘柄コード(code)または日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, cursor: – → 指定された銘柄について全期間分の財務情報データ - code: ✓, date: ✓, cursor: – → 指定された銘柄について指定された日付の財務情報データ - code: –, date: ✓, cursor: – → 全上場銘柄について指定された日付の財務情報データ - code: –, date: ✓, cursor: ✓ → 前回リクエスト以降の財務情報データを取得(Premiumプランのみ) ### cursorを使った財務情報の取得 cursorを使った差分取得の仕様については、[cursorを使った差分取得](https://jpx-jquants.com/ja/spec/cursor)をご参照ください。 > **Note** > > cursorパラメータはPremiumプランでのみ利用可能です。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | 銘柄コード(e.g. 86970 or 8697) 4桁もしくは5桁の銘柄コード | | date | string | Optional | 開示日付の指定(e.g. 2022-01-05 or 20220105) | | cursor | string | Optional | 差分取得のカーソル(Premiumプランのみ) 前回のレスポンスで返却された cursor を指定することで前回のリクエスト以降に配信されたデータを取得できます。pagination\_key と同時指定不可。 詳細は[cursorを使った差分取得](https://jpx-jquants.com/ja/spec/cursor)をご参照ください。 | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/fins/summary **cURL** ```bash curl -G https://api.jquants.com/v2/fins/summary \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/fins/summary', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/summary", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | ---------------------------------------------------------------------- | | DiscDate | string | Required | 開示日 | | DiscTime | string | Required | 開示時刻 | | Code | string | Required | 銘柄コード(5桁) | | DiscNo | string | Required | 開示番号 APIから出力されるjsonは開示番号で昇順に並んでいます。 | | DocType | string | Required | 開示書類種別 [開示書類種別一覧](https://jpx-jquants.com/ja/spec/fin-summary/typeofdocument) | | CurPerType | string | Required | 当会計期間の種類 \[1Q, 2Q, 3Q, 4Q, 5Q, FY] | | CurPerSt | string | Required | 当会計期間開始日 | | CurPerEn | string | Required | 当会計期間終了日 | | CurFYSt | string | Required | 当事業年度開始日 | | CurFYEn | string | Required | 当事業年度終了日 | | NxtFYSt | string | Required | 翌事業年度開始日 開示レコードに翌事業年度の開示情報がない場合空欄になります。 | | NxtFYEn | string | Required | 翌事業年度終了日 開示レコードに翌事業年度の開示情報がない場合空欄になります。 | | Sales | number | Required | 売上高 | | OP | number | Required | 営業利益 | | OdP | number | Required | 経常利益 | | NP | number | Required | 当期純利益 | | EPS | number | Required | 一株あたり当期純利益 | | DEPS | number | Required | 潜在株式調整後一株あたり当期純利益 | | TA | number | Required | 総資産 | | Eq | number | Required | 純資産 | | EqAR | number | Required | 自己資本比率 | | BPS | number | Required | 一株あたり純資産 | | CFO | number | Required | 営業活動によるキャッシュ・フロー | | CFI | number | Required | 投資活動によるキャッシュ・フロー | | CFF | number | Required | 財務活動によるキャッシュ・フロー | | CashEq | number | Required | 現金及び現金同等物期末残高 | | Div1Q | number | Required | 一株あたり配当実績\_第1四半期末 | | Div2Q | number | Required | 一株あたり配当実績\_第2四半期末 | | Div3Q | number | Required | 一株あたり配当実績\_第3四半期末 | | DivFY | number | Required | 一株あたり配当実績\_期末 | | DivAnn | number | Required | 一株あたり配当実績\_合計 | | DivUnit | number | Required | 1口当たり分配金 | | DivTotalAnn | number | Required | 配当金総額 | | PayoutRatioAnn | number | Required | 配当性向 | | FDiv1Q | number | Required | 一株あたり配当予想\_第1四半期末 | | FDiv2Q | number | Required | 一株あたり配当予想\_第2四半期末 | | FDiv3Q | number | Required | 一株あたり配当予想\_第3四半期末 | | FDivFY | number | Required | 一株あたり配当予想\_期末 | | FDivAnn | number | Required | 一株あたり配当予想\_合計 | | FDivUnit | number | Required | 1口当たり予想分配金 | | FDivTotalAnn | number | Required | 予想配当金総額 | | FPayoutRatioAnn | number | Required | 予想配当性向 | | NxFDiv1Q | number | Required | 一株あたり配当予想\_翌事業年度第1四半期末 | | NxFDiv2Q | number | Required | 一株あたり配当予想\_翌事業年度第2四半期末 | | NxFDiv3Q | number | Required | 一株あたり配当予想\_翌事業年度第3四半期末 | | NxFDivFY | number | Required | 一株あたり配当予想\_翌事業年度期末 | | NxFDivAnn | number | Required | 一株あたり配当予想\_翌事業年度合計 | | NxFDivUnit | number | Required | 1口当たり翌事業年度予想分配金 | | NxFPayoutRatioAnn | number | Required | 翌事業年度予想配当性向 | | FSales2Q | number | Required | 売上高\_予想\_第2四半期末 | | FOP2Q | number | Required | 営業利益\_予想\_第2四半期末 | | FOdP2Q | number | Required | 経常利益\_予想\_第2四半期末 | | FNP2Q | number | Required | 当期純利益\_予想\_第2四半期末 | | FEPS2Q | number | Required | 一株あたり当期純利益\_予想\_第2四半期末 | | NxFSales2Q | number | Required | 売上高\_予想\_翌事業年度第2四半期末 | | NxFOP2Q | number | Required | 営業利益\_予想\_翌事業年度第2四半期末 | | NxFOdP2Q | number | Required | 経常利益\_予想\_翌事業年度第2四半期末 | | NxFNp2Q | number | Required | 当期純利益\_予想\_翌事業年度第2四半期末 | | NxFEPS2Q | number | Required | 一株あたり当期純利益\_予想\_翌事業年度第2四半期末 | | FSales | number | Required | 売上高\_予想\_期末 | | FOP | number | Required | 営業利益\_予想\_期末 | | FOdP | number | Required | 経常利益\_予想\_期末 | | FNP | number | Required | 当期純利益\_予想\_期末 | | FEPS | number | Required | 一株あたり当期純利益\_予想\_期末 | | NxFSales | number | Required | 売上高\_予想\_翌事業年度期末 | | NxFOP | number | Required | 営業利益\_予想\_翌事業年度期末 | | NxFOdP | number | Required | 経常利益\_予想\_翌事業年度期末 | | NxFNp | number | Required | 当期純利益\_予想\_翌事業年度期末 | | NxFEPS | number | Required | 一株あたり当期純利益\_予想\_翌事業年度期末 | | MatChgSub | string | Required | 期中における重要な子会社の異動 | | SigChgInC | string | Required | 期中における連結範囲の重要な変更 \*指定されたdateが2024-07-21以前のレスポンスは、当該項目には値が収録されません。 | | ChgByASRev | string | Required | 会計基準等の改正に伴う会計方針の変更 | | ChgNoASRev | string | Required | 会計基準等の改正に伴う変更以外の会計方針の変更 | | ChgAcEst | string | Required | 会計上の見積りの変更 | | RetroRst | string | Required | 修正再表示 | | ShOutFY | number | Required | 期末発行済株式数 | | TrShFY | number | Required | 期末自己株式数 | | AvgSh | number | Required | 期中平均株式数 | | NCSales | number | Required | 売上高\_非連結 | | NCOP | number | Required | 営業利益\_非連結 | | NCOdP | number | Required | 経常利益\_非連結 | | NCNP | number | Required | 当期純利益\_非連結 | | NCEPS | number | Required | 一株あたり当期純利益\_非連結 | | NCTA | number | Required | 総資産\_非連結 | | NCEq | number | Required | 純資産\_非連結 | | NCEqAR | number | Required | 自己資本比率\_非連結 | | NCBPS | number | Required | 一株あたり純資産\_非連結 | | FNCSales2Q | number | Required | 売上高\_予想\_第2四半期末\_非連結 | | FNCOP2Q | number | Required | 営業利益\_予想\_第2四半期末\_非連結 | | FNCOdP2Q | number | Required | 経常利益\_予想\_第2四半期末\_非連結 | | FNCNP2Q | number | Required | 当期純利益\_予想\_第2四半期末\_非連結 | | FNCEPS2Q | number | Required | 一株あたり当期純利益\_予想\_第2四半期末\_非連結 | | NxFNCSales2Q | number | Required | 売上高\_予想\_翌事業年度第2四半期末\_非連結 | | NxFNCOP2Q | number | Required | 営業利益\_予想\_翌事業年度第2四半期末\_非連結 | | NxFNCOdP2Q | number | Required | 経常利益\_予想\_翌事業年度第2四半期末\_非連結 | | NxFNCNP2Q | number | Required | 当期純利益\_予想\_翌事業年度第2四半期末\_非連結 | | NxFNCEPS2Q | number | Required | 一株あたり当期純利益\_予想\_翌事業年度第2四半期末\_非連結 | | FNCSales | number | Required | 売上高\_予想\_期末\_非連結 | | FNCOP | number | Required | 営業利益\_予想\_期末\_非連結 | | FNCOdP | number | Required | 経常利益\_予想\_期末\_非連結 | | FNCNP | number | Required | 当期純利益\_予想\_期末\_非連結 | | FNCEPS | number | Required | 一株あたり当期純利益\_予想\_期末\_非連結 | | NxFNCSales | number | Required | 売上高\_予想\_翌事業年度期末\_非連結 | | NxFNCOP | number | Required | 営業利益\_予想\_翌事業年度期末\_非連結 | | NxFNCOdP | number | Required | 経常利益\_予想\_翌事業年度期末\_非連結 | | NxFNCNP | number | Required | 当期純利益\_予想\_翌事業年度期末\_非連結 | | NxFNCEPS | number | Required | 一株あたり当期純利益\_予想\_翌事業年度期末\_非連結 | | ShEq | number | Required | 自己資本 | | NCShEq | number | Required | 自己資本\_非連結 | | ROE | number | Required | 自己資本利益率 | | NCROE | number | Required | 自己資本利益率\_非連結 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "DiscDate": "2023-01-30", "DiscTime": "12:00:00", "Code": "86970", "DiscNo": "20230127594871", "DocType": "3QFinancialStatements_Consolidated_IFRS", "CurPerType": "3Q", "CurPerSt": "2022-04-01", "CurPerEn": "2022-12-31", "CurFYSt": "2022-04-01", "CurFYEn": "2023-03-31", "NxtFYSt": "", "NxtFYEn": "", "Sales": "100529000000", "OP": "51765000000", "OdP": "", "NP": "35175000000", "EPS": "66.76", "DEPS": "", "TA": "79205861000000", "Eq": "320021000000", "EqAR": "0.004", "BPS": "", "CFO": "", "CFI": "", "CFF": "", "CashEq": "91135000000", "Div1Q": "", "Div2Q": "26.0", "Div3Q": "", "DivFY": "", "DivAnn": "", "DivUnit": "", "DivTotalAnn": "", "PayoutRatioAnn": "", "FDiv1Q": "", "FDiv2Q": "", "FDiv3Q": "", "FDivFY": "36.0", "FDivAnn": "62.0", "FDivUnit": "", "FDivTotalAnn": "", "FPayoutRatioAnn": "", "NxFDiv1Q": "", "NxFDiv2Q": "", "NxFDiv3Q": "", "NxFDivFY": "", "NxFDivAnn": "", "NxFDivUnit": "", "NxFPayoutRatioAnn": "", "FSales2Q": "", "FOP2Q": "", "FOdP2Q": "", "FNP2Q": "", "FEPS2Q": "", "NxFSales2Q": "", "NxFOP2Q": "", "NxFOdP2Q": "", "NxFNp2Q": "", "NxFEPS2Q": "", "FSales": "132500000000", "FOP": "65500000000", "FOdP": "", "FNP": "45000000000", "FEPS": "85.42", "NxFSales": "", "NxFOP": "", "NxFOdP": "", "NxFNp": "", "NxFEPS": "", "MatChgSub": "false", "SigChgInC": "", "ChgByASRev": "false", "ChgNoASRev": "false", "ChgAcEst": "true", "RetroRst": "", "ShOutFY": "528578441", "TrShFY": "1861043", "AvgSh": "526874759", "NCSales": "", "NCOP": "", "NCOdP": "", "NCNP": "", "NCEPS": "", "NCTA": "", "NCEq": "", "NCEqAR": "", "NCBPS": "", "FNCSales2Q": "", "FNCOP2Q": "", "FNCOdP2Q": "", "FNCNP2Q": "", "FNCEPS2Q": "", "NxFNCSales2Q": "", "NxFNCOP2Q": "", "NxFNCOdP2Q": "", "NxFNCNP2Q": "", "NxFNCEPS2Q": "", "FNCSales": "", "FNCOP": "", "FNCOdP": "", "FNCNP": "", "FNCEPS": "", "NxFNCSales": "", "NxFNCOP": "", "NxFNCOdP": "", "NxFNCNP": "", "NxFNCEPS": "", "ShEq": "318500000000", "NCShEq": "", "ROE": "0.112", "NCROE": "" } ], "cursor": "eyJkIjoiMjAyNS0wNC0wMSIsInQiOiIyMDI1LTA0LTAxVDA4OjAwOjAwWiMyMDI1MDQwMTEzMDEwMCJ9" } ``` --- Source: https://jpx-jquants.com/ja/spec/fin-summary/typeofdocument # 開示書類種別 財務情報APIのTypeOfDocumentの項目一覧です。 ## 書類種別一覧 | 書類種別 | 概要 | | -------------------------------------------------------- | --------------------- | | FYFinancialStatements\_Consolidated\_JP | 決算短信 (連結・日本基準) | | FYFinancialStatements\_Consolidated\_US | 決算短信 (連結・米国基準) | | FYFinancialStatements\_NonConsolidated\_JP | 決算短信 (非連結・日本基準) | | 1QFinancialStatements\_Consolidated\_JP | 第1四半期決算短信 (連結・日本基準) | | 1QFinancialStatements\_Consolidated\_US | 第1四半期決算短信 (連結・米国基準) | | 1QFinancialStatements\_NonConsolidated\_JP | 第1四半期決算短信 (非連結・日本基準) | | 2QFinancialStatements\_Consolidated\_JP | 第2四半期決算短信 (連結・日本基準) | | 2QFinancialStatements\_Consolidated\_US | 第2四半期決算短信 (連結・米国基準) | | 2QFinancialStatements\_NonConsolidated\_JP | 第2四半期決算短信 (非連結・日本基準) | | 3QFinancialStatements\_Consolidated\_JP | 第3四半期決算短信 (連結・日本基準) | | 3QFinancialStatements\_Consolidated\_US | 第3四半期決算短信 (連結・米国基準) | | 3QFinancialStatements\_NonConsolidated\_JP | 第3四半期決算短信 (非連結・日本基準) | | OtherPeriodFinancialStatements\_Consolidated\_JP | その他四半期決算短信 (連結・日本基準) | | OtherPeriodFinancialStatements\_Consolidated\_US | その他四半期決算短信 (連結・米国基準) | | OtherPeriodFinancialStatements\_NonConsolidated\_JP | その他四半期決算短信 (非連結・日本基準) | | FYFinancialStatements\_Consolidated\_JMIS | 決算短信 (連結・JMIS) | | 1QFinancialStatements\_Consolidated\_JMIS | 第1四半期決算短信 (連結・JMIS) | | 2QFinancialStatements\_Consolidated\_JMIS | 第2四半期決算短信 (連結・JMIS) | | 3QFinancialStatements\_Consolidated\_JMIS | 第3四半期決算短信 (連結・JMIS) | | OtherPeriodFinancialStatements\_Consolidated\_JMIS | その他四半期決算短信 (連結・JMIS) | | FYFinancialStatements\_NonConsolidated\_IFRS | 決算短信 (非連結・IFRS) | | 1QFinancialStatements\_NonConsolidated\_IFRS | 第1四半期決算短信 (非連結・IFRS) | | 2QFinancialStatements\_NonConsolidated\_IFRS | 第2四半期決算短信 (非連結・IFRS) | | 3QFinancialStatements\_NonConsolidated\_IFRS | 第3四半期決算短信 (非連結・IFRS) | | OtherPeriodFinancialStatements\_NonConsolidated\_IFRS | その他四半期決算短信 (非連結・IFRS) | | FYFinancialStatements\_Consolidated\_IFRS | 決算短信 (連結・IFRS) | | 1QFinancialStatements\_Consolidated\_IFRS | 第1四半期決算短信 (連結・IFRS) | | 2QFinancialStatements\_Consolidated\_IFRS | 第2四半期決算短信 (連結・IFRS) | | 3QFinancialStatements\_Consolidated\_IFRS | 第3四半期決算短信 (連結・IFRS) | | OtherPeriodFinancialStatements\_Consolidated\_IFRS | その他四半期決算短信 (連結・IFRS) | | FYFinancialStatements\_NonConsolidated\_Foreign | 決算短信 (非連結・外国株) | | 1QFinancialStatements\_NonConsolidated\_Foreign | 第1四半期決算短信 (非連結・外国株) | | 2QFinancialStatements\_NonConsolidated\_Foreign | 第2四半期決算短信 (非連結・外国株) | | 3QFinancialStatements\_NonConsolidated\_Foreign | 第3四半期決算短信 (非連結・外国株) | | OtherPeriodFinancialStatements\_NonConsolidated\_Foreign | その他四半期決算短信 (非連結・外国株) | | FYFinancialStatements\_Consolidated\_Foreign | 決算短信 (連結・外国株) | | 1QFinancialStatements\_Consolidated\_Foreign | 第1四半期決算短信 (連結・外国株) | | 2QFinancialStatements\_Consolidated\_Foreign | 第2四半期決算短信 (連結・外国株) | | 3QFinancialStatements\_Consolidated\_Foreign | 第3四半期決算短信 (連結・外国株) | | OtherPeriodFinancialStatements\_Consolidated\_Foreign | その他四半期決算短信 (連結・外国株) | | FYFinancialStatements\_Consolidated\_REIT | 決算短信(REIT) | | DividendForecastRevision | 配当予想の修正 | | EarnForecastRevision | 業績予想の修正 | | REITDividendForecastRevision | 分配予想の修正 | | REITEarnForecastRevision | 利益予想の修正 | --- Source: https://jpx-jquants.com/ja/spec/fix-data-info # データ修正履歴・制約事項 ### データ訂正の反映方法 > **Note** > > - データの訂正は既存データへの上書きで反映されます。訂正前の旧データの保持や、訂正箇所の差分提供は行っておりません。 > - データ更新・訂正の完了を通知するAPIや、データの版番号・ETagは提供しておりません。 > - cursorを使った差分取得に対応しているのは、財務情報・財務諸表・適時開示インデックス一覧のみです([cursorを使った差分取得](https://jpx-jquants.com/ja/spec/cursor)参照)。 > - 訂正を確実に取り込みたい場合は、[提供データの更新タイミング](https://jpx-jquants.com/ja/spec/data-update)を踏まえて、必要な範囲のデータを定期的に再取得することを推奨します。 ### データ修正履歴 #### 最近の修正履歴(直近5件) | 修正日 | 修正対象API | 対象期間 | 修正内容 | | ---------- | -------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | 2026年8月27日 | 適時開示情報 | 2022年8月29日、2023年11月2日 | 欠損していた2022年8月29日、2023年11月2日の適時開示インデックス・開示書類(PDF/XBRL)を追加しました。 あわせて、適時開示インデックス一括ダウンロード(バルクデータ)も修正後のファイルに差し替えています。 | | 2026年8月5日 | オプション四本値 | 2026年8月3日 | 有価証券オプション(EQOP)の一部銘柄について、以下の項目に誤った値が収録されていたため修正しました。Settle(清算値段) IV(インプライドボラティリティ)対象銘柄数:1,189 あわせて、2026年8月3日分のバルクデータ(日次)も修正後のファイルに差し替えています。 | | 2026年6月29日 | 株価四本値 | ー | 株価調整対象にライツイシューを追加したことに伴い、過去に正しく調整されていなかった調整済み株価・出来高を修正しました。 対象銘柄コード:17730, 33180, 37500, 38320, 38560, 45410, 57210, 63970, 69930, 77780, 94780 | | 2026年1月23日 | 空売り残高報告 | 2013年11月7日 - 2026年1月13日 | 以下の項目について、浮動小数点演算による微小な誤差を補正し、数値を小数点以下4桁に正規化しました。ShrtPosToSO(空売り残高割合) PrevRptRatio(直近空売り残高割合) | | 2025年5月2日 | 財務情報 | - | データ全般を修正しました。 | #### 過去の修正履歴 | 修正日 | 修正対象API | 対象期間 | 修正内容 | | ---------- | ----------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | 2024年9月20日 | オプション四本値 | 2010年1月4日 - 2014年3月20日 | 指数オプションについて前場・後場四本値の値を修正 | | 2024年9月20日 | 先物四本値 | 2010年以降 | 指数先物についてDaySession四本値の値を修正 | | 2024年8月2日 | 財務情報 / 財務諸表 | ー | データ全般を修正しました。 | | 2024年6月17日 | 上場銘柄一覧 | ー | ScaleCategoryの値が一部誤って"-"になってしまっているのを修正 | | 2024年2月28日 | 財務情報 / 財務諸表 | 2009年1月13日-2024年2月8日 | データ全般を修正しました。 | | 2023年11月7日 | 業種別空売り比率 | 2023年11月6日 | 2023年11月6日のデータ全体を修正。 | | 2023年9月22日 | 売買内訳データ | ー | 一部日付に存在した実在しない以下銘柄コードのデータを削除 銘柄コード:20000, 30000, 50000 | | 2023年4月10日 | 財務情報 | 2008年7月7日ー2014年3月31日 | 以下の項目について欠損データを修正(ResultDividentPerShareAnual)。各項目について、前会計期間の値が入っててしまっている箇所があったため、それらを当会計期間の値へ修正。 | | 2023年4月10日 | 株価四本値 | 2023年3月28日 | 欠損していた2023年3月28日のデータを追加 | | 2023年4月4日 | 財務情報 | 2008年7月7日ー2014年3月31日 | 以下の項目ついて欠損データを修正(TypeOfCurrentPeriod, CurrentPeriodStartDate, CurrentPeriodEndDate, CurrentFiscalYearStartDate, CurrentFiscalYearEndDate)。 | | 2023年4月4日 | オプション四本値 | 2008年5月7日ー2016年7月15日 | Month(限月)について、YYYY-MM形式となるよう修正 | ### 現時点で判明している制約事項 現時点で判明している制約事項や問題事象について記載しています。 #### 現在判明している制約事項 | 追加日 | 対象のAPI | 内容 | 回避方法 | 解消日 | | --- | ------ | -- | ---- | --- | | なし | | | | | #### 解消済み | 追加日 | 対象のAPI | 内容 | 回避方法 | 解消日 | | ---------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ---------- | | 2024年8月26日 | 先物四本値 | 指数先物についてDaySessionの四本値の値が取得できない。 | | 2024年9月20日 | | 2023年6月9日 | 財務情報 | TypeOfCurrentPeriodとCurrentPeriodEndDateに誤り ・銘柄コード36330の開示日付2017-04-27、2017-07-27、2017-10-30 ・銘柄コード60260の開示日付2015-04-28、2015-07-29 | TypeOfDocumentの値でどの期間かを確認することが可能です [開示書類種別](fin-summary/typeofdocument) | 2024年2月28日 | | 2023年4月10日 | 投資部門別情報 | 日付を指定しないで全日のデータを取得できない | 日付やセクションを指定して、取得する対象を絞ってリクエストしてください。 | 2023年4月27日 | | 2023年4月3日 | 財務情報 | 2022年5月13日のデータを日付指定で取得できない | 日付に加えて銘柄コードを指定して、取得する対象を絞ってリクエストしてください。 | 2023年4月27日 | --- Source: https://jpx-jquants.com/ja/spec/gzip-compression # APIレスポンスのGzip化 データ通信量削減を目的としてAPIからのレスポンスをGzip化しています。 ## ユーザの利用パターンごとの影響有無 | パッケージ\*使用有無 | Accept-Encoding:gzip 有無 | クライアント側での対処の要否 | | :----------- | :---------------------- | :------------------------------------------------- | | **パッケージ使用** | デフォルトで上記ヘッダーが付与 | **対処不要** (圧縮されたレスポンスが自動的に解凍されるためクライアント側での考慮は不要) | | **パッケージ不使用** | 上記headerあり | **圧縮されたレスポンスの適切な解凍処理が必要** (curlの場合 `--compressed`) | | | 上記headerなし | **対処不要** (未圧縮のレスポンスを受信するためクライアント側での考慮は不要) | \* 一般的にRestAPIコール時に利用されるHTTPクライアントライブラリのことを指します。(例)pythonにおけるrequestsやurllib等のライブラリ --- Source: https://jpx-jquants.com/ja/spec/idx-bars-daily-topix # TOPIX指数四本値(/indices/bars/daily/topix) `GET` /v2/indices/bars/daily/topix ## APIの概要 TOPIXの日通しの四本値を取得できます。\ 本APIで取得可能な指数データは TOPIX(東証株価指数)のみとなります。 ## 日次のTOPIX指数データを取得します `GET` `https://api.jquants.com/v2/indices/bars/daily/topix` 日付の範囲(from/to)を指定することができます。なお、指定しない場合は全期間のデータがレスポンスに収録されます。 ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------- | | from | string | Optional | from の指定(e.g. 20210901 or 2021-09-01) | | to | string | Optional | to の指定(e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/indices/bars/daily/topix **cURL** ```bash curl -G https://api.jquants.com/v2/indices/bars/daily/topix \ -H "x-api-key: {{apiKey}}" \ -d from="{{from}}" \ -d to="{{to}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/indices/bars/daily/topix", { params: { from: '{{from}}', to: '{{to}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/indices/bars/daily/topix", params={ "from": "{{from}}", "to": "{{to}}", }, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | -------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | O | number | Required | 始値 | | H | number | Required | 高値 | | L | number | Required | 安値 | | C | number | Required | 終値 | ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2022-06-28", "O": 1885.52, "H": 1907.38, "L": 1885.32, "C": 1907.38 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/idx-bars-daily/indexcodes # 配信対象指数コード ## 各指数の留意点 > **Info** > > - 2022年4月の東証市場区分再編によりマザーズ市場は廃止されていますが、一定のルールに基づき東証マザーズ指数の構成銘柄の入替を行い、2023年11月6日より指数名称を「東証グロース市場250指数」に変更されています。詳細は[こちら](https://www.jpx.co.jp/news/6030/20230428-01.html)をご参照ください。 > - 「(Premium)」とある指数はPremiumプランのみで取得可能です。 > - 配当込み指数は終値のみを提供します。 | 指数コード | 指数名称 | データ収録期間 | | ----- | ---------------------------- | ------------------------------- | | 0000 | TOPIX | 2008/5/7〜 | | 0001 | 東証二部総合指数 | 2008/5/7〜2022/4/1 | | 0028 | TOPIX Core30 | 2008/5/7〜 | | 0029 | TOPIX Large 70 | 2008/5/7〜 | | 002A | TOPIX 100 | 2008/5/7〜 | | 002B | TOPIX Mid400 | 2008/5/7〜 | | 002C | TOPIX 500 | 2008/5/7〜 | | 002D | TOPIX Small | 2008/5/7〜 | | 002E | TOPIX 1000 | 2008/5/7〜 | | 002F | TOPIX Small500 | (四本値)2018/10/9〜 (終値のみ)2018/9/3〜 | | 0040 | 東証業種別 水産・農林業 | 2008/5/7〜 | | 0041 | 東証業種別 鉱業 | 2008/5/7〜 | | 0042 | 東証業種別 建設業 | 2008/5/7〜 | | 0043 | 東証業種別 食料品 | 2008/5/7〜 | | 0044 | 東証業種別 繊維製品 | 2008/5/7〜 | | 0045 | 東証業種別 パルプ・紙 | 2008/5/7〜 | | 0046 | 東証業種別 化学 | 2008/5/7〜 | | 0047 | 東証業種別 医薬品 | 2008/5/7〜 | | 0048 | 東証業種別 石油・石炭製品 | 2008/5/7〜 | | 0049 | 東証業種別 ゴム製品 | 2008/5/7〜 | | 004A | 東証業種別 ガラス・土石製品 | 2008/5/7〜 | | 004B | 東証業種別 鉄鋼 | 2008/5/7〜 | | 004C | 東証業種別 非鉄金属 | 2008/5/7〜 | | 004D | 東証業種別 金属製品 | 2008/5/7〜 | | 004E | 東証業種別 機械 | 2008/5/7〜 | | 004F | 東証業種別 電気機器 | 2008/5/7〜 | | 0050 | 東証業種別 輸送用機器 | 2008/5/7〜 | | 0051 | 東証業種別 精密機器 | 2008/5/7〜 | | 0052 | 東証業種別 その他製品 | 2008/5/7〜 | | 0053 | 東証業種別 電気・ガス業 | 2008/5/7〜 | | 0054 | 東証業種別 陸運業 | 2008/5/7〜 | | 0055 | 東証業種別 海運業 | 2008/5/7〜 | | 0056 | 東証業種別 空運業 | 2008/5/7〜 | | 0057 | 東証業種別 倉庫・運輸関連業 | 2008/5/7〜 | | 0058 | 東証業種別 情報・通信業 | 2008/5/7〜 | | 0059 | 東証業種別 卸売業 | 2008/5/7〜 | | 005A | 東証業種別 小売業 | 2008/5/7〜 | | 005B | 東証業種別 銀行業 | 2008/5/7〜 | | 005C | 東証業種別 証券・商品先物取引業 | 2008/5/7〜 | | 005D | 東証業種別 保険業 | 2008/5/7〜 | | 005E | 東証業種別 その他金融業 | 2008/5/7〜 | | 005F | 東証業種別 不動産業 | 2008/5/7〜 | | 0060 | 東証業種別 サービス業 | 2008/5/7〜 | | 0070 | 東証グロース市場250指数 (旧:東証マザーズ指数※) | 2008/5/7〜 | | 0075 | REIT | 2008/5/7〜 | | 0080 | TOPIX-17 食品 | 2009/2/2〜 | | 0081 | TOPIX-17 エネルギー資源 | 2009/2/2〜 | | 0082 | TOPIX-17 建設・資材 | 2009/2/2〜 | | 0083 | TOPIX-17 素材・化学 | 2009/2/2〜 | | 0084 | TOPIX-17 医薬品 | 2009/2/2〜 | | 0085 | TOPIX-17 自動車・輸送機 | 2009/2/2〜 | | 0086 | TOPIX-17 鉄鋼・非鉄 | 2009/2/2〜 | | 0087 | TOPIX-17 機械 | 2009/2/2〜 | | 0088 | TOPIX-17 電機・精密 | 2009/2/2〜 | | 0089 | TOPIX-17 情報通信・サービスその他 | 2009/2/2〜 | | 008A | TOPIX-17 電力・ガス | 2009/2/2〜 | | 008B | TOPIX-17 運輸・物流 | 2009/2/2〜 | | 008C | TOPIX-17 商社・卸売 | 2009/2/2〜 | | 008D | TOPIX-17 小売 | 2009/2/2〜 | | 008E | TOPIX-17 銀行 | 2009/2/2〜 | | 008F | TOPIX-17 金融(除く銀行) | 2009/2/2〜 | | 0090 | TOPIX-17 不動産 | 2009/2/2〜 | | 0091 | JASDAQ INDEX | 2008/5/7〜2022/4/1 | | 0500 | 東証プライム市場指数 | 2022/6/27〜 | | 0501 | 東証スタンダード市場指数 | 2022/6/27〜 | | 0502 | 東証グロース市場指数 | 2022/6/27〜 | | 0503 | JPXプライム150指数 | (四本値)2023/7/3〜 (終値のみ)2023/5/29〜 | | 0504 | JPXスタートアップ急成長100指数 | (四本値)2026/3/9〜 (終値のみ)2022/7/28〜 | | 8100 | TOPIX バリュー | 2009/2/9〜 | | 812C | TOPIX500 バリュー | 2009/2/9〜 | | 812D | TOPIXSmall バリュー | 2009/2/9〜 | | 8200 | TOPIX グロース | 2009/2/9〜 | | 822C | TOPIX500 グロース | 2009/2/9〜 | | 822D | TOPIXSmall グロース | 2009/2/9〜 | | 8501 | 東証REIT オフィス指数 | (四本値)2010/3/8〜 (終値のみ)2010/3/1〜 | | 8502 | 東証REIT 住宅指数 | (四本値)2010/3/8〜 (終値のみ)2010/3/1〜 | | 8503 | 東証REIT 商業・物流等指数 | (四本値)2010/3/8〜 (終値のみ)2010/3/1〜 | | 6000 | 配当込みTOPIX 終値 | 2010/1/4〜 | | B507 | 配当込みJPX日経インデックス400 終値 | 2013/11/18〜 | | 6096 | 税引後配当込みJPX日経インデックス400 終値 | 2015/10/26〜 | | 6095 | 税引後配当込み TOPIX 終値 | 2015/10/26〜 | | 6028 | 配当込みTOPIX Core30 終値 | (Premium)2010/1/4〜 | | 6029 | 配当込みTOPIX Large70 終値 | (Premium)2010/1/4〜 | | 602A | 配当込みTOPIX 100 終値 | (Premium)2010/1/4〜 | | 602B | 配当込みTOPIX Mid400 終値 | (Premium)2010/1/4〜 | | 602C | 配当込みTOPIX 500 終値 | (Premium)2010/1/4〜 | | 602D | 配当込みTOPIX Small 終値 | (Premium)2010/1/4〜 | | 602E | 配当込みTOPIX 1000 終値 | (Premium)2010/1/4〜 | | 6040 | 配当込み東証業種別 水産・農林業 終値 | (Premium)2010/1/4〜 | | 6041 | 配当込み東証業種別 鉱業 終値 | (Premium)2010/1/4〜 | | 6042 | 配当込み東証業種別 建設業 終値 | (Premium)2010/1/4〜 | | 6043 | 配当込み東証業種別 食料品 終値 | (Premium)2010/1/4〜 | | 6044 | 配当込み東証業種別 繊維製品 終値 | (Premium)2010/1/4〜 | | 6045 | 配当込み東証業種別 パルプ・紙 終値 | (Premium)2010/1/4〜 | | 6046 | 配当込み東証業種別 化学 終値 | (Premium)2010/1/6〜 | | 6047 | 配当込み東証業種別 医薬品 終値 | (Premium)2010/1/4〜 | | 6048 | 配当込み東証業種別 石油・石炭製品 終値 | (Premium)2010/1/4〜 | | 6049 | 配当込み東証業種別 ゴム製品 終値 | (Premium)2010/1/4〜 | | 604A | 配当込み東証業種別 ガラス・土石製品 終値 | (Premium)2010/1/4〜 | | 604B | 配当込み東証業種別 鉄鋼 終値 | (Premium)2010/1/4〜 | | 604C | 配当込み東証業種別 非鉄金属 終値 | (Premium)2010/1/4〜 | | 604D | 配当込み東証業種別 金属製品 終値 | (Premium)2010/1/4〜 | | 604E | 配当込み東証業種別 機械 終値 | (Premium)2010/1/4〜 | | 604F | 配当込み東証業種別 電気機器 終値 | (Premium)2010/1/4〜 | | 6050 | 配当込み東証業種別 輸送用機器 終値 | (Premium)2010/1/4〜 | | 6051 | 配当込み東証業種別 精密機器 終値 | (Premium)2010/1/4〜 | | 6052 | 配当込み東証業種別 その他製品 終値 | (Premium)2010/1/4〜 | | 6053 | 配当込み東証業種別 電気・ガス業 終値 | (Premium)2010/1/4〜 | | 6054 | 配当込み東証業種別 陸運業 終値 | (Premium)2010/1/4〜 | | 6055 | 配当込み東証業種別 海運業 終値 | (Premium)2010/1/4〜 | | 6056 | 配当込み東証業種別 空運業 終値 | (Premium)2010/1/4〜 | | 6057 | 配当込み東証業種別 倉庫・運輸関連業 終値 | (Premium)2010/1/4〜 | | 6058 | 配当込み東証業種別 情報・通信業 終値 | (Premium)2010/1/4〜 | | 6059 | 配当込み東証業種別 卸売業 終値 | (Premium)2010/1/4〜 | | 605A | 配当込み東証業種別 小売業 終値 | (Premium)2010/1/4〜 | | 605B | 配当込み東証業種別 銀行業 終値 | (Premium)2010/1/4〜 | | 605C | 配当込み東証業種別 証券・商品先物取引業 終値 | (Premium)2010/1/4〜 | | 605D | 配当込み東証業種別 保険業 終値 | (Premium)2010/1/4〜 | | 605E | 配当込み東証業種別 その他金融業 終値 | (Premium)2010/1/4〜 | | 605F | 配当込み東証業種別 不動産業 終値 | (Premium)2010/1/4〜 | | 6060 | 配当込み東証業種別 サービス業 終値 | (Premium)2010/1/4〜 | | 6080 | 配当込みTOPIX-17 食品 終値 | (Premium)2010/1/4〜 | | 6081 | 配当込みTOPIX-17 エネルギー資源 終値 | (Premium)2010/1/4〜 | | 6082 | 配当込みTOPIX-17 建設・資材 終値 | (Premium)2010/1/4〜 | | 6083 | 配当込みTOPIX-17 素材・化学 終値 | (Premium)2010/1/4〜 | | 6084 | 配当込みTOPIX-17 医薬品 終値 | (Premium)2010/1/4〜 | | 6085 | 配当込みTOPIX-17 自動車・輸送機 終値 | (Premium)2010/1/4〜 | | 6086 | 配当込みTOPIX-17 鉄鋼・非鉄 終値 | (Premium)2010/1/4〜 | | 6087 | 配当込みTOPIX-17 機械 終値 | (Premium)2010/1/4〜 | | 6088 | 配当込みTOPIX-17 電機・精密 終値 | (Premium)2010/1/4〜 | | 6089 | 配当込みTOPIX-17 情報通信・サービスその他 終値 | (Premium)2010/1/4〜 | | 608A | 配当込みTOPIX-17 電力・ガス 終値 | (Premium)2010/1/4〜 | | 608B | 配当込みTOPIX-17 運輸・物流 終値 | (Premium)2010/1/4〜 | | 608C | 配当込みTOPIX-17 商社・卸売 終値 | (Premium)2010/1/4〜 | | 608D | 配当込みTOPIX-17 小売 終値 | (Premium)2010/1/4〜 | | 608E | 配当込みTOPIX-17 銀行 終値 | (Premium)2010/1/4〜 | | 608F | 配当込みTOPIX-17 金融(除く銀行) 終値 | (Premium)2010/1/4〜 | | 6090 | 配当込みTOPIX-17 不動産 終値 | (Premium)2010/1/4〜 | | B100 | 配当込みTOPIX バリュー 終値 | (Premium)2010/1/4〜 | | B200 | 配当込みTOPIX グロース 終値 | (Premium)2010/1/4〜 | | B12C | 配当込みTOPIX500 バリュー 終値 | (Premium)2010/1/4〜 | | B22C | 配当込みTOPIX500 グロース 終値 | (Premium)2010/1/4〜 | | B12D | 配当込みTOPIXSmall バリュー 終値 | (Premium)2010/1/4〜 | | B22D | 配当込みTOPIXSmall グロース 終値 | (Premium)2010/1/4〜 | | 6075 | 配当込みREIT 終値 | (Premium)2010/1/4〜 | | B500 | 配当込み配当フォーカス100 終値 | (Premium)2010/3/1〜 | | B501 | 配当込み東証REIT オフィス指数 終値 | (Premium)2010/3/1〜 | | B502 | 配当込み東証REIT 住宅指数 終値 | (Premium)2010/3/1〜 | | B503 | 配当込み東証REIT 商業・物流等指数 終値 | (Premium)2010/3/1〜 | | 7000 | 配当込み東証プライム市場指数 終値 | (Premium)2022/4/4〜 | | 7001 | 配当込み東証スタンダード市場指数 終値 | (Premium)2022/4/4〜 | | 7002 | 配当込み東証グロース市場指数 終値 | (Premium)2022/4/4〜 | | 6503 | 配当込みJPXプライム150指数 終値 | (Premium)2023/5/29〜 | | 6504 | 配当込みJPXスタートアップ急成長100指数 終値 | (Premium)2022/7/28〜 | --- Source: https://jpx-jquants.com/ja/spec/idx-bars-daily # 指数四本値(/indices/bars/daily) `GET` /v2/indices/bars/daily ## APIの概要 各種指数の四本値データを取得することができます。 現在配信している指数につきましては、[こちらのページ](https://jpx-jquants.com/ja/spec/idx-bars-daily/indexcodes)を参照ください。 ### 本APIの留意点 > **Info** > > - 2022年4月の東証市場区分再編によりマザーズ市場は廃止されていますが、一定のルールに基づき東証マザーズ指数の構成銘柄の入替を行い、2023年11月6日より指数名称を「東証グロース市場250指数」に変更されています。詳細は[こちら](https://www.jpx.co.jp/news/6030/20230428-01.html)をご参照ください。 > - 2020年10月1日のデータは東京証券取引所の株式売買システムの障害により終日売買停止となった関係で、四本値は前営業日(2020年10月1日)の終値が収録されています。 > - 一部の指数についてはPremiumプランのみ取得可能です。 > - 一部の指数については、終値のみを提供します。 ### 提供していない指数・項目 配信対象の指数は[配信対象指数コード](https://jpx-jquants.com/ja/spec/idx-bars-daily/indexcodes)を参照ください。以下の指数・項目は提供しておりません。 > **Info** > > - 日経平均株価(現物指数)は提供しておりません。 > - 指数四本値のレスポンスに売買代金・売買高は含まれません。 ## 日次の指数四本値データを取得します `GET` `https://api.jquants.com/v2/indices/bars/daily` データの取得では、指数コード(code)または日付(date)の指定が必須となります。 ### パラメータ及びレスポンス データの取得する際には、指数コード(code)または日付(date)の指定が必須となります。\ 各パラメータの組み合わせとレスポンスの結果については以下のとおりです。 - code: ✓, date: –, from /to: – → 指定された銘柄について全期間分のデータ - code: ✓, date: ✓, from /to: – → 指定された銘柄について指定された日付のデータ - code: ✓, date: –, from /to: ✓ → 指定された銘柄について指定された期間分のデータ - code: –, date: ✓, from /to: – → 配信している指数全てについて指定された日付のデータ ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | APIキー | ### Query Parameters > **Note** > > **code** または **date** のいずれか一つの指定が必須です。 | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------ | | code | string | Optional | 指数コード(e.g. 0000 or 0028) 配信対象の指数コードについては[配信対象指数コード](https://jpx-jquants.com/ja/spec/idx-bars-daily/indexcodes)を参照してください。 | | date | string | Optional | from と to を指定しないとき(e.g. 20210907 or 2021-09-07) | | from | string | Optional | from の指定(e.g. 20210901 or 2021-09-01) | | to | string | Optional | to の指定(e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | 検索の先頭を指定する文字列 過去の検索で返却された pagination\_key を設定 | ### APIコールサンプルコード /v2/indices/bars/daily **cURL** ```bash curl -G https://api.jquants.com/v2/indices/bars/daily \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/indices/bars/daily", { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/indices/bars/daily", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### データ項目概要 | Parameter | Type | Required | Description | | --------- | ------ | -------- | --------------------------------------------------------------------------- | | Date | string | Required | 日付(YYYY-MM-DD) | | Code | string | Required | 指数コード 配信対象の指数コードは[こちらのページ](https://jpx-jquants.com/ja/spec/idx-bars-daily/indexcodes)を参照ください。 | | O | number | Required | 始値(※) | | H | number | Required | 高値(※) | | L | number | Required | 安値(※) | | C | number | Required | 終値 | ※ 終値のみ提供の指数についてはNullが設定されます。 ### レスポンスサンプル ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-12-01", "Code": "0028", "O": 1199.18, "H": 1202.58, "L": 1195.01, "C": 1200.17 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/ja/spec/jquants-cli # J-Quants CLI J-Quants API V2 を利用して日本株式市場のデータを取得できる CLI ツール `jquants` の使い方を説明します。 > **Note** > > セットアップ・グローバルオプション・代表的な使い方を中心に解説しています。サブコマンドのオプション一覧は `jquants <グループ> <サブコマンド> --help` で確認できます。 ## 前提条件 - **アカウント登録:** J-Quants API V2 を利用するには[アカウント登録](https://jpx-jquants.com/register)が必要です。 - **プラン選択:** データ取得には Free / Light / Standard / Premium のいずれかのプランを選択してください。なお、プランによってアクセスできるエンドポイントが異なりますので、ご注意ください。 ## インストール ### Homebrew(macOS / Linux) ```bash brew install J-Quants/tap/jquants ``` > **Note** > > Homebrew 6.0.0 以降では、セキュリティ強化のためサードパーティ tap の formula を利用する際に明示的な信頼(trust)が必要になりました。tap が信頼されていない旨のエラーが表示された場合は、以下のコマンドで formula を信頼してから再度インストールしてください。 > > ```bash > brew trust --formula J-Quants/tap/jquants > ``` > > 詳細は [Homebrew 公式ドキュメント(Tap Trust)](https://docs.brew.sh/Tap-Trust)を参照してください。 ### GitHub Releases [Releases ページ](https://github.com/J-Quants/jquants-cli/releases)から各プラットフォーム向けのビルド済みバイナリをダウンロードし、`PATH` の通ったディレクトリに配置してください。 | OS | アーキテクチャ | ファイル | | ------- | --------------------- | ----------------------------------------------------- | | macOS | Intel (x86\_64) | `jquants-{version}-x86_64-apple-darwin.tar.gz` | | macOS | Apple Silicon (ARM64) | `jquants-{version}-aarch64-apple-darwin.tar.gz` | | Linux | x86\_64 (musl) | `jquants-{version}-x86_64-unknown-linux-musl.tar.gz` | | Linux | ARM64 (musl) | `jquants-{version}-aarch64-unknown-linux-musl.tar.gz` | | Windows | x86\_64 | `jquants-{version}-x86_64-pc-windows-msvc.zip` | ## 認証(セットアップ) ### 推奨: OAuth2 ブラウザログイン ```bash jquants login ``` 実行するとブラウザが自動で開き、J-Quants アカウントでログインすると API Key が `~/.config/jquants/credentials.json` に保存されます。以降は API Key を明示的に指定する必要はありません。 ### API Key を直接指定(代替手段) 環境変数または `.env` ファイルで設定できます。 ```bash {{ title: "環境変数" }} export JQUANTS_API_KEY=your_api_key_here ``` ```ini {{ title: ".env ファイル" }} # .env ファイル(プロジェクトルートに配置) JQUANTS_API_KEY=your_api_key_here ``` API Key は [J-Quants Dashboard](https://jpx-jquants.com/dashboard/api-keys) から取得してください。 **認証優先順位:** `~/.config/jquants/credentials.json` の api\_key → `JQUANTS_API_KEY` 環境変数 → エラー > **Note** > > - `credentials.json` や `JQUANTS_API_KEY` をリポジトリにコミットしないでください。 > - `.env` ファイルは `.gitignore` に追加し、バージョン管理から除外してください。 ### ログアウト ```bash jquants logout ``` ブラウザでログインセッションをクリアし、`~/.config/jquants/credentials.json` を削除します。 ## AI Agent 連携 本ツールには AI Agent(Claude Code 等)向けの Skills ファイルが同梱されています。以下のコマンドでインストールしてください。 ```bash {{ title: "npx" }} npx skills add J-Quants/jquants-cli ``` ```bash {{ title: "jquants CLI(カレントディレクトリ)" }} # カレントディレクトリに配置 jquants skills add ``` ```bash {{ title: "jquants CLI(ディレクトリ指定)" }} # .claude/skills/jquants-cli-usage/ が作成される jquants skills add --dir .claude/skills ``` ## 基本的な使い方 ### グローバルオプションの位置 `--output`、`--save`、`--fields` はすべて**サブコマンドの前**に指定する必要があります。 ```bash {{ title: "正しい書き方" }} # ✅ 正しい jquants --output csv eq daily --code 86970 jquants --output json --save out.json eq master ``` ```bash {{ title: "誤った書き方" }} # ❌ 誤り(サブコマンドの後ろは無効) jquants eq daily --code 86970 --output csv ``` ### 出力フォーマット `--output`(`-o`)フラグで出力形式を選択します。 | フォーマット | 説明 | | --------- | ------------------------------ | | `table` | テーブル形式(デフォルト)。列名は省略表記 | | `json` | JSON 形式。全フィールドを完全な名前で出力 | | `csv` | CSV 形式。パイプ時も自動で切り替わる | | `parquet` | Apache Parquet 形式。`--save` が必須 | ```bash jquants eq daily --code 86970 # テーブル表示(デフォルト) jquants --output json eq daily --code 86970 # JSON 出力(全フィールド) jquants --output csv eq master # CSV 出力 jquants --output parquet --save out.parquet eq daily --code 86970 # Parquet 保存 ``` > **Note** > > `--output parquet` を使う場合は **`--save` が必須**です。`--save` なしで指定するとエラーになります。 ### フィールド選択 `--fields`(`-f`)で取得するフィールドを絞り込めます。フィールド名は JSON / CSV のキー名(API のフィールド名)を使用します。テーブル表示の省略列名とは異なります。 ```bash # 銘柄コード・日付・調整済み終値のみ取得 jquants -f Date,Code,AdjC eq daily --code 86970 # 複数フィールドを CSV で保存 jquants --output csv --save prices.csv -f Date,Code,Open,High,Low,Close,Volume eq daily --code 86970 ``` ### フィールド名の確認方法 `jquants schemaNote: Specified investment shares are held to maintain and strengthen business relationships.
", "DeemFn": "(Note 3) These shares are effectively held through a retirement benefit trust, and the reporter retains voting-direction authority under the trust agreement. Prior-period share counts and book values are not disclosed due to a change in the trust contract.
" }, "Largest": null, "SecondLargest": { "HldrName": "株式会社東京証券取引所", "HldrCode": null, "HldrEdinetCode": null, "ListedIss": 0, "ListedBookVal": 0, "ListedIncIss": 0, "ListedIncAcqCost": 0, "ListedDecIss": 0, "ListedDecSaleAmt": 0, "ListedIncRsn": null, "NonListedIss": 2, "NonListedBookVal": 953000000, "NonListedIncIss": 0, "NonListedIncAcqCost": 0, "NonListedDecIss": 0, "NonListedDecSaleAmt": 0, "NonListedIncRsn": null, "Spec": [], "Deem": [], "SpecFn": null, "DeemFn": null } } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/edinet-large-volume-shareholders # Large Volume Holding Reports (EDINET)(/edinet/large-volume-shareholders) `GET` /v2/edinet/large-volume-shareholders ## Overview Retrieves the issuer and filer information disclosed in Large Volume Holding Reports, their Change Reports, and Amendment Reports. ## Attention > **Info** > > - Available for filings submitted on or after July 1, 2021. Target documents are Large Volume Holding Reports and Change Reports (document type code 350) and Amendment Reports (document type code 360). > - An Amendment Report does not replace the document it amends; it is added as a separate record. The Amendment Report record includes the document management number of the document being amended (`ParDocId`). > - The method for calculating the number of share certificates held and the holding ratio may change due to regulatory revisions. Because such a change can give rise to a filing obligation, please note that a filing, or a change in the reported values, does not necessarily involve a purchase or sale. ※ Effective May 1, 2026, amendments to the Large Shareholding Reporting Rule changed its scope, the calculation of shareholding ratios, the definition of joint holders, and the reporting forms. Accordingly, changes in the number of shares held, shareholding ratios, or holder composition around this date may occur without any acquisition or disposal of shares. In particular, for reports with a reporting obligation date of May 1, 2026, do not identify trading activity solely from differences from the previous report. Also review the acquisitions and disposals during the preceding 60 days, the reason for the change, and the original report where necessary. The applicable rules and reporting forms are determined by the date on which the reporting obligation arose, rather than the filing date. For further information, please refer to the [materials published by the Financial Services Agency](https://www.fsa.go.jp/en/newsletter/weekly2025/644.html). > - Available on the Standard plan or higher (Free / Light plans cannot use this API). Historical range: Standard up to 10 years, Premium up to 20 years. > - Large volume holding data is available via API only. File download (CSV / Bulk) is not supported. ## Retrieve the large volume holding reports `GET` `https://api.jquants.com/v2/edinet/large-volume-shareholders` `edinet_code` / `code` / `date` are all optional.\ The parameter combinations and response are as follows. - edinet\_code/code: –, date: – → All filings submitted today - edinet\_code/code: ✓, date: – → Filings for the specified issuer's EDINET code / issue code (within the plan's historical range) - edinet\_code/code: –, date: ✓ → All filings submitted on the specified date - edinet\_code/code: ✓, date: ✓ → Filings for the specified issuer's EDINET code / issue code submitted on the specified date ※ Specifying both `edinet_code` and `code` at the same time returns an error (400).\ ※ If no matching data exists, an empty array (`"data": []`) is returned. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------- | | edinet\_code | string | Optional | EDINET code of the issuer (e.g. E03814) | | code | string | Optional | Issue code of the issuer (e.g. 86970 or 8697) | | date | string | Optional | Submission date (e.g. 20250620 or 2025-06-20) | | pagination\_key | string | Optional | Pagination key string Specify the value returned by the previous call's pagination\_key. | ### Sample request code /v2/edinet/large-volume-shareholders **cURL** ```bash curl -G https://api.jquants.com/v2/edinet/large-volume-shareholders \ -H "x-api-key: {{apiKey}}" \ -d edinet_code="{{edinet_code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/edinet/large-volume-shareholders', { params: { edinet_code: '{{edinet_code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/edinet/large-volume-shareholders", params={"edinet_code": "{{edinet_code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Response fields #### Document metadata (one object per filing) | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | DocId | string | Required | EDINET document management number (`S` + 7 alphanumeric characters) | | Code | string | Required | Issue code of the issuer (5 digits) | | EdinetCode | string | Required | EDINET code of the issuer | | IsrName | string | Required | Issuer name | | DocTypeCode | string | Required | Document type code (`350` = Large Volume Holding Report family / `360` = Large Volume Holding Report family (Amendment)) | | SubDate | string | Required | Submission date (YYYY-MM-DD) | | SubTime | string | Required | Submission time (HH:MM:SS) | | RptOblgDate | string | Required | Reporting obligation date (YYYY-MM-DD) | | ParDocId | string | Required | Document management number of the document being amended (Amendment Reports only) | | LargeHldgTypeCode | string | Required | Report type code (`1`=Large Volume Holding Report / `2`=Change Report / `3`=Change Report (short-term large volume transfer) / `4`=Large Volume Holding Report (securities subject to special provisions) / `5`=Change Report (securities subject to special provisions) / `6`=Amendment Report / `0`=Unknown) | | DocTitle | string | Required | Document title | | ChgRsn | string | Required | Reason for the change as of the reporting obligation date (Change Reports only) | | TotalShsHeld | number | Required | Total number of share certificates, etc. held | | TotalShsRatio | number | Required | Total holding ratio of share certificates, etc. Decimal expression (0.1343 = 13.43%) | | TotalShsRatioLast | number | Required | Total holding ratio per the previous report (Change Reports only) | | TotalOutStks | number | Required | Total number of outstanding shares, etc. | | Hldrs | array | Required | Array of the filer and joint holders | #### Hldrs array element | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | ---------------------------------------------------------------------------------------------------- | | HldrName | string | Required | Name of the holder | | HldrNameEn | string | Required | Name of the holder (English) | | HldrEdinetCode | string | Required | EDINET code of the holder | | HldrCode | string | Required | Issue code of the holder (when the holder is a listed company, etc.) | | LargeHldrTypeCode | string | Required | Holder type code (`1`=Individual / `2`=Corporation / `0`=Unknown) | | LargeHldrTypeRaw | string | Required | Raw holder-type text as stated in the filing | | HldgPurp | string | Required | Purpose of holding | | ImpProp | string | Required | Act of making important proposals, etc. | | ColAgr | string | Required | Material contracts such as collateral agreements | | ShsHeld | number | Required | Number of share certificates, etc. held | | ShsRatio | number | Required | Holding ratio of share certificates, etc. Decimal expression (0.0572 = 5.72%) | | ShsRatioLast | number | Required | Holding ratio per the previous report (Change Reports only) | | OwnFund | number | Required | Acquisition funds: own funds (JPY) | | TotalBrw | number | Required | Acquisition funds: total borrowings (JPY) | | TotalOther | number | Required | Acquisition funds: total from other sources (JPY) | | OtherBrk | string | Required | Breakdown of the total amount from other sources (e.g. shares acquired via stock split), when stated | | TotalFund | number | Required | Total acquisition funds (JPY) | | AcqDisp | array | Required | Array of acquisitions / disposals during the last 60 days | | BrwList | array | Required | Array of the breakdown of borrowings | | CredList | array | Required | Array of the names, etc. of creditors | #### AcqDisp array element (acquisitions / disposals during the last 60 days) | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ------------------------------------------------------------------------------------------------- | | Date | string | Required | Date (YYYY-MM-DD) | | SecType | string | Required | Type of share certificates, etc. (e.g. common shares) | | Shs | number | Required | Number of shares | | Ratio | number | Required | Ratio (%) | | Mkt | string | Required | On-market / off-market distinction (raw text as stated in the filing) | | MktCode | string | Required | On-market / off-market code (`1`=on-market / `2`=off-market) | | TxnType | string | Required | Acquisition / disposal distinction (raw text as stated in the filing) | | TxnTypeCode | string | Required | Acquisition / disposal code (`1`=acquisition / `2`=disposal) | | Cptty | string | Required | Counterparty of the transfer (stated only in Change Reports for short-term large volume transfer) | | Price | number | Required | Unit price (JPY) | | PriceRaw | string | Required | Raw unit-price value | #### BrwList array element (breakdown of borrowings) | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------- | | Name | string | Required | Name (including branch name) | | Ind | string | Required | Industry | | Rep | string | Required | Name of the representative | | Addr | string | Required | Address | | DiscBrwPurp | string | Required | Disclosure of borrowing purpose (`1`=not disclosed to banks / `2`=disclosed to banks and non-bank borrowings) | | Amt | number | Required | Amount (JPY) | #### CredList array element (names, etc. of creditors) | Parameter | Type | Required | Description | | --------- | ------ | -------- | ---------------------------- | | Name | string | Required | Name (including branch name) | | Rep | string | Required | Name of the representative | | Addr | string | Required | Address | ### Sample response ```bash {{ title: "200:OK" }} { "data": [ { "DocId": "S100WBIV", "Code": "86970", "EdinetCode": "E03814", "IsrName": "株式会社日本取引所グループ", "DocTypeCode": "350", "SubDate": "2025-07-07", "SubTime": "12:09:00", "RptOblgDate": "2025-06-30", "ParDocId": null, "LargeHldgTypeCode": "5", "DocTitle": "変更報告書NO.9", "ChgRsn": "・株券等保有割合の1%以上の増加", "TotalShsHeld": 76018630, "TotalShsRatio": 0.0728, "TotalShsRatioLast": 0.0614, "TotalOutStks": 1044578366, "Hldrs": [ { "HldrName": "サンプル・アセットマネジメント株式会社", "HldrNameEn": "Sample Asset Management Co., Ltd.", "HldrEdinetCode": "E99990", "HldrCode": null, "LargeHldrTypeCode": "2", "LargeHldrTypeRaw": "法人(株式会社)", "HldgPurp": "信託財産の運用として保有している。", "ImpProp": null, "ColAgr": null, "ShsHeld": 59555500, "ShsRatio": 0.057, "ShsRatioLast": 0.0506, "OwnFund": null, "TotalBrw": null, "TotalOther": null, "OtherBrk": null, "TotalFund": null, "AcqDisp": [], "BrwList": [], "CredList": [] }, { "HldrName": "サンプル証券株式会社", "HldrNameEn": "Sample Securities Co., Ltd.", "HldrEdinetCode": "E99991", "HldrCode": null, "LargeHldrTypeCode": "2", "LargeHldrTypeRaw": "法人(株式会社)", "HldgPurp": "証券業務に係る商品在庫として保有している。", "ImpProp": null, "ColAgr": "消費貸借契約により、サンプル信託銀行株式会社から1,000,000株 借入れている。(本項目はサンプルです)", "ShsHeld": 8893542, "ShsRatio": 0.0085, "ShsRatioLast": 0.0095, "OwnFund": 300000000, "TotalBrw": 500000000, "TotalOther": null, "OtherBrk": null, "TotalFund": 800000000, "AcqDisp": [ { "Date": "2025-06-20", "SecType": "普通株式", "Shs": 100000, "Ratio": 0.01, "Mkt": "市場内", "MktCode": "1", "TxnType": "取得", "TxnTypeCode": "1", "Cptty": null, "Price": 3800, "PriceRaw": null } ], "BrwList": [ { "Name": "サンプル銀行株式会社", "Ind": "銀行", "Rep": "代表取締役 見本 太郎", "Addr": "東京都千代田区丸の内一丁目1番1号", "DiscBrwPurp": "2", "Amt": 500000000 } ], "CredList": [ { "Name": "サンプル信託銀行株式会社", "Rep": "代表取締役 例示 花子", "Addr": "東京都千代田区大手町一丁目1番1号" } ] } ] } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/edinet-major-shareholders # Major Shareholders (EDINET)(/edinet/major-shareholders) `GET` /v2/edinet/major-shareholders ## Overview Retrieves the major shareholders disclosed in the Annual Securities Report, the Semiannual Report and the Quarterly Report. ## Attention > **Info** > > - Available from June 1, 2016 onward. Target documents are the Annual Securities Report (Form No.3), the Semiannual Report (Form No.4-3 and Form No.5) and the Quarterly Report (Form No.4-3). > - Following the abolition of quarterly reports on April 1, 2024, quarterly report data is available only through October 2024. > - Semiannual report data (Form No. 5) submitted by domestic unlisted companies is available only from June 2023 onward. > - Available on the Standard plan or higher (Free / Light plans cannot use this API). Historical range: Standard up to 10 years, Premium up to 20 years. > - Major shareholders data typically contains the top 10 entries, but may include 11 or more when the report lists tied ranks, or only one when the issuer has a single 100%-owning parent. > - Major shareholders data is available via API only. File download (CSV / Bulk) is not supported. ## Retrieve the major shareholders status `GET` `https://api.jquants.com/v2/edinet/major-shareholders` `edinet_code` / `code` / `date` are all optional.\ The parameter combinations and response are as follows. - edinet\_code/code: –, date: – → All reports submitted today - edinet\_code/code: ✓, date: – → Reports for the specified EDINET code / issue code (within the plan's historical range) - edinet\_code/code: –, date: ✓ → All reports submitted on the specified date - edinet\_code/code: ✓, date: ✓ → The report for the specified EDINET code / issue code submitted on the specified date ※ Specifying both `edinet_code` and `code` at the same time returns an error (400).\ ※ If no matching data exists, an empty array (`"data": []`) is returned. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------- | | edinet\_code | string | Optional | EDINET code (e.g. E03814) | | code | string | Optional | Issue code (e.g. 86970 or 8697) | | date | string | Optional | Submission date (e.g. 20250620 or 2025-06-20) | | pagination\_key | string | Optional | Pagination key string Specify the value returned by the previous call's pagination\_key. | ### Sample request code /v2/edinet/major-shareholders **cURL** ```bash curl -G https://api.jquants.com/v2/edinet/major-shareholders \ -H "x-api-key: {{apiKey}}" \ -d edinet_code="{{edinet_code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/edinet/major-shareholders', { params: { edinet_code: '{{edinet_code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/edinet/major-shareholders", params={"edinet_code": "{{edinet_code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Response fields #### Document metadata (one object per filing) | Parameter | Type | Required | Description | | ----------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------- | | DocId | string | Required | EDINET document management number (`S` + 7 alphanumeric characters) | | Code | string | Required | Issue code of the filer (5 digits) | | EdinetCode | string | Required | EDINET code of the filer | | FilerName | string | Required | Filer name (Japanese) | | FilerNameEn | string | Required | Filer name (English) | | DocTypeCode | string | Required | Document type code (`120` = Annual Securities Report, `140` = Quarterly Report, `160` = Semiannual Report) | | SubDate | string | Required | Submission date (YYYY-MM-DD) | | SubTime | string | Required | Submission time (HH:MM:SS) | | PerSt | string | Required | Start date of the current fiscal year (YYYY-MM-DD) | | PerEn | string | Required | End date of the current fiscal year (YYYY-MM-DD) | | CurPerSt | string | Required | Start date of the current accounting period (YYYY-MM-DD) | | CurPerEn | string | Required | End date of the current accounting period (YYYY-MM-DD) | | Hldrs | array | Required | Array of shareholder records, sorted by Rank ascending | #### Hldrs array element | Parameter | Type | Required | Description | | --------- | ------- | -------- | ------------------------------------------------------------------------------------------------ | | Rank | integer | Required | Rank (1–10; 11+ for ties) | | HldrName | string | Required | Name of the shareholder | | HldrAddr | string | Required | Address of the shareholder | | ShsHeld | number | Required | Number of shares held | | ShsRatio | number | Required | Ratio of shares held to issued shares (excluding treasury). Decimal expression (0.1881 = 18.81%) | ### Response sample ```bash {{ title: "200:OK" }} { "data": [ { "DocId": "S100YA84", "Code": "86970", "EdinetCode": "E03814", "FilerName": "株式会社日本取引所グループ", "FilerNameEn": "Japan Exchange Group, Inc.", "DocTypeCode": "120", "SubDate": "2026-06-11", "SubTime": "15:00:00", "PerSt": "2025-04-01", "PerEn": "2026-03-31", "CurPerSt": "2025-04-01", "CurPerEn": "2026-03-31", "Hldrs": [ { "Rank": 1, "HldrName": "日本マスタートラスト信託銀行株式会社(信託口)", "HldrAddr": "東京都港区赤坂1丁目8番1号 赤坂インターシティAIR", "ShsHeld": 175830000, "ShsRatio": 0.1704 }, { "Rank": 2, "HldrName": "株式会社日本カストディ銀行(信託口)", "HldrAddr": "東京都中央区晴海1丁目8-12", "ShsHeld": 56970000, "ShsRatio": 0.0552 }, { "Rank": 3, "HldrName": "STATE STREET BANK AND TRUST COMPANY 505001(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "ONE CONGRESS STREET, SUITE 1, BOSTON, MASSACHUSETTS(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 26685000, "ShsRatio": 0.0259 }, { "Rank": 4, "HldrName": "STATE STREET BANK AND TRUST COMPANY 505301(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "ONE CONGRESS STREET, SUITE 1, BOSTON, MASSACHUSETTS(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 17838000, "ShsRatio": 0.0173 }, { "Rank": 5, "HldrName": "JPモルガン証券株式会社", "HldrAddr": "東京都千代田区丸の内2丁目7-3 東京ビルディング", "ShsHeld": 15316000, "ShsRatio": 0.0148 }, { "Rank": 6, "HldrName": "JP MORGAN CHASE BANK 385781(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "25 BANK STREET, CANARY WHARF, LONDON, E14 5JP, UNITED KINGDOM(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 15139000, "ShsRatio": 0.0147 }, { "Rank": 7, "HldrName": "株式会社三菱UFJ銀行", "HldrAddr": "東京都千代田区丸の内1丁目4番5号", "ShsHeld": 15114000, "ShsRatio": 0.0146 }, { "Rank": 8, "HldrName": "STATE STREET BANK AND TRUST COMPANY 505103(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "ONE CONGRESS STREET, SUITE 1, BOSTON, MASSACHUSETTS(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 14996000, "ShsRatio": 0.0145 }, { "Rank": 9, "HldrName": "HSBC HONG KONG-TREASURY SERVICES A/C ASIAN EQUITIES DERIVATIVES(常任代理人 香港上海銀行東京支店)", "HldrAddr": "1 QUEEN’S ROAD CENTRAL,HONG KONG(東京都中央区日本橋3丁目11-1)", "ShsHeld": 14484000, "ShsRatio": 0.014 }, { "Rank": 10, "HldrName": "J.P. MORGAN BANK LUXEMBOURG S.A. 384513(常任代理人 株式会社みずほ銀行決済営業部)", "HldrAddr": "EUROPEAN BANK AND BUSINESS CENTER 6, ROUTE DE TREVES, L-2633 SENNINGERBERG, LUXEMBOURG(東京都港区港南2丁目15-1 品川インターシティA棟)", "ShsHeld": 14035000, "ShsRatio": 0.0136 } ] }, { "DocId": "S100XBRL", "Code": "86970", "EdinetCode": "E03814", "FilerName": "株式会社日本取引所グループ", "FilerNameEn": "Japan Exchange Group, Inc.", "DocTypeCode": "160", "SubDate": "2025-11-14", "SubTime": "15:00:00", "PerSt": "2025-04-01", "PerEn": "2026-03-31", "CurPerSt": "2025-04-01", "CurPerEn": "2025-09-30", "Hldrs": [ { "Rank": 1, "HldrName": "日本マスタートラスト信託銀行株式会社(信託口)", "HldrAddr": "東京都港区赤坂1丁目8番1号 赤坂インターシティAIR", "ShsHeld": 176520000, "ShsRatio": 0.1711 } ] } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/eq-bars-daily-am # Morning Session Stock Prices (OHLC) (/equities/bars/daily/am) `GET` /v2/equities/bars/daily/am ## Overview You can obtain the morning session's high, low, opening, and closing prices for individual stocks as quick updates at noon. ### Attention > **Info** > > - Null is recorded for the open, high, low, close, volume and trading value for stocks for which there is no trading volume in the morning session. > - Stocks that are not listed on the TSE (including issue listed only on the other exchanges) are not included in the data. > - Data for the day can be obtained until around 6:00 the next day. > For historical data, please use [Stock Prices (OHLC)](https://jpx-jquants.com/en/spec/eq-bars-daily). ## Get stock prices in the morning session `GET` `https://api.jquants.com/v2/equities/bars/daily/am` In your request message, "code" can be specified. ### Parameter and Response In your request message, "code" can be specified.\ Parameter in the request and results are as below. - code: ✓ → A specified issue price in the morning session - code: – → All listed issue prices in the morning session ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g. 27800 or 2780) If a 4-character issue code is specified, only the data of common stock will be obtained for the issue on which both common and preferred stocks are listed. | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/equities/bars/daily/am **cURL** ```bash curl -G https://api.jquants.com/v2/equities/bars/daily/am \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/bars/daily/am', { params: { code: '{{code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/bars/daily/am", params={"code": "{{code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------------------------- | | Date | string | Required | Date (YYYY-MM-DD) | | Code | string | Required | Issue code | | MO | number | Required | Open price of the morning session | | MH | number | Required | High price of the morning session | | ML | number | Required | Low price of the morning session | | MC | number | Required | Close price of the morning session | | MVo | number | Required | Trading volume of the morning session | | MVa | number | Required | Trading value of the morning session | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-20", "Code": "39400", "MO": 232.0, "MH": 244.0, "ML": 232.0, "MC": 240.0, "MVo": 52600.0, "MVa": 12518800.0 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/eq-bars-daily/adj # How to calculate adjusted prices > **Note** > > The price data obtained via file download does not include adjusted price values. > If you are using downloaded files (instead of calling the API), use the provided adjustment factor to calculate adjusted prices yourself. In addition to unadjusted prices (`O/H/L/C/Vo`), the data includes **the adjustment factor** `AdjFactor` to reflect stock splits/reverse splits (e.g., **for a 1:2 stock split,** `AdjFactor = 0.5` **on the ex-date**). This page explains, for spreadsheet users, **how to calculate adjusted prices (e.g., adjusted close) yourself** using `AdjFactor`. ## Assumptions (what “adjusted” means here) - **Goal**: Remove artificial jumps caused by stock splits/reverse splits and rights issues so the time series is easier to compare. - **Scope**: Adjustments in this API cover **stock splits/reverse splits and rights issues** (rights issues of foreign stocks and issues listed on TOKYO PRO Market, and some corporate actions such as dividends, are not covered). ## Concept `AdjFactor` is the factor populated on the ex-date (the effective date of a split/reverse split, etc.). To adjust historical prices, you need to **accumulate (multiply) the** `AdjFactor` **values that appear on later (more recent) dates**. In other words, older dates should reflect more subsequent split/reverse split (and similar) events, so you first create a **cumulative adjustment factor (`CumAdj`)** and then apply it to prices. ## Steps in a spreadsheet (with a table example) ### 1) Prepare the required columns from the downloaded file At minimum, you need these columns: - `Date` - `C` (unadjusted close) — the same logic applies to `O/H/L` - `Vo` (unadjusted volume) — if you also want adjusted volume - `AdjFactor` (adjustment factor) ### 2) Sort by date in descending order (newest first) **This is the most important point.** Sort `Date` in **descending order** so you can compute `CumAdj` from top to bottom. ### 3) Create the cumulative adjustment factor `CumAdj` Create a table like the following (this example assumes a single 1:2 split occurs once in the period). | Row | A:Date | B:C (unadjusted) | C:Vo (unadjusted) | D:AdjFactor | E:CumAdj (cumulative) | F:AdjC (calculated) | G:AdjVo (calculated) | | --: | :--------- | ---------------: | ----------------: | ----------: | --------------------: | ------------------: | -------------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | | | | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | | | | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | | | | Define `CumAdj` as “**the product of all `AdjFactor` values on dates newer than the current row**”. (Because an ex-date factor should be applied to dates **before** that ex-date, it effectively impacts the **next row down (older date)** in this top-to-bottom calculation.) #### Cell formulas (example) - **E2 (latest date)**: `1` - **E3 and below** (fill down): “previous (newer) `CumAdj`” × “previous (newer) `AdjFactor`” - Formula in `E3`: `=E2*D2` - Copy this down to the last row In this example, `AdjFactor = 0.5` on the ex-date `2024-01-11` is reflected in `CumAdj` for the older date `2024-01-10`, resulting in `0.5`. | Row | A:Date | B:C (unadjusted) | C:Vo (unadjusted) | D:AdjFactor | E:CumAdj (cumulative) | F:AdjC (calculated) | G:AdjVo (calculated) | | --: | :--------- | ---------------: | ----------------: | ----------: | --------------------: | ------------------: | -------------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | 1.0 | | | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | 1.0 | | | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | 0.5 | | | ### 4) Calculate adjusted close (example: AdjC) For prices (`O/H/L/C`), calculate **unadjusted price × CumAdj**. - `F2` (fill down): - `=B2*E2` | Row | A:Date | B:C (unadjusted) | C:Vo (unadjusted) | D:AdjFactor | E:CumAdj (cumulative) | F:AdjC (calculated) | G:AdjVo (calculated) | | --: | :--------- | ---------------: | ----------------: | ----------: | --------------------: | ------------------: | -------------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | 1.0 | 500.00 | | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | 1.0 | 480.00 | | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | 0.5 | 490.00 | | ### 5) Calculate adjusted volume (example: AdjVo) (optional) Volume is the inverse of price. For example, to keep continuity under a 1:2 split (doubling pre-split volume), calculate **unadjusted volume ÷ CumAdj**. - `G2` (fill down): - `=C2/E2` `CumAdj` is not normally zero, but for safety you can use something like `=IF(E2=0,"",C2/E2)` in Excel. | Row | A:Date | B:C (unadjusted) | C:Vo (unadjusted) | D:AdjFactor | E:CumAdj (cumulative) | F:AdjC (calculated) | G:AdjVo (calculated) | | --: | :--------- | ---------------: | ----------------: | ----------: | --------------------: | ------------------: | -------------------: | | 2 | 2024-01-12 | 500 | 1,200,000 | 1.0 | 1.0 | 500.00 | 1,200,000 | | 3 | 2024-01-11 | 480 | 2,400,000 | 0.5 | 1.0 | 480.00 | 2,400,000 | | 4 | 2024-01-10 | 980 | 1,100,000 | 1.0 | 0.5 | 490.00 | 2,200,000 | --- Source: https://jpx-jquants.com/en/spec/eq-bars-daily # Stock Prices (OHLC) (/equities/bars/daily) `GET` /v2/equities/bars/daily ## Overview You can get information about stock price.\ Stock price consists before and after adjustment of stock splits, reverse stock splits, etc. (Rounded to first decimal places). > **Warning** > > **Market capitalization (`MktCap`) is scheduled to be removed from this API.**\ > Please use `MktCap` in the [Valuation Indicators API](https://jpx-jquants.com/en/spec/eq-valuation) instead. Market capitalization in that API uses a share count that excludes treasury shares, so its value may not match market capitalization in this API, which uses a share count that includes them.\ > We will announce the removal date on this page and in the [Release Notes](https://jpx-jquants.com/en/spec/release) once it has been decided. ### Attention > **Info** > > - Open, High, Low, Close, the volume of trade and the amount of purchase for the issue on the day when there is no trade volume (no sale) are recorded as Null. > - Stocks that are not listed on the TSE (including issue listed only on the other exchanges) are not included in the data. > - Delisted issues can also be retrieved by specifying a date or period within their listing period. > - The data for Oct. 1st, 2020 are the OHLC, trading volume, and trading value in Null because trading was halted all day due to the failure of the equity trading system, arrowhead. > - Daily prices can be obtained for all plans, but morning/afternoon session prices are available only for Premium plan. > - For plans other than Premium, the morning/afternoon session items are not returned as Null; the keys themselves are not included in the response. > - Stock price adjustments are supported for stock splits, reverse stock splits, and rights issues. Please note that some other corporate actions are not supported. > - For rights issues, trading volume (`Vo`/`AdjVo`, etc.) is not adjusted. > - Rights issues for foreign stocks and issues listed on TOKYO PRO Market are excluded from price adjustment (`AdjFactor = 1`). ## Get daily stock prices `GET` `https://api.jquants.com/v2/equities/bars/daily` In your request message, either "code" or "date" must be specified. ### Parameter and Response In your request message, either "code" or "date" must be specified.\ Combination of parameter in the request and results are as below. - code: ✓, date: –, from /to: – → All historical stock prices of a specific issue. - code: ✓, date: ✓, from /to: – → Stock prices of a specific issue for the specific date - code: ✓, date: –, from /to: ✓ → Stock prices of a specific issue for the specified period - code: –, date: ✓, from /to: – → All listed issue prices for the specific date. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g. 27800 or 2780) If a 4-character issue code is specified, only the data of common stock will be obtained for the issue on which both common and preferred stocks are listed. | | date | string | Optional | Date of data when "from" and "to" are not specified (e.g. 20210907 or 2021-09-07) | | from | string | Optional | Starting point of data period (e.g. 20210901 or 2021-09-01) | | to | string | Optional | End point of data period (e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/equities/bars/daily **cURL** ```bash curl -G https://api.jquants.com/v2/equities/bars/daily \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/bars/daily', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/bars/daily", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | | Date | string | Required | Date (YYYY-MM-DD) | | Code | string | Required | Issue code | | O | number | Required | Open Price (before adjustment) | | H | number | Required | High price (before adjustment) | | L | number | Required | Low price (before adjustment) | | C | number | Required | Close price (before adjustment) | | UL | string | Required | Flag of hitting the upper price limit of the day (0: Other than hitting the upper price limit, 1: Hitting the upper price limit) | | LL | string | Required | Flag of hitting the lower price limit of the day (0: Other than hitting the lower price limit, 1: Hitting the lower price limit) | | Vo | number | Required | Trading volume (before adjustment) | | Va | number | Required | Trading value | | AdjFactor | number | Required | Adjustment factor (In the case of a two-for-one stock split, "0.5" will be set in the record on the ex-rights date.) | | AdjO | number | Required | Adjusted open price (\*1) | | AdjH | number | Required | Adjusted high price (\*1) | | AdjL | number | Required | Adjusted low price (\*1) | | AdjC | number | Required | Adjusted close price (\*1) | | AdjVo | number | Required | Adjusted volume (\*1) | | MO | number | Required | Open price of the morning session (before adjustment) (\*2) | | MH | number | Required | High price of the morning session (before adjustment) (\*2) | | ML | number | Required | Low price of the morning session (before adjustment) (\*2) | | MC | number | Required | Close price of the morning session (before adjustment) (\*2) | | MUL | string | Required | Flag of hitting the upper price limit of the day in morning session (0: Other than hitting the upper price limit, 1: Hitting the upper price limit) (\*2) | | MLL | string | Required | Flag of hitting the lower price limit of the day in morning session (0: Other than hitting the lower price limit, 1: Hitting the lower price limit) (\*2) | | MVo | number | Required | Trading volume of the morning session (before adjustment) (\*2) | | MVa | number | Required | Trading value of the morning session (\*2) | | MAdjO | number | Required | Adjusted open price of the morning session (\*1, \*2) | | MAdjH | number | Required | Adjusted high price of the morning session (\*1, \*2) | | MAdjL | number | Required | Adjusted low price of the morning session (\*1, \*2) | | MAdjC | number | Required | Adjusted close price of the morning session (\*1, \*2) | | MAdjVo | number | Required | Adjusted trading volume of the morning session (\*1, \*2) | | AO | number | Required | Open price of the afternoon session (before adjustment) (\*2) | | AH | number | Required | High price of the afternoon session (before adjustment) (\*2) | | AL | number | Required | Low price of the afternoon session (before adjustment) (\*2) | | AC | number | Required | Close price of the afternoon session (before adjustment) (\*2) | | AUL | string | Required | Flag of hitting the upper price limit of the day in afternoon session (0: Other than hitting the upper price limit, 1: Hitting the upper price limit) (\*2) | | ALL | string | Required | Flag of hitting the lower price limit of the day in afternoon session (0: Other than hitting the lower price limit, 1: Hitting the lower price limit) (\*2) | | AVo | number | Required | Trading volume of the afternoon session (before adjustment) (\*2) | | AVa | number | Required | Trading value of the afternoon session (\*2) | | AAdjO | number | Required | Adjusted open price of the afternoon session (\*1, \*2) | | AAdjH | number | Required | Adjusted high price of the afternoon session (\*1, \*2) | | AAdjL | number | Required | Adjusted low price of the afternoon session (\*1, \*2) | | AAdjC | number | Required | Adjusted close price of the afternoon session (\*1, \*2) | | AAdjVo | number | Required | Adjusted trading volume of the afternoon session (\*1, \*2) | | MktCap | number | Required | Market capitalization (in millions of JPY) (\*3) | | ExRT | string | Required | Ex-rights type (1: Stock split, 2: Reverse stock split, 3: Rights issue. Bonus share allotment is included in "1: Stock split".) (\*4) | \*1 The item has been adjusted to take into account past divisions, etc.\ \*2 The item is available only for Premium plan users (for plans other than Premium, the key itself is not included in the response).\ \*3 Market capitalization is calculated as "close price (before adjustment) × number of listed shares" and recorded in millions of JPY (rounded to the nearest million).\ ・Market capitalization also reflects corporate actions such as stock splits and reverse stock splits.\ ・ETFs, ETNs, etc. are recorded as Null.\ ・Days with no trading are recorded as Null.\ \*4 Null is recorded on days with no applicable corporate action on the ex-rights date. ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-24", "Code": "86970", "O": 2047.0, "H": 2069.0, "L": 2035.0, "C": 2045.0, "UL": "0", "LL": "0", "Vo": 2202500.0, "Va": 4507051850.0, "AdjFactor": 1.0, "AdjO": 2047.0, "AdjH": 2069.0, "AdjL": 2035.0, "AdjC": 2045.0, "AdjVo": 2202500.0, "MO": 2047.0, "MH": 2069.0, "ML": 2040.0, "MC": 2045.5, "MUL": "0", "MLL": "0", "MVo": 1121200.0, "MVa": 2297525850.0, "MAdjO": 2047.0, "MAdjH": 2069.0, "MAdjL": 2040.0, "MAdjC": 2045.5, "MAdjVo": 1121200.0, "AO": 2047.0, "AH": 2047.0, "AL": 2035.0, "AC": 2045.0, "AUL": "0", "ALL": "0", "AVo": 1081300.0, "AVa": 2209526000.0, "AAdjO": 2047.0, "AAdjH": 2047.0, "AAdjL": 2035.0, "AAdjC": 2045.0, "AAdjVo": 1081300.0, "MktCap": 1083850.0, "ExRT": null } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/eq-bars-minute # Minute Stock Prices (OHLC) (/equities/bars/minute) `GET` /v2/equities/bars/minute ## Overview You can retrieve minute-by-minute stock price data.\ This API provides 1-minute interval data including OHLC (Open, High, Low, Close), trading volume, and turnover value. ### Attention > **Info** > > - Stocks that are not listed on the TSE (including issue listed only on the other exchanges) are not included in the data. > - Data is available for the past 2 years. > - Data is not recorded for time periods with no trading activity. ## Retrieve Minute Stock Prices `GET` `https://api.jquants.com/v2/equities/bars/minute` To retrieve data, you must specify either a stock code (code) or date (date). ### Parameter and Response To retrieve data, you must specify either a stock code (code) or date (date).\ Parameter in the request and results are as below: - code: ✓, date: –, from /to: – → Data for the specified issue for all periods - code: ✓, date: ✓, from /to: – → Data for the specified issue on the specified date - code: ✓, date: –, from /to: ✓ → Data for the specified issue during the specified period - code: –, date: ✓, from /to: – → Data for all listed issues on the specified date ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g. 27800 or 2780) If a 4-character issue code is specified, only the data of common stock will be obtained for the issue on which both common and preferred stocks are listed. | | date | string | Optional | When from and to are not specified (e.g. 20210907 or 2021-09-07) | | from | string | Optional | From date (e.g. 20210901 or 2021-09-01) | | to | string | Optional | To date (e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/equities/bars/minute **cURL** ```bash curl -G https://api.jquants.com/v2/equities/bars/minute \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/bars/minute', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/bars/minute", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------- | | Date | string | Required | Date (YYYY-MM-DD) | | Time | string | Required | Time (HH:mm) | | Code | string | Required | Issue code | | O | number | Required | Open price | | H | number | Required | High price | | L | number | Required | Low price | | C | number | Required | Close price | | Vo | number | Required | Trading volume | | Va | number | Required | Trading value | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-24", "Time": "09:00", "Code": "86970", "O": 2047.0, "H": 2055.0, "L": 2045.0, "C": 2050.0, "Vo": 12500.0, "Va": 25625000.0 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/eq-earnings-cal # Earnings Calendar (March/September fiscal year-end only) (/equities/earnings-calendar) `GET` /v2/equities/earnings-calendar ## Overview This API provides the announcement date of financial results. For now, companies with fiscal year ends in March or September can be obtained. (Companies with fiscal year ends in other month will be supported in the future.) ## Attention > **Info** > > - It will be updated at around 19:00 (JST) only when there is an update for companies which end their fiscal year in March or September at the following site. If there are no updates for companies which end their fiscal year in March or September, the data as of the last update is provided by this API.\ > [https://www.jpx.co.jp/english/listing/event-schedules/financial-announcement/index.html](https://www.jpx.co.jp/english/listing/event-schedules/financial-announcement/index.html) > - This API returns information about stocks whose financial results will be announced on the next business day. > - If there is no record with the next business day in the data obtained from the API, it means that there are no companies scheduled to disclose on the next business day among the companies with fiscal year ends in March or September. > - REIT data is not included. > - If you need scheduled announcement dates and publication history for all listed issues (including REITs), please use the [Earnings Announcement Dates](https://jpx-jquants.com/en/spec/fin-earnings-date) API. ## Inquire the issue code, fiscal year, and quarter scheduled to be announced. `GET` `https://api.jquants.com/v2/equities/earnings-calendar` ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/equities/earnings-calendar **cURL** ```bash curl -G https://api.jquants.com/v2/equities/earnings-calendar \ -H "x-api-key: {{apiKey}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/equities/earnings-calendar") ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/earnings-calendar", headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------- | | Date | string | Required | Date (YYYY-MM-DD) If the earnings announcement date is undecided, the data will be an empty string (""). | | Code | string | Required | Issue code | | CoName | string | Required | Company name (Japanese) | | FY | string | Required | End of Fiscal year (Japanese) | | SectorNm | string | Required | Sector name (Japanese) | | FQ | string | Required | Fiscal quarter (Japanese) | | Section | string | Required | Market segment name (Japanese) | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2022-02-14", "Code": "43760", "CoName": "くふうカンパニー", "FY": "9月30日", "SectorNm": "情報・通信業", "FQ": "第1四半期", "Section": "マザーズ" } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/eq-investor-types # Trading by Type of Investors (/equities/investor-types) `GET` /v2/equities/investor-types ## Overview Trading by type of investors (stock trading value) can be obtained.\ This data is also available via the following site. The data is set in units of 1000 yen.\ [https://www.jpx.co.jp/english/markets/statistics-equities/investor-type/index.html](https://www.jpx.co.jp/english/markets/statistics-equities/investor-type/index.html) ### Attention > **Info** > > - In accordance with the market classification review conducted on April 4, 2022, statistical data that are based on market classifications have been changed to the new market segments. > - When the data of trading by type of investors is revised, that is, value of the past data is modified, the data is provided by this API as follows. > - Revisions that are announced on or before April 3, 2023: only the data after revision is provided. > - Revisions that are announced on or after April 3, 2023: both the data before revision and after revision are provided. When a revision occurs, a record is added with the same Section, StartDate and EndDate. In such a case, data with the newer PublishedDate represents the revised data while the data with the older PublishedDate can be identified as the pre-correction data. > - When the data of trading by type of investors is revised, the updated data will be available on the next business day after the correction is announced. ## Get trading by type of investors `GET` `https://api.jquants.com/v2/equities/investor-types` In your request message, either "section" or "from/to" can be specified. ### Parameter and Response In your request message, either "section" or "from/to" can be specified.\ Combination of parameter in the request and results are as below. - section: ✓, from /to: ✓ → Trading data of a specific section for the specified period. - section: ✓, from /to: – → All trading data of a specific section. - section: –, from /to: ✓ → Trading data of all sections for the specified period. - section: –, from /to: – → All trading data of all sections for all available period. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | section | string | Optional | Section name (e.g. TSEPrime) For a list of possible values, please see [here](https://jpx-jquants.com/en/spec/eq-investor-types/section). | | from | string | Optional | Starting point of data period (e.g. 20210901 or 2021-09-01) | | to | string | Optional | End point of data period (e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/equities/investor-types **cURL** ```bash curl -G https://api.jquants.com/v2/equities/investor-types \ -H "x-api-key: {{apiKey}}" \ -d section="{{section}}" \ -d from="{{from}}" \ -d to="{{to}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/investor-types', { params: { section: '{{section}}', from: '{{from}}', to: '{{to}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/investor-types", params={"section": "{{section}}", "from": "{{from}}", "to": "{{to}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | ----------- | ------ | -------- | --------------------------------------------------------------------- | | PubDate | string | Required | Published Date (YYYY-MM-DD) | | StDate | string | Required | Start Date (YYYY-MM-DD) | | EnDate | string | Required | End Date (YYYY-MM-DD) | | Section | string | Required | Section Name (See [Section name](https://jpx-jquants.com/en/spec/eq-investor-types/section)) | | PropSell | number | Required | Proprietary Sales Value | | PropBuy | number | Required | Proprietary Purchase Value | | PropTot | number | Required | Proprietary Total Value | | PropBal | number | Required | Proprietary Balance Value | | BrkSell | number | Required | Brokerage Sales Value | | BrkBuy | number | Required | Brokerage Purchase Value | | BrkTot | number | Required | Brokerage Total Value | | BrkBal | number | Required | Brokerage Balance Value | | TotSell | number | Required | Total Sales Value | | TotBuy | number | Required | Total Purchase Value | | TotTot | number | Required | Total Value | | TotBal | number | Required | Total Balance Value | | IndSell | number | Required | Individuals Sales Value | | IndBuy | number | Required | Individuals Purchase Value | | IndTot | number | Required | Individuals Total Value | | IndBal | number | Required | Individuals Balance Value | | FrgnSell | number | Required | Foreigners Sales Value | | FrgnBuy | number | Required | Foreigners Purchase Value | | FrgnTot | number | Required | Foreigners Total Value | | FrgnBal | number | Required | Foreigners Balance Value | | SecCoSell | number | Required | Securities Companies Sales Value | | SecCoBuy | number | Required | Securities Companies Purchase Value | | SecCoTot | number | Required | Securities Companies Total Value | | SecCoBal | number | Required | Securities Companies Balance Value | | InvTrSell | number | Required | Investment Trusts Sales Value | | InvTrBuy | number | Required | Investment Trusts Purchase Value | | InvTrTot | number | Required | Investment Trusts Total Value | | InvTrBal | number | Required | Investment Trusts Balance Value | | BusCoSell | number | Required | Business Companies Sales Value | | BusCoBuy | number | Required | Business Companies Purchase Value | | BusCoTot | number | Required | Business Companies Total Value | | BusCoBal | number | Required | Business Companies Balance Value | | OthCoSell | number | Required | Other Companies Sales Value | | OthCoBuy | number | Required | Other Companies Purchase Value | | OthCoTot | number | Required | Other Companies Total Value | | OthCoBal | number | Required | Other Companies Balance Value | | InsCoSell | number | Required | Insurance Companies Sales Value | | InsCoBuy | number | Required | Insurance Companies Purchase Value | | InsCoTot | number | Required | Insurance Companies Total Value | | InsCoBal | number | Required | Insurance Companies Balance Value | | BankSell | number | Required | City Banks Regional Banks Etc Sales Value | | BankBuy | number | Required | City Banks Regional Banks Etc Purchase Value | | BankTot | number | Required | City Banks Regional Banks Etc Total Value | | BankBal | number | Required | City Banks Regional Banks Etc Balance Value | | TrstBnkSell | number | Required | Trust Banks Sales Value | | TrstBnkBuy | number | Required | Trust Banks Purchase Value | | TrstBnkTot | number | Required | Trust Banks Total Value | | TrstBnkBal | number | Required | Trust Banks Balance Value | | OthFinSell | number | Required | Other Financial Institutions Sales Value | | OthFinBuy | number | Required | Other Financial Institutions Purchase Value | | OthFinTot | number | Required | Other Financial Institutions Total Value | | OthFinBal | number | Required | Other Financial Institutions Balance Value | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "PubDate": "2017-01-13", "StDate": "2017-01-04", "EnDate": "2017-01-06", "Section": "TSE1st", "PropSell": 1311271004, "PropBuy": 1453326508, "PropTot": 2764597512, "PropBal": 142055504, "BrkSell": 7165529005, "BrkBuy": 7030019854, "BrkTot": 14195548859, "BrkBal": -135509151, "TotSell": 8476800009, "TotBuy": 8483346362, "TotTot": 16960146371, "TotBal": 6546353, "IndSell": 1401711615, "IndBuy": 1161801155, "IndTot": 2563512770, "IndBal": -239910460, "FrgnSell": 5094891735, "FrgnBuy": 5317151774, "FrgnTot": 10412043509, "FrgnBal": 222260039, "SecCoSell": 76381455, "SecCoBuy": 61700100, "SecCoTot": 138081555, "SecCoBal": -14681355, "InvTrSell": 168705109, "InvTrBuy": 124389642, "InvTrTot": 293094751, "InvTrBal": -44315467, "BusCoSell": 71217959, "BusCoBuy": 63526641, "BusCoTot": 134744600, "BusCoBal": -7691318, "OthCoSell": 10745152, "OthCoBuy": 15687836, "OthCoTot": 26432988, "OthCoBal": 4942684, "InsCoSell": 15926202, "InsCoBuy": 9831555, "InsCoTot": 25757757, "InsCoBal": -6094647, "BankSell": 10606789, "BankBuy": 8843871, "BankTot": 19450660, "BankBal": -1762918, "TrstBnkSell": 292932297, "TrstBnkBuy": 245322795, "TrstBnkTot": 538255092, "TrstBnkBal": -47609502, "OthFinSell": 22410692, "OthFinBuy": 21764485, "OthFinTot": 44175177, "OthFinBal": -646207 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/eq-investor-types/section # Section name | Section | Value | | ----------------------------- | ----------- | | 1st Section | TSE1st | | 2nd Section | TSE2nd | | Mothers | TSEMothers | | JASDAQ | TSEJASDAQ | | Prime | TSEPrime | | Standard | TSEStandard | | Growth | TSEGrowth | | Tokyo & Nagoya Stock Exchange | TokyoNagoya | --- Source: https://jpx-jquants.com/en/spec/eq-master/marketcode # Market segment code and name | Code | Name | | ---- | ---------------- | | 0101 | 1st Section | | 0102 | 2nd Section | | 0104 | Mothers | | 0105 | TOKYO PRO MARKET | | 0106 | JASDAQ Standard | | 0107 | JASDAQ Growth | | 0109 | Others | | 0111 | Prime | | 0112 | Standard | | 0113 | Growth | --- Source: https://jpx-jquants.com/en/spec/eq-master # Listed Issue Master (/equities/master) `GET` /v2/equities/master ## Overview Listed issue information as of the past, the current day, and the next business day can be retrieved.\ Please note that listed issue information as of the next business day can be obtained after 17:30. ### Attention > **Info** > > - For the specification of past dates, even if you are subscribing Premium plan and specify a date earlier than the start date of data provision (May 7, 2008), the issue information as of May 7, 2008 will be returned. > - If specified "Date" is non-business day, the issue information as of next business day of specified date will be returned. > **Note** > > In accordance with the TSE market restructuring in April 2022, the Bank of Japan (code: 83010) and Shinkin Central Bank (code: 84210) no longer belong to any market divisions under the system, but J-Quants handles them as "Standard". ### Handling of delisted issues > **Info** > > - If you specify a past date in `date`, the issues listed as of that date will be returned. Issues that have since been delisted can also be retrieved by specifying a date on which they were still listed. > - If you specify a `code` directly with a date after the issue's delisting, the response will be empty. > - Listing dates and delisting dates are not provided. > - A list of delisted issues is not provided. ### History of issue code, company name, and market segment changes > **Note** > > Change histories and old/new correspondence tables for issue codes, company names, and market segments are not provided. Please identify such changes by comparing the daily snapshots retrieved by specifying dates. ## Obtain daily listed issue information `GET` `https://api.jquants.com/v2/equities/master` When acquiring data, issue code (code) or date (date) can be specified.\ The combination of each parameter and the results of the response are as below. - code: –, date: – → All listed issues as of the day when API is executed. (\*1) - code: ✓, date: – → Specified listed issues as of the day when API is executed. (\*1) - code: –, date: ✓ → All listed issues as of the specified day. (\*2) - code: ✓, date: ✓ → Specified listed issues as of the specified day. (\*2) \*1 If "Date" is not specified on non-business day, the issue information as of next business day will be returned.\ \*2 If you are subscribing a plan other than free plan, data as of the next business day can be obtained. Even if you specify a future date that is earlier than the next business day, the issue information as of the next business day will be returned. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters | Parameter | Type | Required | Description | | --------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g. 27890 or 2789) If a 4-character issue code is specified, only the data of common stock will be obtained for the issue on which both common and preferred stocks are listed. | | date | string | Optional | Date of application of information (e.g. 20210907 or 2021-09-07) | ### Sample Code /v2/equities/master **cURL** ```bash curl -G https://api.jquants.com/v2/equities/master \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/master', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/master", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------ | | Date | string | Required | Date of application of information (YYYY-MM-DD) | | Code | string | Required | Issue code | | CoName | string | Required | Company Name (Japanese) | | CoNameEn | string | Required | Company Name (English) | | S17 | string | Required | 17-Sector code (See [17-sector code and name](https://jpx-jquants.com/en/spec/eq-master/sector17code)) | | S17Nm | string | Required | 17-Sector code name (Japanese) (See [17-sector code and name](https://jpx-jquants.com/en/spec/eq-master/sector17code)) | | S33 | string | Required | 33-Sector code (See [33-sector code and name](https://jpx-jquants.com/en/spec/eq-master/sector33code)) | | S33Nm | string | Required | 33-Sector code name (Japanese) (See [33-sector code and name](https://jpx-jquants.com/en/spec/eq-master/sector33code)) | | ScaleCat | string | Required | TOPIX Scale category | | Mkt | string | Required | Market segment code (See [Market segment code and name](https://jpx-jquants.com/en/spec/eq-master/marketcode)) | | MktNm | string | Required | Market segment code name (Japanese) (See [Market segment code and name](https://jpx-jquants.com/en/spec/eq-master/marketcode)) | | Mrgn | string | Required | Flags of margin and loan issues (1: Margin issues / 2: Loan issues / 3: Other issues (non-loan, non-margin)) | | MrgnNm | string | Required | Name of flags of margin and loan issues | | ProdCat | string | Required | Product category code (See [Product category codes and names](https://jpx-jquants.com/en/spec/eq-master/product-category)) | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2022-11-11", "Code": "86970", "CoName": "日本取引所グループ", "CoNameEn": "Japan Exchange Group,Inc.", "S17": "16", "S17Nm": "金融(除く銀行)", "S33": "7200", "S33Nm": "その他金融業", "ScaleCat": "TOPIX Large70", "Mkt": "0111", "MktNm": "プライム", "Mrgn": "1", "MrgnNm": "信用", "ProdCat": "011" } ] } ``` --- Source: https://jpx-jquants.com/en/spec/eq-master/product-category # Product category codes and names | Code | Name | | ---- | ---------------------------------------- | | 011 | Domestic Stocks | | 012 | Preferred Equity Investment Certificates | | 013 | REITs | | 014 | ETFs | | 021 | Foreign Stocks | | 022 | Foreign REITs | | 023 | Foreign ETFs | | 024 | Foreign Stock Depositary Receipts | --- Source: https://jpx-jquants.com/en/spec/eq-master/sector17code # 17-sector code and name | Code | Name | | ---- | ---------------------------------------------- | | 1 | Food | | 2 | Energy Resources | | 3 | Construction & Materials | | 4 | Materials & Chemicals | | 5 | Pharmaceuticals | | 6 | Automobiles & Transportation Equipment | | 7 | Steel & Non-ferrous Metals | | 8 | Machinery | | 9 | Electric Equipment & Precision Instruments | | 10 | Information & Communication, Services & Others | | 11 | Electric Power & Gas | | 12 | Transportation & Logistics | | 13 | Trading Companies & Wholesale | | 14 | Retail | | 15 | Banks | | 16 | Finance (Excluding Banks) | | 17 | Real Estate | | 99 | Others | --- Source: https://jpx-jquants.com/en/spec/eq-master/sector33code # 33-sector code and name | Code | Name | | ---- | -------------------------------------------- | | 0050 | Fishery, Agriculture & Forestry | | 1050 | Mining | | 2050 | Construction | | 3050 | Foods | | 3100 | Textiles & Apparels | | 3150 | Pulp & Paper | | 3200 | Chemicals | | 3250 | Pharmaceutical | | 3300 | Oil & Coal Products | | 3350 | Rubber Products | | 3400 | Glass & Ceramics Products | | 3450 | Iron & Steel | | 3500 | Nonferrous Metals | | 3550 | Metal Products | | 3600 | Machinery | | 3650 | Electric Appliances | | 3700 | Transportation Equipment | | 3750 | Precision Instruments | | 3800 | Other Products | | 4050 | Electric Power & Gas | | 5050 | Land Transportation | | 5100 | Marine Transportation | | 5150 | Air Transportation | | 5200 | Warehousing & Harbor Transportation Services | | 5250 | Information & Communication | | 6050 | Wholesale Trade | | 6100 | Retail Trade | | 7050 | Banks | | 7100 | Securities & Commodity Futures | | 7150 | Insurance | | 7200 | Other Financing Business | | 8050 | Real Estate | | 9050 | Services | | 9999 | Other | --- Source: https://jpx-jquants.com/en/spec/eq-trades # Stock Prices (Tick) (/equities/trades) ## Overview Tick-by-tick transaction data is provided in CSV format.\ You can obtain detailed data such as price, volume, and timestamp for individual trades (executions). > **Note** > > This data is only available in CSV format and cannot be accessed via API.\ > To download CSV files, please use the [List of Downloadable Files API](https://jpx-jquants.com/en/spec/bulk-list) and [Get File Download URL API](https://jpx-jquants.com/en/spec/bulk-get). You can also download from the [Download page](https://jpx-jquants.com/dashboard/downloads/price-data/stocks?filter=equities/trades) after signing in. ### Attention > **Info** > > - Issues that are not listed on the Tokyo Stock Exchange (issues listed only on regional exchanges) are not included in the data. > - The data retention period is 2 years. ## Data Item | Parameter | Type | Required | Description | | ------------------ | ------ | -------- | ------------------------------------------------------------ | | Date | string | Required | Date (YYYY-MM-DD) | | Code | string | Required | Issue code | | Time | string | Required | Execution time (HH:MM:SS.ffffff) | | SessionDistinction | string | Required | Trading session (01: Morning session, 02: Afternoon session) | | Price | number | Required | Execution price (JPY) | | TradingVolume | number | Required | Execution volume (shares) | | TransactionId | string | Required | Transaction ID (Unique ID for each execution) | ## Data Sample ```csv Date,Code,Time,SessionDistinction,Price,TradingVolume,TransactionId 2025-12-01,13010,09:00:00.067558,01,4810,2200,000000000021 2025-12-01,13010,09:00:01.039337,01,4810,100,000000000036 2025-12-01,13010,09:00:01.049791,01,4810,4500,000000000038 ``` --- Source: https://jpx-jquants.com/en/spec/eq-valuation/calc # How Indicators Are Calculated This page explains the definitions of, and calculation principles for, the indicators provided by the [Valuation Indicators API](https://jpx-jquants.com/en/spec/eq-valuation).\ J-Quants calculates each indicator using information disclosed in financial statements and other materials, together with share-price data. > **Info** > > - This page describes the basic **principles** underlying the indicators. Detailed calculation specifications, including the treatment of the number of shares and adjustments for changes in fiscal year-end, are not disclosed. > - The indicators are provided for reference when making investment decisions and do not constitute a recommendation to buy or sell any particular security. ## Basis of Calculation ### TTM Net Income (Earnings Used to Calculate Actual Values) Actual EPS, ROE, and PER are calculated using net income for the trailing twelve months (TTM).\ On this page, the total net income over these twelve months is referred to as **TTM net income**.\ Compared with using full-year results alone, this approach incorporates quarterly disclosures and therefore better reflects recent performance. ### Company-Forecast Net Income (Earnings Used to Calculate Forward Values) Indicators with `Fwd` in their names (FwdEPS, FwdROE, and FwdPER) are calculated using the company's forecast net income for the current fiscal year. ### Share Price (Closing Price for the Day) PER, FwdPER, PBR, and market capitalization are calculated using the closing price for the day.\ If no trade is executed on a given day, the base price applicable to that day is used instead. ## Indicator Definitions ### EPS — Earnings per Share (Actual) If the company reports a net loss, EPS is recorded as a negative value, representing loss per share. ``` EPS = TTM net income / Number of shares ``` ### FwdEPS — Forward Earnings per Share The value is Null if the company has not published a forecast or has withdrawn its forecast.\ If the company forecasts a net loss, FwdEPS is recorded as a negative value, representing forecast loss per share. ``` FwdEPS = (Company-forecast net income) / Number of shares ``` ### BPS — Book Value per Share If shareholders' equity is negative, BPS is recorded as a negative per-share value. ``` BPS = Shareholders' equity at the end of the most recent quarter / Number of shares ``` ### ROE — Return on Equity (Actual) The value is Null if the average shareholders' equity at the beginning and end of the TTM period, which is used as the denominator, is zero or negative.\ If the numerator is negative because the company reports a net loss, ROE is recorded as a negative value. ``` ROE = TTM net income / Average shareholders' equity at the beginning and end of the TTM period ``` ### FwdROE — Forward Return on Equity The value is Null if the company has not published a forecast or has withdrawn its forecast.\ The value is also Null if the shareholders' equity used as the denominator is zero or negative. ``` FwdROE = (Company-forecast net income) / Shareholders' equity at the end of the most recent quarter ``` ### PER — Price-to-Earnings Ratio (Actual) The value is Null if EPS is zero or negative. ``` PER = Share price / EPS ``` ### FwdPER — Forward Price-to-Earnings Ratio The value is Null if the company has not published a forecast or has withdrawn its forecast.\ The value is also Null if FwdEPS is zero or negative. ``` FwdPER = Share price / FwdEPS ``` ### PBR — Price-to-Book Ratio The value is Null if BPS is zero or negative. ``` PBR = Share price / BPS ``` ### Market Capitalization (MktCap) Market capitalization is calculated using the number of shares excluding treasury shares. Its definition therefore differs from market capitalization calculated using total shares issued or free-float shares. ``` Market capitalization (JPY millions) = (Share price × Number of shares) / 1,000,000 ``` ## When Values Are Null The applicable field is recorded as Null in any of the following cases: - The data required for calculation is unavailable, such as during the initial data-coverage period, shortly after a security is listed, or during a transition following a change in fiscal year-end. - The company has not published a forecast or has withdrawn its forecast. This applies only to indicators with `Fwd` in their names. - The security is outside the scope of indicator calculation, such as an ETF, ETN, or preferred stock. A data row is still returned, but all indicators are Null. Market capitalization is not subject to the determination of whether a security is within the scope of indicator calculation. A market-capitalization value may therefore be recorded for a security whose other indicators are Null, such as a preferred stock or REIT. However, because the number of shares is calculated using information disclosed in financial statements, market capitalization is Null for ETFs, ETNs, and similar securities, as well as for newly listed securities before their first financial results are disclosed. For the initial data-coverage period, approximately 2008 to 2010, the share-count and financial information required for calculation may be incomplete. Consequently, more securities and fields are recorded as Null during this period. In addition to the cases above, a value is Null if the resulting ratio would not be meaningful, such as when the company reports a net loss or shareholders' equity is zero or negative, even if all data required for calculation is available. See [Indicator Definitions](#Indicator-Definitions) for the conditions applicable to each indicator. ## Differences from Values Provided by Other Services Even when indicators have the same name, values may differ from those provided by other sources or services because of differences in the definition of the number of shares, the scope of disclosures used, rounding methods, and other calculation details.\ J-Quants calculates the values provided by this API in accordance with the principles described above. Please review these calculation principles when using the API values. --- Source: https://jpx-jquants.com/en/spec/eq-valuation # Valuation Indicators (/equities/valuation) `GET` /v2/equities/valuation ## API Overview This API provides daily valuation indicators and market capitalization calculated from financial statement disclosures and share prices.\ Actual values are calculated using net income for the trailing twelve months (TTM), while forward values are calculated using the company's forecast net income for the current fiscal year. ### Notes on This API > **Info** > > - In principle, information disclosed in financial results is reflected in the data from the following business day, regardless of the time of disclosure. For daily update times, see [Data Update Timing](https://jpx-jquants.com/en/spec/data-update). > - The closing price for the day is used as the share price. If no trade is executed on a given day, the base price applicable to that day is used instead. > - ROE and FwdROE are recorded as decimals (e.g., `0.2310` represents 23.1%). > - If the data required for calculation is unavailable, the applicable field is recorded as Null, such as for a recently listed security or during a transition following a change in fiscal year-end. For the initial data-coverage period, approximately 2008 to 2010, the share-count and financial information required for calculation may be incomplete. Consequently, more securities and fields are recorded as Null during this period. > - Data rows are returned for securities outside the scope of indicator calculation, such as ETFs, ETNs, and preferred stocks, but all indicators are Null. Market capitalization may be calculated for securities that are outside the scope of the other indicators. A market-capitalization value may therefore be recorded for a preferred stock, REIT, or similar security even if all other indicators are Null. Market capitalization is also Null for ETFs, ETNs, and similar securities because they have no financial statement disclosures from which the number of shares can be calculated. > - Support for REITs and similar issues is planned for a future release as far as the indicators are concerned (market capitalization is already recorded for them). > - For indicator definitions, the distinction between actual and forward values, and the conditions under which values are Null, see [How Indicators Are Calculated](https://jpx-jquants.com/en/spec/eq-valuation/calc). ## Retrieve Daily Valuation Indicator Data `GET` `https://api.jquants.com/v2/equities/valuation` Either an issue code (`code`) or a date (`date`) must be specified.\ The permitted parameter combinations and corresponding responses are shown below. - code: ✓, date: –, from /to: – → All available data for the specified issue - code: ✓, date: ✓, from /to: – → Data for the specified issue on the specified date - code: ✓, date: –, from /to: ✓ → Data for the specified issue over the specified period - code: –, date: ✓, from /to: – → Data for all listed issues on the specified date ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g., `27800` or `2780`) If a four-digit issue code is specified for an issue with both common and preferred stock listed, only data for the common stock is returned. | | date | string | Optional | Date, when `from` and `to` are not specified (e.g., `20260826` or `2026-08-26`) | | from | string | Optional | Start of the period (e.g., `20260801` or `2026-08-01`) | | to | string | Optional | End of the period (e.g., `20260826` or `2026-08-26`) | | pagination\_key | string | Optional | String that specifies the start of the search Set the pagination\_key returned by a previous search | ### Sample API Call /v2/equities/valuation **cURL** ```bash curl -G https://api.jquants.com/v2/equities/valuation \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/equities/valuation', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/equities/valuation", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Items | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------------------------- | | Date | string | Required | Date (YYYY-MM-DD) | | Code | string | Required | Issue code (5 digits) | | EPS | number | Required | Earnings per share (actual, JPY) (\*1, \*4) | | FwdEPS | number | Required | Forward earnings per share (JPY) (\*2, \*4) | | BPS | number | Required | Book value per share (JPY) (\*4, \*6) | | ROE | number | Required | Return on equity (actual, decimal) (\*1, \*5) | | FwdROE | number | Required | Forward return on equity (decimal) (\*2, \*5) | | PER | number | Required | Price-to-earnings ratio (actual, multiple) (\*3, \*4) | | FwdPER | number | Required | Forward price-to-earnings ratio (multiple) (\*3, \*4) | | PBR | number | Required | Price-to-book ratio (multiple) (\*3, \*4) | | MktCap | number | Required | Market capitalization (JPY millions) (\*3, \*7) | \*1 Actual values calculated using net income for the trailing twelve months (TTM). The denominator of ROE is the average shareholders' equity at the beginning and end of the TTM period.\ \*2 Forward values calculated using the company's forecast net income for the current fiscal year. The denominator of FwdROE is the most recently disclosed period-end shareholders' equity.\ \*3 The closing price for the day is used as the share price. If no trade is executed on a given day, the base price applicable to that day is used instead.\ \*4 Values are rounded to two decimal places. Because values are returned as JSON numbers, trailing zeros may be omitted.\ \*5 Values are rounded to four decimal places. Note that they are expressed as decimals, not percentages (e.g., `0.2310` represents 23.1%). Because values are returned as JSON numbers, trailing zeros may be omitted.\ \*6 Calculated using the most recently disclosed period-end shareholders' equity.\ \*7 Calculated as share price (\*3) multiplied by the number of shares and recorded in millions of JPY, rounded to the nearest million. The calculation also reflects corporate actions such as stock splits and reverse stock splits.\ ・The number of shares excludes treasury shares. This definition differs from market capitalization calculated using total shares issued or free-float shares.\ ・Market capitalization in the Daily Stock Prices (OHLC) API is calculated using the closing price and a number of shares that includes treasury shares. Because the definition of the number of shares differs from that used for this field, the resulting values may not match. For an issue that holds treasury shares, the value in this field will generally be lower by the amount attributable to those treasury shares. Market capitalization in the Daily Stock Prices (OHLC) API is scheduled to be removed; use this field going forward.\ ・Because the number of shares is calculated using financial statement disclosures, this field is Null for ETFs, ETNs, and similar issues, as well as for newly listed issues until their first financial results are disclosed. ### Sample Response ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-03-24", "Code": "86970", "EPS": 89.4, "FwdEPS": 87.9, "BPS": 590.65, "ROE": 0.1534, "FwdROE": 0.1488, "PER": 22.88, "FwdPER": 23.26, "PBR": 3.46, "MktCap": 1077137.0 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/fin-details # Financial Statement Data (BS/PL/CF) (/fins/details) `GET` /v2/fins/details ## Overview You can obtain the entries in the balance sheet, income statement, and cash flow statement of a listed companies in their quarterly financial information. ## Attention > **Info** > > - **About FinancialStatement (Various items in the financial statements)** > - Contents of this API is created from the EDINET XBRL taxonomy body (label information). > - For verbose labels (English) included in the item "FinancialStatement", see the following website.\ > [https://disclosure2dl.edinet-fsa.go.jp/guide/static/disclosure/WEEK0060.html](https://disclosure2dl.edinet-fsa.go.jp/guide/static/disclosure/WEEK0060.html) \ > The "Account Title List" (Accounting Standards: Japanese GAAP) and the "Taxonomy Element List for Designated International Accounting Standards" (Accounting Standards: IFRS) are available on the EDINET Taxonomy page published by fiscal year. The following data is provided for each accounting standard. > - If the accounting standard is Japanese GAAP, the data is provided as a set with the value of "Verbose Labels (English)" in column E of each sheet of the "Account Title List" as the key. > - If the accounting standard is IFRS, the data is provided as a set with the value of "Verbose Labels (English)" in column D of each sheet of the "Taxonomy Element List for Designated International Accounting Standards" as the key. > - **About Taxonomy Extension** > - Company-specific items defined in the taxonomy by submitter that do not exist in the EDINET taxonomy are not covered by this API. > **Note** > > - MODEC, Inc. (stock code 62690) presents its consolidated financial statements and notes to consolidated financial statements in U.S. dollars in its financial statements for February 2022 and thereafter. Therefore, the financial statement information for the subject issue in this service is also provided in U.S. dollars. > **Info** > > This API has its own [individual rate limit](https://jpx-jquants.com/en/spec/rate-limits#rate-limits-by-endpoint). For best practices on efficient data retrieval, including bulk retrieval of historical data, see [Rate Limits](https://jpx-jquants.com/en/spec/rate-limits#best-practices). ## Get quarterly financial statement information `GET` `https://api.jquants.com/v2/fins/details` Either "code" or "date" must be specified. ### Parameter and Response Either a "code" or "date" must be specified.\ Parameter in the request and results are as below: - code: ✓, date: –, cursor: – → All financial statement data for a specific issue. - code: ✓, date: ✓, cursor: – → Financial statement data for a specific issue on the specific date. - code: –, date: ✓, cursor: – → Financial statement data for all listed issues on the specific date. - code: –, date: ✓, cursor: ✓ → Financial statement data since the previous request. ### Retrieving financial statement data using cursor For the cursor-based differential retrieval specification, see [Retrieving Differential Data Using Cursor](https://jpx-jquants.com/en/spec/cursor). ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g. 86970 or 8697) 4 or 5 character issue code | | date | string | Optional | Disclosure date (e.g. 2022-01-05 or 20220105) | | cursor | string | Optional | Cursor for differential retrieval Use the value returned as cursor in the previous response. Cannot be specified together with pagination\_key. For details, see [Retrieving Differential Data Using Cursor](https://jpx-jquants.com/en/spec/cursor). | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/fins/details **cURL** ```bash curl -G https://api.jquants.com/v2/fins/details \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/fins/details', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/details", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | DiscDate | string | Required | Disclosed Date | | DiscTime | string | Required | Disclosed Time | | Code | string | Required | Issue Code (5 digits) | | DiscNo | string | Required | Disclosure Number The json output from the API is sorted in ascending order by disclosure number. | | DocType | string | Required | Type of Document [Type of Document List](https://jpx-jquants.com/en/spec/fin-summary/typeofdocument) | | FS | object | Required | Various items in financial statements Data stored with verbose label (English) as key and its value (financial statement value) as value. Redundant labels (English) associated with XBRL tags and their values are recorded. | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "DiscDate": "2020-04-30", "DiscTime": "12:00:00", "Code": "86970", "DiscNo": "20200429402226", "DocType": "FYFinancialStatements_Consolidated_IFRS", "FS": { "EDINET code, DEI": "E03814", "Security code, DEI": "86970", "Filer name in Japanese, DEI": "株式会社日本取引所グループ", "Filer name in English, DEI": "Japan Exchange Group, Inc.", "Document type, DEI": "通期第3号参考様式 [IFRS](連結)", "Accounting standards, DEI": "IFRS", "Whether consolidated financial statements are prepared, DEI": "true", "Industry code when consolidated financial statements are prepared in accordance with industry specific regulations, DEI": "CTE", "Industry code when financial statements are prepared in accordance with industry specific regulations, DEI": "CTE", "Current fiscal year start date, DEI": "2019-04-01", "Current period end date, DEI": "2020-03-31", "Type of current period, DEI": "FY", "Current fiscal year end date, DEI": "2020-03-31", "Previous fiscal year start date, DEI": "2018-04-01", "Comparative period end date, DEI": "2019-03-31", "Previous fiscal year end date, DEI": "2019-03-31", "Amendment flag, DEI": "false", "Report amendment flag, DEI": "false", "XBRL amendment flag, DEI": "false", "Cash and cash equivalents (IFRS)": "71883000000", "Trade and other receivables - CA (IFRS)": "16686000000", "Income taxes receivable - CA (IFRS)": "5922000000", "Other financial assets - CA (IFRS)": "117400000000", "Other current assets - CA (IFRS)": "1837000000", "Current assets (IFRS)": "67093263000000", "Property, plant and equipment (IFRS)": "14798000000", "Goodwill (IFRS)": "67374000000", "Intangible assets (IFRS)": "35045000000", "Retirement benefit asset - NCA (IFRS)": "5642000000", "Investments accounted for using equity method (IFRS)": "14703000000", "Other financial assets - NCA (IFRS)": "18156000000", "Other non-current assets - NCA (IFRS)": "6049000000", "Deferred tax assets (IFRS)": "3321000000", "Non-current assets (IFRS)": "193039000000", "Assets (IFRS)": "67286302000000", "Trade and other payables - CL (IFRS)": "6643000000", "Bonds and borrowings - CL (IFRS)": "32500000000", "Income taxes payable - CL (IFRS)": "10289000000", "Other current liabilities - CL (IFRS)": "10062000000", "Current liabilities (IFRS)": "66947278000000", "Bonds and borrowings - NCL (IFRS)": "19953000000", "Retirement benefit liability - NCL (IFRS)": "8866000000", "Other non-current liabilities - NCL (IFRS)": "2162000000", "Deferred tax liabilities (IFRS)": "2665000000", "Non-current liabilities (IFRS)": "33648000000", "Liabilities (IFRS)": "66980926000000", "Share capital (IFRS)": "11500000000", "Capital surplus (IFRS)": "39716000000", "Treasury shares (IFRS)": "-1548000000", "Other components of equity (IFRS)": "5602000000", "Retained earnings (IFRS)": "242958000000", "Equity attributable to owners of parent (IFRS)": "298228000000", "Non-controlling interests (IFRS)": "7146000000", "Equity (IFRS)": "305375000000", "Liabilities and equity (IFRS)": "67286302000000", "Number of submission, DEI": "1", "Profit (loss) before tax from continuing operations (IFRS)": "69095000000.0", "Depreciation and amortization - OpeCF (IFRS)": "16499000000", "Finance income - OpeCF (IFRS)": "-665000000", "Finance costs - OpeCF (IFRS)": "96000000", "Share of loss (profit) of investments accounted for using equity method - OpeCF (IFRS)": "-2457000000", "Decrease (increase) in trade and other receivables - OpeCF (IFRS)": "-5246000000", "Increase (decrease) in trade and other payables - OpeCF (IFRS)": "420000000", "Decrease (increase) in retirement benefit asset - OpeCF (IFRS)": "230000000", "Increase (decrease) in retirement benefit liability - OpeCF (IFRS)": "12000000", "Other, Changes in working capital - OpeCF (IFRS)": "-424000000", "Subtotal - OpeCF (IFRS)": "77560000000", "Interest and dividends received - OpeCF (IFRS)": "899000000", "Interest paid - OpeCF (IFRS)": "-96000000", "Income taxes refund (paid) - OpeCF (IFRS)": "-21482000000", "Net cash provided by (used in) operating activities (IFRS)": "56881000000", "Payments into time deposits - InvCF (IFRS)": "-117400000000", "Proceeds from withdrawal of time deposits - InvCF (IFRS)": "113100000000", "Purchase of property, plant and equipment - InvCF (IFRS)": "-1199000000", "Purchase of intangible assets - InvCF (IFRS)": "-12379000000", "Proceeds from sale of investment securities - InvCF (IFRS)": "11585000000", "Payments for acquisition of subsidiaries - InvCF (IFRS)": "-3165000000", "Other - InvCF (IFRS)": "23000000", "Net cash provided by (used in) investing activities (IFRS)": "-9434000000", "Repayments of lease liabilities - FinCF (IFRS)": "-3125000000", "Dividends paid - FinCF (IFRS)": "-35935000000", "Purchase of treasury shares - FinCF (IFRS)": "-350000000", "Net cash provided by (used in) financing activities (IFRS)": "-39411000000", "Net increase (decrease) in cash and cash equivalents before effect of exchange rate changes (IFRS)": "8035000000", "Effect of exchange rate changes on cash and cash equivalents (IFRS)": "-43000000", "Other income (IFRS)": "975000000.0", "Revenue - 2 (IFRS)": "124663000000.0", "Operating expenses (IFRS)": "58532000000.0", "Other expenses (IFRS)": "54000000.0", "Share of profit (loss) of investments accounted for using equity method (IFRS)": "2457000000.0", "Operating profit (loss) (IFRS)": "68533000000.0", "Finance income (IFRS)": "665000000.0", "Finance costs (IFRS)": "103000000.0", "Income tax expense (IFRS)": "20781000000.0", "Profit (loss) (IFRS)": "48314000000.0", "Profit (loss) attributable to owners of parent (IFRS)": "47609000000.0", "Profit (loss) attributable to non-controlling interests (IFRS)": "705000000.0", "Basic earnings (loss) per share (IFRS)": "88.91" } } ], "cursor": "eyJkIjoiMjAyNS0wNC0wMSIsInQiOiIyMDI1LTA0LTAxVDA4OjAwOjAwWiMyMDI1MDQwMTEzMDEwMCJ9" } ``` --- Source: https://jpx-jquants.com/en/spec/fin-dividend # Cash Dividend Data (/fins/dividend) `GET` /v2/fins/dividend ## Overview Provides information on dividends (determined and forecast) per share of listed companies, record date, ex-rights date, and payable date. ## Attention > **Info** > > - Stocks that are not listed on the TSE (including issue listed only on the other exchanges) are not included in the data. ## Get dividend data `GET` `https://api.jquants.com/v2/fins/dividend` Either issue code (code) or date (date) must be specified. ### Parameter and Response Either issue code (code) or date (date) must be specified.\ The combination of each parameter and the results of the response are as below. - code: ✓, date: –, from /to: – → Cash dividend data for all available period. - code: ✓, date: ✓, from /to: – → Cash dividend data for a specific issue on the specific date. - code: ✓, date: –, from /to: ✓ → Cash dividend data for a specific issue for the specified period. - code: –, date: ✓, from /to: – → Cash dividend data for all listed issues on the specific date. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | code | string | Optional | Issue code (e.g. 27800 or 2780) If a 4-character issue code is specified, only the data of common stock will be obtained for the issue on which both common and preferred stocks are listed. | | from | string | Optional | Starting point of data period (e.g. 20210901 or 2021-09-01) | | to | string | Optional | End point of data period (e.g. 20210907 or 2021-09-07) | | date | string | Optional | When "from" and "to" are not specified (e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/fins/dividend **cURL** ```bash curl -G https://api.jquants.com/v2/fins/dividend \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/fins/dividend", { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/dividend", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | ---------------- | --------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | PubDate | string | Required | Announcement Date (YYYY-MM-DD) | | PubTime | string | Required | Announcement Time (HH:MM) | | Code | string | Required | Issue code | | RefNo | string | Required | Reference Number Number to uniquely identify the dividend notification See [about Reference Number](https://jpx-jquants.com/en/spec/fin-dividend/reference-number) | | StatCode | string | Required | Status Code 1: new, 2: revised, 3: delete | | BoardDate | string | Required | Date of Board of Directors' resolution | | IFCode | string | Required | Interim/Final Code 1: interim, 2: final | | FRCode | string | Required | Forecast/Result Code 1: result, 2: forecast | | IFTerm | string | Required | Interim Final Term | | DivRate | number / string | Required | Dividend value per share "-" if undetermined, "" if not applicable. | | RecDate | string | Required | Record date | | ExDate | string | Required | Ex-rights date | | ActRecDate | string | Required | Date of Dividend Vesting | | PayDate | string | Required | Scheduled payment start date "-" if undetermined, "" if not applicable. | | CARefNo | string | Required | CA Reference Number Reference number of the dividend notice of modification or deletion. For new notification, same value as Reference number. See [about Reference Number](https://jpx-jquants.com/en/spec/fin-dividend/reference-number) | | DistAmt | number / string | Required | Amount of cash delivered per share "-" if undetermined, "" if not applicable. Provides only after February 24, 2014. | | RetEarn | number / string | Required | Retained earnings per share "-" if undetermined, "" if not applicable. Provides only after February 24, 2014. | | DeemDiv | number / string | Required | Deemed dividend per share "-" if undetermined, "" if not applicable. Provides only after February 24, 2014. | | DeemCapGains | number / string | Required | Amount of deemed transfer income per share "-" if undetermined, "" if not applicable. Provides only after February 24, 2014. | | NetAssetDecRatio | number / string | Required | Decrease ratio in net assets "-" if undetermined, "" if not applicable. Provides only after February 24, 2014. | | CommSpecCode | string | Required | Code stands for Commemorative/Special dividend 1: Commemorative, 2: Special, 3: Both, 0: Normal | | CommDivRate | number / string | Required | Commemorative dividend value per share "-" if undetermined, "" if not applicable. Provides only after June 6, 2022. | | SpecDivRate | number / string | Required | Special dividend value per share "-" if undetermined, "" if not applicable. Provides only after June 6, 2022. | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "PubDate": "2014-02-24", "PubTime": "09:21", "Code": "15550", "RefNo": "201402241B00002", "StatCode": "1", "BoardDate": "2014-02-24", "IFCode": "2", "FRCode": "2", "IFTerm": "2014-03", "DivRate": "-", "RecDate": "2014-03-10", "ExDate": "2014-03-06", "ActRecDate": "2014-03-10", "PayDate": "-", "CARefNo": "201402241B00002", "DistAmt": "", "RetEarn": "", "DeemDiv": "", "DeemCapGains": "", "NetAssetDecRatio": "", "CommSpecCode": "0", "CommDivRate": "", "SpecDivRate": "" } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/fin-dividend/reference-number # About Reference Number ## Reference Number - Reference number: Number uniquely assigned to each record - CA Reference number: Reference number assigned to each corporate action event. For a record with status "revised" or "delete", same value as reference number of the previous dividend notice to be modified or deleted is set in this field. For a record with status "new", same value as Reference number is set. ## Example: When the following notifications are received, we provide data as shown in the table below - Issue: Japan Exchange Group, Inc. (Code: 86970) - 2023-03-06 New dividend information is provided. - 2023-03-07 Previously announced dividend information is modified. - 2023-03-08 Previously announced dividend information is deleted. - 2023-03-09 Another new dividend information is provided. | PubDate | Code | RefNo | CARefNo | StatCode | | ---------- | ----- | ----- | ------- | ---------- | | 2023-03-06 | 86970 | 1 | 1 | 1: new | | 2023-03-07 | 86970 | 2 | 1 | 2: revised | | 2023-03-08 | 86970 | 3 | 1 | 3: delete | | 2023-03-09 | 86970 | 4 | 4 | 1: new | > **Note** > > - Only some items are shown in this example. > - The above values only are for illustrative purposes and may differ from the data actually generated. --- Source: https://jpx-jquants.com/en/spec/fin-earnings-date # Earnings Announcement Dates (/fins/earnings-date) `GET` /v2/fins/earnings-date ## API Overview This API provides the earnings announcement dates that listed companies have reported to the Tokyo Stock Exchange.\ It covers all listed issues that have submitted a report (including REITs), regardless of their fiscal year end, and provides the history of changes and "to be determined" announcements on a per-publication-date basis. ### Notes on this API > **Info** > > - When a change to an earnings announcement date is reported, the previous data is not deleted; the revised scheduled date is added as a new record (queries by `code` return all records including the change history). > - When a previously published earnings announcement date is later changed to "to be determined", SchDate is an empty string (`""`). > - When querying by `scheduled_date`, only the most recently published record for each issue and fiscal quarter (1Q/2Q/3Q/FY) matches. Therefore, if a scheduled date has since been changed, the record does not match its pre-change scheduled date. > - The data availability period of each plan is applied based on the publication date (`PubDate`). With `date`, specifying a date outside your plan's accessible range returns a 400 error. With `code` / `scheduled_date`, records published outside the range are not included in the results. ## Retrieve earnings announcement date data `GET` `https://api.jquants.com/v2/fins/earnings-date` Exactly one of `code` (issue code), `date` (publication date), or `scheduled_date` (scheduled announcement date) must be specified.\ The combinations of parameters and the corresponding responses are as follows. - code: ✓, date: –, scheduled\_date: – → Publication history of scheduled dates for the specified issue - code: –, date: ✓, scheduled\_date: – → Scheduled date data published or changed on the specified date, for all issues - code: –, date: –, scheduled\_date: ✓ → Data for all issues whose currently effective scheduled announcement date is the specified date * Specifying two or more parameters at the same time results in a 400 error.\\ * If no matching data exists, an empty array (`"data": []`) is returned. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------- | | code | string | Optional | Issue code (e.g. 86970 or 8697) | | date | string | Optional | Publication date (e.g. 20250620 or 2025-06-20) | | scheduled\_date | string | Optional | Scheduled earnings announcement date (e.g. 20250805 or 2025-08-05) | | pagination\_key | string | Optional | String to specify the starting point of the search Set the pagination\_key returned by a previous search | ### Sample Code /v2/fins/earnings-date **cURL** ```bash curl -G https://api.jquants.com/v2/fins/earnings-date \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/fins/earnings-date', { params: { code: '{{code}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/earnings-date", params={"code": "{{code}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Results | Parameter | Type | Required | Description | | --------- | ------ | -------- | ---------------------------------------------------------------------------------------------- | | PubDate | string | Required | Publication date (YYYY-MM-DD) The date on which this scheduled date was published or changed | | SchDate | string | Required | Scheduled earnings announcement date (YYYY-MM-DD) An empty string (`""`) when to be determined | | FQName | string | Required | Fiscal quarter (1Q / 2Q / 3Q / FY) | | FYE | string | Required | Fiscal year end (MMDD) | | Code | string | Required | Issue code (5 digits) | | CoName | string | Required | Company name (Japanese) | | CoNameEn | string | Required | Company name (English) | Note: Company names (CoName / CoNameEn) reflect the data as of PubDate. ### Sample Response ```bash {{ title: "200:OK" }} { "data": [ { "PubDate": "2025-06-03", "SchDate": "2025-07-30", "FQName": "1Q", "FYE": "0331", "Code": "86970", "CoName": "日本取引所グループ", "CoNameEn": "Japan Exchange Group,Inc." } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/fin-summary # Financial Data (Summary only) (/fins/summary) `GET` /v2/fins/summary ## Overview You can obtain quarterly earnings summaries and disclosure information (mainly numerical data) on revisions to earnings and dividend information for listed companies.\ Either issue code (code) or date (date) must be specified. ## Attention > **Info** > > - **About Accounting Standards:** Each item name output from the API is based on Japanese GAAP (JGAAP) disclosure items. Therefore, IFRS and U.S. GAAP (USGAAP) disclosure data do not have the concept of ordinary income, so the data is blank. > **Info** > > - **About addition of API item in response to the "Revision of the Quarterly Disclosure System":** > - In response to the "Revision of the Quarterly Disclosure System", the items to be described in the Summary Form of Financial Statements will be changed as below. > - **before:** "Changes in significant subsidiaries during the period (changes in specified subsidiaries resulting in the change in scope of consolidation)" > - **after:** "Significant changes in the scope of consolidation during the period" > - In response to this change, "SignificantChangesInTheScopeOfConsolidation" is added to the response items of this API from Jul 22, 2024. > - For details, please refer to the Data Item column. > **Info** > > This API has its own [individual rate limit](https://jpx-jquants.com/en/spec/rate-limits#rate-limits-by-endpoint). For best practices on efficient data retrieval, including bulk retrieval of historical data, see [Rate Limits](https://jpx-jquants.com/en/spec/rate-limits#best-practices). ## Get quarterly financial information `GET` `https://api.jquants.com/v2/fins/summary` Either "code" or "date" must be specified. ### Parameter and Response Either "code" or "date" must be specified.\ Combination of parameter in the request and results are as below. - code: ✓, date: –, cursor: – → All financial data for a specific issue. - code: ✓, date: ✓, cursor: – → Financial data for a specific issue on the specific date. - code: –, date: ✓, cursor: – → Financial data for all listed issues on the specific date. - code: –, date: ✓, cursor: ✓ → Financial data since the previous request (Premium plan only). ### Retrieving financial data using cursor For the cursor-based differential retrieval specification, see [Retrieving Differential Data Using Cursor](https://jpx-jquants.com/en/spec/cursor). > **Note** > > The cursor parameter is available for Premium plan users only. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | code | string | Optional | Issue code (e.g. 86970 or 8697) 4 or 5 character issue code | | date | string | Optional | Disclosure date (e.g. 2022-01-05 or 20220105) | | cursor | string | Optional | Cursor for differential retrieval (Premium plan only) Use the value returned as cursor in the previous response. Cannot be specified together with pagination\_key. For details, see [Retrieving Differential Data Using Cursor](https://jpx-jquants.com/en/spec/cursor). | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/fins/summary **cURL** ```bash curl -G https://api.jquants.com/v2/fins/summary \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: 'https://api.jquants.com', headers: { 'x-api-key': '{{apiKey}}' }, }) await client.get('/v2/fins/summary', { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/fins/summary", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | DiscDate | string | Required | Disclosed Date | | DiscTime | string | Required | Disclosed Time | | Code | string | Required | Issue code (5 digits) | | DiscNo | string | Required | Disclosure Number The json output from the API is sorted in ascending order by disclosure number. | | DocType | string | Required | Type of Document [Type of Document List](https://jpx-jquants.com/en/spec/fin-summary/typeofdocument) | | CurPerType | string | Required | Type of Current Period \[1Q, 2Q, 3Q, 4Q, 5Q, FY] | | CurPerSt | string | Required | Current Period Start Date | | CurPerEn | string | Required | Current Period End Date | | CurFYSt | string | Required | Current Fiscal Year Start Date | | CurFYEn | string | Required | Current Fiscal Year End Date | | NxtFYSt | string | Required | Next Fiscal Year Start Date Empty if no next fiscal year disclosure information in the record. | | NxtFYEn | string | Required | Next Fiscal Year End Date Empty if no next fiscal year disclosure information in the record. | | Sales | number | Required | Net Sales | | OP | number | Required | Operating Profit | | OdP | number | Required | Ordinary Profit | | NP | number | Required | Profit | | EPS | number | Required | Earnings Per Share | | DEPS | number | Required | Diluted Earnings Per Share | | TA | number | Required | Total Assets | | Eq | number | Required | Equity | | EqAR | number | Required | Equity to Asset Ratio | | BPS | number | Required | Book Value Per Share | | CFO | number | Required | Cash Flows from Operating Activities | | CFI | number | Required | Cash Flows from Investing Activities | | CFF | number | Required | Cash Flows from Financing Activities | | CashEq | number | Required | Cash and Equivalents | | Div1Q | number | Required | Result Dividend Per Share 1st Quarter | | Div2Q | number | Required | Result Dividend Per Share 2nd Quarter | | Div3Q | number | Required | Result Dividend Per Share 3rd Quarter | | DivFY | number | Required | Result Dividend Per Share Fiscal Year End | | DivAnn | number | Required | Result Dividend Per Share Annual | | DivUnit | number | Required | Distributions Per Unit (REIT) | | DivTotalAnn | number | Required | Result Total Dividend Paid Annual | | PayoutRatioAnn | number | Required | Result Payout Ratio Annual | | FDiv1Q | number | Required | Forecast Dividend Per Share 1st Quarter | | FDiv2Q | number | Required | Forecast Dividend Per Share 2nd Quarter | | FDiv3Q | number | Required | Forecast Dividend Per Share 3rd Quarter | | FDivFY | number | Required | Forecast Dividend Per Share Fiscal Year End | | FDivAnn | number | Required | Forecast Dividend Per Share Annual | | FDivUnit | number | Required | Forecast Distributions Per Unit (REIT) | | FDivTotalAnn | number | Required | Forecast Total Dividend Paid Annual | | FPayoutRatioAnn | number | Required | Forecast Payout Ratio Annual | | NxFDiv1Q | number | Required | Forecast Dividend Per Share Next Year 1st Quarter | | NxFDiv2Q | number | Required | Forecast Dividend Per Share Next Year 2nd Quarter | | NxFDiv3Q | number | Required | Forecast Dividend Per Share Next Year 3rd Quarter | | NxFDivFY | number | Required | Forecast Dividend Per Share Next Year Fiscal Year End | | NxFDivAnn | number | Required | Forecast Dividend Per Share Next Year Annual | | NxFDivUnit | number | Required | Forecast Distributions Per Unit Next Year (REIT) | | NxFPayoutRatioAnn | number | Required | Forecast Payout Ratio Next Year Annual | | FSales2Q | number | Required | Forecast Net Sales 2nd Quarter | | FOP2Q | number | Required | Forecast Operating Profit 2nd Quarter | | FOdP2Q | number | Required | Forecast Ordinary Profit 2nd Quarter | | FNP2Q | number | Required | Forecast Profit 2nd Quarter | | FEPS2Q | number | Required | Forecast Earnings Per Share 2nd Quarter | | NxFSales2Q | number | Required | Forecast Net Sales Next Year 2nd Quarter | | NxFOP2Q | number | Required | Forecast Operating Profit Next Year 2nd Quarter | | NxFOdP2Q | number | Required | Forecast Ordinary Profit Next Year 2nd Quarter | | NxFNp2Q | number | Required | Forecast Profit Next Year 2nd Quarter | | NxFEPS2Q | number | Required | Forecast Earnings Per Share Next Year 2nd Quarter | | FSales | number | Required | Forecast Net Sales Fiscal Year End | | FOP | number | Required | Forecast Operating Profit Fiscal Year End | | FOdP | number | Required | Forecast Ordinary Profit Fiscal Year End | | FNP | number | Required | Forecast Profit Fiscal Year End | | FEPS | number | Required | Forecast Earnings Per Share Fiscal Year End | | NxFSales | number | Required | Forecast Net Sales Next Fiscal Year End | | NxFOP | number | Required | Forecast Operating Profit Next Fiscal Year End | | NxFOdP | number | Required | Forecast Ordinary Profit Next Fiscal Year End | | NxFNp | number | Required | Forecast Profit Next Fiscal Year End | | NxFEPS | number | Required | Forecast Earnings Per Share Next Fiscal Year End | | MatChgSub | string | Required | Material Changes in Subsidiaries | | SigChgInC | string | Required | Significant Changes In The Scope Of Consolidation If the specified date is before 2024-07-21, the response does not contain a value for that item. | | ChgByASRev | string | Required | Changes Based on Revisions of Accounting Standard | | ChgNoASRev | string | Required | Changes Other Than Ones Based on Revisions of Accounting Standard | | ChgAcEst | string | Required | Changes in Accounting Estimates | | RetroRst | string | Required | Retrospective Restatement | | ShOutFY | number | Required | Number of Issued and Outstanding Shares at Fiscal Year End Including Treasury Stock | | TrShFY | number | Required | Number of Treasury Stock at Fiscal Year End | | AvgSh | number | Required | Average Number of Shares | | NCSales | number | Required | Non-consolidated Net Sales | | NCOP | number | Required | Non-consolidated Operating Profit | | NCOdP | number | Required | Non-consolidated Ordinary Profit | | NCNP | number | Required | Non-consolidated Profit | | NCEPS | number | Required | Non-consolidated Earnings Per Share | | NCTA | number | Required | Non-consolidated Total Assets | | NCEq | number | Required | Non-consolidated Equity | | NCEqAR | number | Required | Non-consolidated Equity to Asset Ratio | | NCBPS | number | Required | Non-consolidated Book Value Per Share | | FNCSales2Q | number | Required | Non-consolidated Forecast Net Sales 2nd Quarter | | FNCOP2Q | number | Required | Non-consolidated Forecast Operating Profit 2nd Quarter | | FNCOdP2Q | number | Required | Non-consolidated Forecast Ordinary Profit 2nd Quarter | | FNCNP2Q | number | Required | Non-consolidated Forecast Profit 2nd Quarter | | FNCEPS2Q | number | Required | Non-consolidated Forecast Earnings Per Share 2nd Quarter | | NxFNCSales2Q | number | Required | Non-consolidated Forecast Net Sales Next Year 2nd Quarter | | NxFNCOP2Q | number | Required | Non-consolidated Forecast Operating Profit Next Year 2nd Quarter | | NxFNCOdP2Q | number | Required | Non-consolidated Forecast Ordinary Profit Next Year 2nd Quarter | | NxFNCNP2Q | number | Required | Non-consolidated Forecast Profit Next Year 2nd Quarter | | NxFNCEPS2Q | number | Required | Non-consolidated Forecast Earnings Per Share Next Year 2nd Quarter | | FNCSales | number | Required | Non-consolidated Forecast Net Sales Fiscal Year End | | FNCOP | number | Required | Non-consolidated Forecast Operating Profit Fiscal Year End | | FNCOdP | number | Required | Non-consolidated Forecast Ordinary Profit Fiscal Year End | | FNCNP | number | Required | Non-consolidated Forecast Profit Fiscal Year End | | FNCEPS | number | Required | Non-consolidated Forecast Earnings Per Share Fiscal Year End | | NxFNCSales | number | Required | Non-consolidated Forecast Net Sales Next Fiscal Year End | | NxFNCOP | number | Required | Non-consolidated Forecast Operating Profit Next Fiscal Year End | | NxFNCOdP | number | Required | Non-consolidated Forecast Ordinary Profit Next Fiscal Year End | | NxFNCNP | number | Required | Non-consolidated Forecast Profit Next Fiscal Year End | | NxFNCEPS | number | Required | Non-consolidated Forecast Earnings Per Share Next Fiscal Year End | | ShEq | number | Required | Shareholders' Equity | | NCShEq | number | Required | Non-consolidated Shareholders' Equity | | ROE | number | Required | Return on Equity | | NCROE | number | Required | Non-consolidated Return on Equity | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "DiscDate": "2023-01-30", "DiscTime": "12:00:00", "Code": "86970", "DiscNo": "20230127594871", "DocType": "3QFinancialStatements_Consolidated_IFRS", "CurPerType": "3Q", "CurPerSt": "2022-04-01", "CurPerEn": "2022-12-31", "CurFYSt": "2022-04-01", "CurFYEn": "2023-03-31", "NxtFYSt": "", "NxtFYEn": "", "Sales": "100529000000", "OP": "51765000000", "OdP": "", "NP": "35175000000", "EPS": "66.76", "DEPS": "", "TA": "79205861000000", "Eq": "320021000000", "EqAR": "0.004", "BPS": "", "CFO": "", "CFI": "", "CFF": "", "CashEq": "91135000000", "Div1Q": "", "Div2Q": "26.0", "Div3Q": "", "DivFY": "", "DivAnn": "", "DivUnit": "", "DivTotalAnn": "", "PayoutRatioAnn": "", "FDiv1Q": "", "FDiv2Q": "", "FDiv3Q": "", "FDivFY": "36.0", "FDivAnn": "62.0", "FDivUnit": "", "FDivTotalAnn": "", "FPayoutRatioAnn": "", "NxFDiv1Q": "", "NxFDiv2Q": "", "NxFDiv3Q": "", "NxFDivFY": "", "NxFDivAnn": "", "NxFDivUnit": "", "NxFPayoutRatioAnn": "", "FSales2Q": "", "FOP2Q": "", "FOdP2Q": "", "FNP2Q": "", "FEPS2Q": "", "NxFSales2Q": "", "NxFOP2Q": "", "NxFOdP2Q": "", "NxFNp2Q": "", "NxFEPS2Q": "", "FSales": "132500000000", "FOP": "65500000000", "FOdP": "", "FNP": "45000000000", "FEPS": "85.42", "NxFSales": "", "NxFOP": "", "NxFOdP": "", "NxFNp": "", "NxFEPS": "", "MatChgSub": "false", "SigChgInC": "", "ChgByASRev": "false", "ChgNoASRev": "false", "ChgAcEst": "true", "RetroRst": "", "ShOutFY": "528578441", "TrShFY": "1861043", "AvgSh": "526874759", "NCSales": "", "NCOP": "", "NCOdP": "", "NCNP": "", "NCEPS": "", "NCTA": "", "NCEq": "", "NCEqAR": "", "NCBPS": "", "FNCSales2Q": "", "FNCOP2Q": "", "FNCOdP2Q": "", "FNCNP2Q": "", "FNCEPS2Q": "", "NxFNCSales2Q": "", "NxFNCOP2Q": "", "NxFNCOdP2Q": "", "NxFNCNP2Q": "", "NxFNCEPS2Q": "", "FNCSales": "", "FNCOP": "", "FNCOdP": "", "FNCNP": "", "FNCEPS": "", "NxFNCSales": "", "NxFNCOP": "", "NxFNCOdP": "", "NxFNCNP": "", "NxFNCEPS": "", "ShEq": "318500000000", "NCShEq": "", "ROE": "0.112", "NCROE": "" } ], "cursor": "eyJkIjoiMjAyNS0wNC0wMSIsInQiOiIyMDI1LTA0LTAxVDA4OjAwOjAwWiMyMDI1MDQwMTEzMDEwMCJ9" } ``` --- Source: https://jpx-jquants.com/en/spec/fin-summary/typeofdocument # Type of Document List of TypeOfDocument items for Financial Data API. ## Document Type List | Document Type | Description | | -------------------------------------------------------- | ------------------------------------------------------------- | | FYFinancialStatements\_Consolidated\_JP | Financial Statements (Consolidated, JP GAAP) | | FYFinancialStatements\_Consolidated\_US | Financial Statements (Consolidated, US GAAP) | | FYFinancialStatements\_NonConsolidated\_JP | Financial Statements (Non-consolidated, JP GAAP) | | 1QFinancialStatements\_Consolidated\_JP | 1Q Financial Statements (Consolidated, JP GAAP) | | 1QFinancialStatements\_Consolidated\_US | 1Q Financial Statements (Consolidated, US GAAP) | | 1QFinancialStatements\_NonConsolidated\_JP | 1Q Financial Statements (Non-consolidated, JP GAAP) | | 2QFinancialStatements\_Consolidated\_JP | 2Q Financial Statements (Consolidated, JP GAAP) | | 2QFinancialStatements\_Consolidated\_US | 2Q Financial Statements (Consolidated, US GAAP) | | 2QFinancialStatements\_NonConsolidated\_JP | 2Q Financial Statements (Non-consolidated, JP GAAP) | | 3QFinancialStatements\_Consolidated\_JP | 3Q Financial Statements (Consolidated, JP GAAP) | | 3QFinancialStatements\_Consolidated\_US | 3Q Financial Statements (Consolidated, US GAAP) | | 3QFinancialStatements\_NonConsolidated\_JP | 3Q Financial Statements (Non-consolidated, JP GAAP) | | OtherPeriodFinancialStatements\_Consolidated\_JP | Other Period Financial Statements (Consolidated, JP GAAP) | | OtherPeriodFinancialStatements\_Consolidated\_US | Other Period Financial Statements (Consolidated, US GAAP) | | OtherPeriodFinancialStatements\_NonConsolidated\_JP | Other Period Financial Statements (Non-consolidated, JP GAAP) | | FYFinancialStatements\_Consolidated\_JMIS | Financial Statements (Consolidated, JMIS) | | 1QFinancialStatements\_Consolidated\_JMIS | 1Q Financial Statements (Consolidated, JMIS) | | 2QFinancialStatements\_Consolidated\_JMIS | 2Q Financial Statements (Consolidated, JMIS) | | 3QFinancialStatements\_Consolidated\_JMIS | 3Q Financial Statements (Consolidated, JMIS) | | OtherPeriodFinancialStatements\_Consolidated\_JMIS | Other Period Financial Statements (Consolidated, JMIS) | | FYFinancialStatements\_NonConsolidated\_IFRS | Financial Statements (Non-consolidated, IFRS) | | 1QFinancialStatements\_NonConsolidated\_IFRS | 1Q Financial Statements (Non-consolidated, IFRS) | | 2QFinancialStatements\_NonConsolidated\_IFRS | 2Q Financial Statements (Non-consolidated, IFRS) | | 3QFinancialStatements\_NonConsolidated\_IFRS | 3Q Financial Statements (Non-consolidated, IFRS) | | OtherPeriodFinancialStatements\_NonConsolidated\_IFRS | Other Period Financial Statements (Non-consolidated, IFRS) | | FYFinancialStatements\_Consolidated\_IFRS | Financial Statements (Consolidated, IFRS) | | 1QFinancialStatements\_Consolidated\_IFRS | 1Q Financial Statements (Consolidated, IFRS) | | 2QFinancialStatements\_Consolidated\_IFRS | 2Q Financial Statements (Consolidated, IFRS) | | 3QFinancialStatements\_Consolidated\_IFRS | 3Q Financial Statements (Consolidated, IFRS) | | OtherPeriodFinancialStatements\_Consolidated\_IFRS | Other Period Financial Statements (Consolidated, IFRS) | | FYFinancialStatements\_NonConsolidated\_Foreign | Financial Statements (Non-consolidated, Foreign) | | 1QFinancialStatements\_NonConsolidated\_Foreign | 1Q Financial Statements (Non-consolidated, Foreign) | | 2QFinancialStatements\_NonConsolidated\_Foreign | 2Q Financial Statements (Non-consolidated, Foreign) | | 3QFinancialStatements\_NonConsolidated\_Foreign | 3Q Financial Statements (Non-consolidated, Foreign) | | OtherPeriodFinancialStatements\_NonConsolidated\_Foreign | Other Period Financial Statements (Non-consolidated, Foreign) | | FYFinancialStatements\_Consolidated\_Foreign | Financial Statements (Consolidated, Foreign) | | 1QFinancialStatements\_Consolidated\_Foreign | 1Q Financial Statements (Consolidated, Foreign) | | 2QFinancialStatements\_Consolidated\_Foreign | 2Q Financial Statements (Consolidated, Foreign) | | 3QFinancialStatements\_Consolidated\_Foreign | 3Q Financial Statements (Consolidated, Foreign) | | OtherPeriodFinancialStatements\_Consolidated\_Foreign | Other Period Financial Statements (Consolidated, Foreign) | | FYFinancialStatements\_Consolidated\_REIT | Financial Statements (REIT) | | DividendForecastRevision | Dividend Forecast Revision | | EarnForecastRevision | Earnings Forecast Revision | | REITDividendForecastRevision | REIT Distribution Forecast Revision | | REITEarnForecastRevision | REIT Earnings Forecast Revision | --- Source: https://jpx-jquants.com/en/spec/fix-data-info # Data Correction History and Known issues ### How Data Corrections Are Reflected > **Note** > > - Data corrections are reflected by overwriting the existing data. Previous versions of the data are not retained, and diffs of corrected records are not provided. > - We do not provide an API that notifies you when a data update or correction is complete, nor version numbers or ETags for the data. > - Differential data retrieval using cursor is supported only for Financial Data, Financial Statement Data, and TDnet/Company Disclosure Index List (see [Retrieving Differential Data Using Cursor](https://jpx-jquants.com/en/spec/cursor)). > - If you need to reliably incorporate corrections, we recommend periodically re-fetching the data you need, taking the [update timing of provided data](https://jpx-jquants.com/en/spec/data-update) into account. ### Data Correction History #### Recent Data Correction History (Last 5 Entries) | Correction Date | Target API | Affected Period | Description | | ---------------- | -------------------------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | August 27, 2026 | TDnet/Company Disclosure | August 29, 2022, November 2, 2023 | Added missing disclosure index entries and disclosure documents (PDF/XBRL) for August 29, 2022 and November 2, 2023. The TDnet/Company Disclosure Index Bulk Download file has also been replaced with the corrected version. | | August 5, 2026 | Options (OHLC) | August 3, 2026 | Corrected incorrect values recorded in the following fields for some Securities Options (EQOP) issues.Settle(Settlement Price) IV(Implied Volatility)Number of affected issues: 1,189 The daily bulk data file for August 3, 2026 has also been replaced with the corrected version. | | June 29, 2026 | Stock Prices (OHLC) | - | Following the addition of rights issues to the price adjustment targets, adjusted prices and trading volumes that were not correctly adjusted for past rights issues have been corrected. Affected issue codes: 17730, 33180, 37500, 38320, 38560, 45410, 57210, 63970, 69930, 77780, 94780 | | January 23, 2026 | Outstanding Short Selling Positions Reported | November 7, 2013 - January 13, 2026 | Minor errors caused by floating-point operations have been corrected, and the values have been normalized to four decimal places.ShrtPosToSO(Ratio of Short Positions to Shares Outstanding) PrevRptRatio(Ratio of Short Positions in Previous Reporting) | | May 2, 2025 | Financial Data (Summary only) | - | Corrected the data overall. | #### Past Correction History | Correction Date | Target API | Affected Period | Description | | ------------------ | ------------------------------------------------------------------- | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | September 20, 2024 | Options (OHLC) | January 4, 2010 - March 20, 2014 | Corrected morning/afternoon session OHLC values for index options | | September 20, 2024 | Futures (OHLC) | From 2010 onwards | Corrected Day Session OHLC values for index futures | | August 2, 2024 | Financial Data (Summary only) / Financial Statement Data (BS/PL/CF) | - | Corrected the data overall. | | June 17, 2024 | Listed Issue Master | - | Fixed incorrect ScaleCategory values that were erroneously set to "-" | | February 28, 2024 | Financial Data (Summary only) / Financial Statement Data (BS/PL/CF) | January 13, 2009 - February 8, 2024 | Corrected the data overall. | | November 7, 2023 | Short Sale Value and Ratio by Sector | November 6, 2023 | Corrected entire data for November 6, 2023. | | September 22, 2023 | Trading by Type of Investors | - | Deleted data for non-existent issue codes that existed on certain dates Issue codes: 20000, 30000, 50000 | | April 10, 2023 | Financial Data (Summary only) | July 7, 2008 - March 31, 2014 | Fixed missing data for the following field (ResultDividentPerShareAnual). Corrected values that were incorrectly populated with previous fiscal period values to current fiscal period values. | | April 10, 2023 | Stock Prices (OHLC) | March 28, 2023 | Added missing data for March 28, 2023 | | April 4, 2023 | Financial Data (Summary only) | July 7, 2008 - March 31, 2014 | Fixed missing data for the following fields (TypeOfCurrentPeriod, CurrentPeriodStartDate, CurrentPeriodEndDate, CurrentFiscalYearStartDate, CurrentFiscalYearEndDate). | | April 4, 2023 | Options (OHLC) | May 7, 2008 - July 15, 2016 | Corrected Month (contract month) to YYYY-MM format | ### Known Issues This section describes currently known issues and problems. #### Current Known Issues | Date Added | Target API | Description | Workaround | Date Resolved | | ---------- | ---------- | ----------- | ---------- | ------------- | | None | | | | | #### Resolved | Date Added | Target API | Description | Workaround | Date Resolved | | --------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ------------------ | | August 26, 2024 | Futures (OHLC) | Unable to retrieve Day Session OHLC values for index futures. | | September 20, 2024 | | June 9, 2023 | Financial Data (Summary only) | Errors in TypeOfCurrentPeriod and CurrentPeriodEndDate * Issue code 36330: Disclosure dates 2017-04-27, 2017-07-27, 2017-10-30 * Issue code 60260: Disclosure dates 2015-04-28, 2015-07-29 | You can verify the period using the TypeOfDocument value [Document Type](fin-summary/typeofdocument) | February 28, 2024 | | April 10, 2023 | Trading by Type of Investors | Unable to retrieve all-day data without specifying a date | Please specify a date or section to narrow down the request scope. | April 27, 2023 | | April 3, 2023 | Financial Data (Summary only) | Unable to retrieve data for May 13, 2022 by specifying the date | Please specify both date and issue code to narrow down the request scope. | April 27, 2023 | --- Source: https://jpx-jquants.com/en/spec/gzip-compression # Gzip Compression of API Responses API responses are compressed using Gzip to reduce data transfer volume. ## Impact by User Usage Pattern | Package\* Usage | Accept-Encoding:gzip Present | Client-Side Handling Required | | :------------------- | :--------------------------- | :------------------------------------------------------------------------------------------------------------------------ | | **Package Used** | Header is added by default | **No handling required** (Compressed responses are automatically decompressed, so no client-side consideration is needed) | | **Package Not Used** | Header present | **Proper decompression of compressed responses is required** (For curl, use `--compressed`) | | | Header not present | **No handling required** (Uncompressed responses are received, so no client-side consideration is needed) | \* Refers to HTTP client libraries commonly used for REST API calls. (Examples) Libraries such as requests and urllib in Python --- Source: https://jpx-jquants.com/en/spec/idx-bars-daily-topix # TOPIX Prices (OHLC) (/indices/bars/daily/topix) `GET` /v2/indices/bars/daily/topix ## Overview Available index is TOPIX (Tokyo Stock Price Index). ## Get Daily TOPIX Information `GET` `https://api.jquants.com/v2/indices/bars/daily/topix` "from/to" can be specified (Optional). If "from/to" is not specified, the response contains all historical data. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters | Parameter | Type | Required | Description | | --------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | | from | string | Optional | Starting point of data period (e.g. 20210901 or 2021-09-01) | | to | string | Optional | End point of data period (e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/indices/bars/daily/topix **cURL** ```bash curl -G https://api.jquants.com/v2/indices/bars/daily/topix \ -H "x-api-key: {{apiKey}}" \ -d from="{{from}}" \ -d to="{{to}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/indices/bars/daily/topix", { params: { from: '{{from}}', to: '{{to}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/indices/bars/daily/topix", params={ "from": "{{from}}", "to": "{{to}}", }, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------- | | Date | string | Required | Date (YYYY-MM-DD) | | O | number | Required | Open Price | | H | number | Required | High Price | | L | number | Required | Low Price | | C | number | Required | Close Price | ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2022-06-28", "O": 1885.52, "H": 1907.38, "L": 1885.32, "C": 1907.38 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/idx-bars-daily/indexcodes # Index Codes ## Notes on Each Index > **Info** > > - Although the Tokyo Stock Exchange Mothers market was reorganized on April 4, 2022, based on certain rules, the replacement of the component stocks of the Tokyo Stock Exchange Mothers Index was carried out, and on November 6, 2023, the index name was changed to "Tokyo Stock Exchange Growth Market 250 Index". For details, please refer to [here](https://www.jpx.co.jp/english/news/6030/20230428-01.html). > - Indices marked "(Premium)" are available only with the Premium plan. > - Total Return Index series provide only the closing price. | Index Code | Index Name | Data Recording Period | | ---------- | -------------------------------------------------------------------------------------- | ---------------------------------------- | | 0000 | TOPIX | 2008/5/7〜 | | 0001 | TSE Second Section Composite Index | 2008/5/7〜2022/4/1 | | 0028 | TOPIX Core30 | 2008/5/7〜 | | 0029 | TOPIX Large 70 | 2008/5/7〜 | | 002A | TOPIX 100 | 2008/5/7〜 | | 002B | TOPIX Mid400 | 2008/5/7〜 | | 002C | TOPIX 500 | 2008/5/7〜 | | 002D | TOPIX Small | 2008/5/7〜 | | 002E | TOPIX 1000 | 2008/5/7〜 | | 002F | TOPIX Small500 | (OHLC) 2018/10/9〜 (Close only) 2018/9/3〜 | | 0040 | TSE Sector Index: Fishery, Agriculture & Forestry | 2008/5/7〜 | | 0041 | TSE Sector Index: Mining | 2008/5/7〜 | | 0042 | TSE Sector Index: Construction | 2008/5/7〜 | | 0043 | TSE Sector Index: Foods | 2008/5/7〜 | | 0044 | TSE Sector Index: Textiles & Apparels | 2008/5/7〜 | | 0045 | TSE Sector Index: Pulp & Paper | 2008/5/7〜 | | 0046 | TSE Sector Index: Chemicals | 2008/5/7〜 | | 0047 | TSE Sector Index: Pharmaceutical | 2008/5/7〜 | | 0048 | TSE Sector Index: Oil & Coal Products | 2008/5/7〜 | | 0049 | TSE Sector Index: Rubber Products | 2008/5/7〜 | | 004A | TSE Sector Index: Glass & Ceramics Products | 2008/5/7〜 | | 004B | TSE Sector Index: Iron & Steel | 2008/5/7〜 | | 004C | TSE Sector Index: Nonferrous Metals | 2008/5/7〜 | | 004D | TSE Sector Index: Metal Products | 2008/5/7〜 | | 004E | TSE Sector Index: Machinery | 2008/5/7〜 | | 004F | TSE Sector Index: Electric Appliances | 2008/5/7〜 | | 0050 | TSE Sector Index: Transportation Equipment | 2008/5/7〜 | | 0051 | TSE Sector Index: Precision Instruments | 2008/5/7〜 | | 0052 | TSE Sector Index: Other Products | 2008/5/7〜 | | 0053 | TSE Sector Index: Electric Power & Gas | 2008/5/7〜 | | 0054 | TSE Sector Index: Land Transportation | 2008/5/7〜 | | 0055 | TSE Sector Index: Marine Transportation | 2008/5/7〜 | | 0056 | TSE Sector Index: Air Transportation | 2008/5/7〜 | | 0057 | TSE Sector Index: Warehousing & Harbor Transportation Services | 2008/5/7〜 | | 0058 | TSE Sector Index: Information & Communication | 2008/5/7〜 | | 0059 | TSE Sector Index: Wholesale Trade | 2008/5/7〜 | | 005A | TSE Sector Index: Retail Trade | 2008/5/7〜 | | 005B | TSE Sector Index: Banks | 2008/5/7〜 | | 005C | TSE Sector Index: Securities & Commodity Futures | 2008/5/7〜 | | 005D | TSE Sector Index: Insurance | 2008/5/7〜 | | 005E | TSE Sector Index: Other Financing Business | 2008/5/7〜 | | 005F | TSE Sector Index: Real Estate | 2008/5/7〜 | | 0060 | TSE Sector Index: Services | 2008/5/7〜 | | 0070 | TSE Growth Market 250 Index (Formerly: TSE Mothers Index) | 2008/5/7〜 | | 0075 | REIT | 2008/5/7〜 | | 0080 | TOPIX-17 Foods | 2009/2/2〜 | | 0081 | TOPIX-17 Energy Resources | 2009/2/2〜 | | 0082 | TOPIX-17 Construction & Materials | 2009/2/2〜 | | 0083 | TOPIX-17 Raw Materials & Chemicals | 2009/2/2〜 | | 0084 | TOPIX-17 Pharmaceutical | 2009/2/2〜 | | 0085 | TOPIX-17 Automobiles & Transportation Equipment | 2009/2/2〜 | | 0086 | TOPIX-17 Steel & Nonferrous Metals | 2009/2/2〜 | | 0087 | TOPIX-17 Machinery | 2009/2/2〜 | | 0088 | TOPIX-17 Electric Appliances & Precision Instruments | 2009/2/2〜 | | 0089 | TOPIX-17 IT & Services, Others | 2009/2/2〜 | | 008A | TOPIX-17 Electric Power & Gas | 2009/2/2〜 | | 008B | TOPIX-17 Transportation & Logistics | 2009/2/2〜 | | 008C | TOPIX-17 Commercial & Wholesale Trade | 2009/2/2〜 | | 008D | TOPIX-17 Retail Trade | 2009/2/2〜 | | 008E | TOPIX-17 Banks | 2009/2/2〜 | | 008F | TOPIX-17 Financials (Ex Banks) | 2009/2/2〜 | | 0090 | TOPIX-17 Real Estate | 2009/2/2〜 | | 0091 | JASDAQ INDEX | 2008/5/7〜2022/4/1 | | 0500 | TSE Prime Market Index | 2022/6/27〜 | | 0501 | TSE Standard Market Index | 2022/6/27〜 | | 0502 | TSE Growth Market Index | 2022/6/27〜 | | 0503 | JPX Prime 150 Index | (OHLC) 2023/7/3〜 (Close only) 2023/5/29〜 | | 0504 | JPX Start-Up Acceleration 100 Index | (OHLC) 2026/3/9〜 (Close only) 2022/7/28〜 | | 8100 | TOPIX Value | 2009/2/9〜 | | 812C | TOPIX500 Value | 2009/2/9〜 | | 812D | TOPIXSmall Value | 2009/2/9〜 | | 8200 | TOPIX Growth | 2009/2/9〜 | | 822C | TOPIX500 Growth | 2009/2/9〜 | | 822D | TOPIXSmall Growth | 2009/2/9〜 | | 8501 | TSE REIT Office Index | (OHLC) 2010/3/8〜 (Close only) 2010/3/1〜 | | 8502 | TSE REIT Residential Index | (OHLC) 2010/3/8〜 (Close only) 2010/3/1〜 | | 8503 | TSE REIT Retail & Logistics, etc. Index | (OHLC) 2010/3/8〜 (Close only) 2010/3/1〜 | | 6000 | TOPIX (Total Return) Closing Price | 2010/1/4〜 | | B507 | JPX-Nikkei 400 Total Return Index Closing Price | 2013/11/18〜 | | 6096 | JPX-Nikkei 400 Net Total Return Index Closing Price | 2015/10/26〜 | | 6095 | TOPIX Net Total Return Index Closing Price | 2015/10/26〜 | | 6028 | TOPIX Core30 (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6029 | TOPIX Large70 (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 602A | TOPIX 100 (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 602B | TOPIX Mid400 (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 602C | TOPIX 500 (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 602D | TOPIX 1000 (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 602E | TOPIX Small (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6040 | Fishery, Agriculture & Forestry (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6041 | Mining (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6042 | Construction (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6043 | Foods (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6044 | Textiles & Apparels (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6045 | Pulp & Paper (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6046 | Chemicals (Total Return) Closing Price | (Premium) 2010/1/6〜 | | 6047 | Pharmaceutical (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6048 | Oil & Coal Products (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6049 | Rubber Products (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 604A | Glass & Ceramics Products (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 604B | Iron & Steel (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 604C | Nonferrous Metals (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 604D | Metal Products (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 604E | Machinery (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 604F | Electronic Appliances (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6050 | Transportation Equipment (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6051 | Precision Instruments (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6052 | Other Products (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6053 | Electric Power & Gas (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6054 | Land Transportation (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6055 | Marine Transportation (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6056 | Air Transportation (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6057 | Warehousing & Harbor Transportation Service (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6058 | Information & Communication (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6059 | Wholesale Trade (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 605A | Retail Trade (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 605B | Banks (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 605C | Securities & Commodity Futures (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 605D | Insurance (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 605E | Other Financing Business (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 605F | Real Estate (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6060 | Services (Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6080 | TOPIX-17 FOODS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6081 | TOPIX-17 ENERGY RESOURCES(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6082 | TOPIX-17 CONSTRUCTION & MATERIALS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6083 | TOPIX-17 RAW MATERIALS & CHEMICALS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6084 | TOPIX-17 PHARMACEUTICAL(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6085 | TOPIX-17 AUTOMOBILES & TRANSPORTATION EQUIPMENT(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6086 | TOPIX-17 STEEL & NONFERROUS METALS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6087 | TOPIX-17 MACHINERY(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6088 | TOPIX-17 ELECTRIC APPLIANCES & PRECISION INSTRUMENTS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6089 | TOPIX-17 IT & SERVICES, OTHERS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 608A | TOPIX-17 ELECTRIC POWER & GAS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 608B | TOPIX-17 TRANSPORTATION & LOGISTICS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 608C | TOPIX-17 COMMERCIAL & WHOLESALE TRADE(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 608D | TOPIX-17 RETAIL TRADE(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 608E | TOPIX-17 BANKS(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 608F | TOPIX-17 FINANCIALS (EX BANKS)(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6090 | TOPIX-17 REAL ESTATE(Total Return) Closing Price | (Premium) 2010/1/4〜 | | B100 | TOPIX Value(Total Return) Closing Price | (Premium) 2010/1/4〜 | | B200 | TOPIX 500 Value(Total Return) Closing Price | (Premium) 2010/1/4〜 | | B12C | TOPIX Small Value(Total Return) Closing Price | (Premium) 2010/1/4〜 | | B22C | TOPIX Growth(Total Return) Closing Price | (Premium) 2010/1/4〜 | | B12D | TOPIX 500 Growth(Total Return) Closing Price | (Premium) 2010/1/4〜 | | B22D | TOPIX Small Growth(Total Return) Closing Price | (Premium) 2010/1/4〜 | | 6075 | REIT Index (Total Return) Closing Price | (Premium) 2010/1/4〜 | | B500 | Dividend Focus 100 (Total Return) Closing Price | (Premium) 2010/3/1〜 | | B501 | Tokyo Stock Exchange REIT Office Index(Total Return) Closing Price | (Premium) 2010/3/1〜 | | B502 | Tokyo Stock Exchange REIT Residential Index(Total Return) Closing Price | (Premium) 2010/3/1〜 | | B503 | Tokyo Stock Exchange REIT Retail & Logistics, Others Index(Total Return) Closing Price | (Premium) 2010/3/1〜 | | 7000 | Tokyo Stock Exchange Prime Market Total Return Index Closing Price | (Premium) 2022/4/4〜 | | 7001 | Tokyo Stock Exchange Standard Market Total Return Index Closing Price | (Premium) 2022/4/4〜 | | 7002 | Tokyo Stock Exchange Growth Market Total Return Index Closing Price | (Premium) 2022/4/4〜 | | 6503 | JPX Prime 150 Index (Total Return) Closing Price | (Premium) 2023/5/29〜 | | 6504 | JPX Start-Up Acceleration 100 Index (Total Return) Closing Price | (Premium) 2022/7/28〜 | --- Source: https://jpx-jquants.com/en/spec/idx-bars-daily # Indices (OHLC) (/indices/bars/daily) `GET` /v2/indices/bars/daily ## Overview Available various indices. Please refer to [this page](https://jpx-jquants.com/en/spec/idx-bars-daily/indexcodes) for the currently distributed indices. ### Attention > **Info** > > - Although the Tokyo Stock Exchange Mothers market was reorganized on April 4, 2022, based on certain rules, the replacement of the component stocks of the Tokyo Stock Exchange Mothers Index was carried out, and on November 6, 2023, the index name was changed to "Tokyo Stock Exchange Growth Market 250 Index". For details, please refer to [here](https://www.jpx.co.jp/english/news/6030/20230428-01.html). > - The OHLC data for Oct. 1st, 2020 includes the closing price from the previous trading day (Sep. 30th, 2020) because trading was halted all day due to the failure of the equity trading system, arrowhead. > - Some indices are available only with the Premium plan. > - For some indices, only the closing price is provided. ### Indices and Items Not Provided Please refer to [the index codes page](https://jpx-jquants.com/en/spec/idx-bars-daily/indexcodes) for the indices currently distributed. The following indices and items are not provided. > **Info** > > - The Nikkei Stock Average (cash index) is not provided. > - Trading value and trading volume are not included in the responses of this API. ## Get daily various indices prices (OHLC) `GET` `https://api.jquants.com/v2/indices/bars/daily` Either "code" or "date" must be specified. ### Parameter and Response In your request message, either "code" or "date" must be specified.\ Combination of parameter in the request and results are as below. - code: ✓, date: –, from /to: – → All historical indices prices of a specific index code. - code: ✓, date: ✓, from /to: – → Indices prices of a specific index code on the specific date. - code: ✓, date: –, from /to: ✓ → Indices prices of a specific index code for the specified period. - code: –, date: ✓, from /to: – → All listed indices prices for the specific date. ### Requests ### Headers | Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------- | | x-api-key | string | Required | API Key | ### Query Parameters > **Note** > > Either **code** or **date** must be specified. | Parameter | Type | Required | Description | | --------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | code | string | Optional | Index code (e.g. 0000 or 0028) Please refer to [the index codes page](https://jpx-jquants.com/en/spec/idx-bars-daily/indexcodes) for the currently distributed indices. | | date | string | Optional | Date of data when "from" and "to" are not specified (e.g. 20210907 or 2021-09-07) | | from | string | Optional | Starting point of data period (e.g. 20210901 or 2021-09-01) | | to | string | Optional | End point of data period (e.g. 20210907 or 2021-09-07) | | pagination\_key | string | Optional | The primary key of the first item that this operation will evaluate. Use the value that was returned for pagination\_key in the previous operation. | ### Sample Code /v2/indices/bars/daily **cURL** ```bash curl -G https://api.jquants.com/v2/indices/bars/daily \ -H "x-api-key: {{apiKey}}" \ -d code="{{code}}" \ -d date="{{date}}" ``` **JavaScript** ```javascript import axios from 'axios' const client = axios.create({ baseURL: "https://api.jquants.com", headers: { "x-api-key": "{{apiKey}}" }, }) await client.get("/v2/indices/bars/daily", { params: { code: '{{code}}', date: '{{date}}', }, }) ``` **Python** ```python import requests headers = {"x-api-key": "{{apiKey}}"} resp = requests.get( "https://api.jquants.com/v2/indices/bars/daily", params={"code": "{{code}}", "date": "{{date}}"}, headers=headers, ) print(resp.json()) ``` ### Responses ### Data Item | Parameter | Type | Required | Description | | --------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------- | | Date | string | Required | Date (YYYY-MM-DD) | | Code | string | Required | Index Code Please refer to [this page](https://jpx-jquants.com/en/spec/idx-bars-daily/indexcodes) for the currently distributed indices. | | O | number | Required | Open Price(※) | | H | number | Required | High Price(※) | | L | number | Required | Low Price(※) | | C | number | Required | Close Price | ※ Null is set for indices where only the closing price is provided. ### Response Sample ```bash {{ title: "200:OK" }} { "data": [ { "Date": "2023-12-01", "Code": "0028", "O": 1199.18, "H": 1202.58, "L": 1195.01, "C": 1200.17 } ], "pagination_key": "value1.value2." } ``` --- Source: https://jpx-jquants.com/en/spec/jquants-cli # J-Quants CLI A guide to using the CLI tool `jquants` for retrieving Japanese stock market data via J-Quants API V2. > **Note** > > This guide focuses on setup, global options, and common usage patterns. For a full list of subcommand options, run `jquants