Indices (OHLC) (/indices)
You can get information about various indices (OHLC).
Overview
Available various indices.
Please refer to this page for the currently distributed indices.
Attention
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".
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.
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 | Results |
---|---|---|---|
All historical indices prices of a specific index code. | |||
Indices prices of a specific index code for the specified period | |||
All listed indices prices for the specific date. |
Get daily various indices prices (OHLC)
GET
https://api.jquants.com/v1/indices
Either "code" or "date" must be specified.
"*" Required.
Query Parameters
Name | Type | Description |
---|---|---|
code | String | |
from | String | starting point of data period (e.g. 20210901 or 2021-09-01) |
to | String | end point of data period (e.g. 20210907 or 2021-09-07) |
date | String | date of data *when "from" and "to" are not specified (e.g. 20210907 or 2021-09-07) |
pagination_key | String | The primary key of the first item that this operation will evaluate. Use the value that was returned for |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Access Key |
Data Item
Variables | Description | Date Type | Remark |
---|---|---|---|
Date | Date | String | YYYY-MM-DD |
Code | Index Code | String | Please refer to this page for the currently distributed indices. |
Open | Open Price | Number | |
High | High Price | Number | |
Low | Low price | Number | |
Close | Close price | Number |
Sample Code
最終更新