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
- x-api-keystringrequired
API Key
Query Parameters
- fromstringoptional
Starting point of data period (e.g. 20210901 or 2021-09-01)
- tostringoptional
End point of data period (e.g. 20210907 or 2021-09-07)
- pagination_keystringoptional
The primary key of the first item that this operation will evaluate.
Use the value that was returned forpagination_keyin the previous operation.
Sample Code
Request
GET
/v2/indices/bars/daily/topixcurl -G https://api.jquants.com/v2/indices/bars/daily/topix \
-H "x-api-key: {loading}" \
-d from="20220101" \
-d to="20221231"Responses
Data Item
- Datestring
- Date (YYYY-MM-DD)
- Onumber
- Open Price
- Hnumber
- High Price
- Lnumber
- Low Price
- Cnumber
- Close Price
Response Sample
{
"data": [
{
"Date": "2022-06-28",
"O": 1885.52,
"H": 1907.38,
"L": 1885.32,
"C": 1907.38
}
],
"pagination_key": "value1.value2."
}