J-Quants API
Search
⌃K
📈

Stock price information API

You can get information about stock price.

Daily stock price information

Stock price data available since January 2017.
Stock price consists before and after adjustment of stock splits and reverse stock splits (Rounded to two decimal places)
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 stock prices of a specific issue.
Stock prices of a specific issue for the specified period
All listed issue prices for the specific date.
  • 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.
get
https://api.jpx-jquants.com/v1
/prices/daily_quotes
Get daily stock prices
Variables
Description
Data type
Examples
Code
Issue code
String
86970
Date
Date
String
20170113
Open
Open Price (before adjustment)
Number
1683
Close
Close price (before adjustment)
Number
1692
Low
Low price (before adjustment)
Number
1673
High
High price (before adjustment)
Number
1704
Volume
Volume (before Adjustment)
Number
1646200
TurnoverValue
Trading Value
Number
2778858800
AdjustmentFactor
Adjustment factor
Number
0.5(An example of stock split 1:2)
AdjustmentOpen
Adjusted open price
Number
841.5
AdjustmentClose
Adjusted close price
Number
846
AdjustmentLow
Adjusted low price
Number
836.5
AdjustmentHigh
Adjusted high price
Number
852
AdjustmentVolume
Adjusted volume
Number
3292400
Curl
Python
idToken=<YOUR idToken> && curl https://api.jpx-jquants.com/v1/prices/daily_quotes?code=86970 -H "Authorization: Bearer $idToken"
import requests
import json
idToken = "YOUR idToken"
headers = {'Authorization': 'Bearer {}'.format(idToken)}
r = requests.get("https://api.jpx-jquants.com/v1/prices/daily_quotes?code=86970", headers=headers)
r.json()
*All prices, the volume and trading value are Null for October 1, 2020 due to system failure.