Stock Prices (OHLC)(/prices/daily_quotes)

Historical stock prices including both adjusted and unadjusted prices, taking into account stock splits, etc.

Overview

You can get information about stock price.

Stock price consists before and after adjustment of stock splits and reverse stock splits (Rounded to first decimal places)

Attention

  • 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.

  • 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.

  • Stock price adjustments are supported only for stock splits and reverse stock splits. Please note that some corporate actions are not supported.

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.

CodeDateFrom /ToResults

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.

Get daily stock prices

GET https://api.jquants.com/v1/prices/daily_quotes

Either "code" or "date" must be specified.

"*" Required.

Query Parameters

NameTypeDescription

code

String

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

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 pagination_key in the previous operation.

Headers

NameTypeDescription

Authorization*

String

Access Key

{
    "daily_quotes": [
        {
            "Date": "2023-03-24",
            "Code": "86970",
            "Open": 2047.0,
            "High": 2069.0,
            "Low": 2035.0,
            "Close": 2045.0,
            "UpperLimit": "0",
            "LowerLimit": "0",
            "Volume": 2202500.0,
            "TurnoverValue": 4507051850.0,
            "AdjustmentFactor": 1.0,
            "AdjustmentOpen": 2047.0,
            "AdjustmentHigh": 2069.0,
            "AdjustmentLow": 2035.0,
            "AdjustmentClose": 2045.0,
            "AdjustmentVolume": 2202500.0,
            "MorningOpen": 2047.0,
            "MorningHigh": 2069.0,
            "MorningLow": 2040.0,
            "MorningClose": 2045.5,
            "MorningUpperLimit": "0",
            "MorningLowerLimit": "0",
            "MorningVolume": 1121200.0,
            "MorningTurnoverValue": 2297525850.0,
            "MorningAdjustmentOpen": 2047.0,
            "MorningAdjustmentHigh": 2069.0,
            "MorningAdjustmentLow": 2040.0,
            "MorningAdjustmentClose": 2045.5,
            "MorningAdjustmentVolume": 1121200.0,
            "AfternoonOpen": 2047.0,
            "AfternoonHigh": 2047.0,
            "AfternoonLow": 2035.0,
            "AfternoonClose": 2045.0,
            "AfternoonUpperLimit": "0",
            "AfternoonLowerLimit": "0",
            "AfternoonVolume": 1081300.0,
            "AfternoonTurnoverValue": 2209526000.0,
            "AfternoonAdjustmentOpen": 2047.0,
            "AfternoonAdjustmentHigh": 2047.0,
            "AfternoonAdjustmentLow": 2035.0,
            "AfternoonAdjustmentClose": 2045.0,
            "AfternoonAdjustmentVolume": 1081300.0
        }
    ],
    "pagination_key": "value1.value2."
}

Data Item

VariablesDescriptionData typeRemark

Date

Date

String

YYYY-MM-DD

Code

Issue code

String

Open

Open Price (before adjustment)

Number

High

High price (before adjustment)

Number

Low

Low price (before adjustment)

Number

Close

Close price (before adjustment)

Number

UpperLimit

Flag of hitting the upper price limit of the day

String

0: Other than hitting the upper price limit 1: Hitting the upper price limit

LowerLimit

Flag of hitting the lower price limit of the day

String

0: Other than hitting the lower price limit 1: Hitting the lower price limit

Volume

Trading volume (before Adjustment)

Number

TurnoverValue

Trading value

Number

AdjustmentFactor

Adjustment factor

Number

In the case of a two-for-one stock split, "0.5" will be set in the record on the ex-rights date.

AdjustmentOpen

Adjusted open price

Number

※1

AdjustmentHigh

Adjusted high price

Number

※1

AdjustmentLow

Adjusted low price

Number

※1

AdjustmentClose

Adjusted close price

Number

※1

AdjustmentVolume

Adjusted volume

Number

※1

MorningOpen

Open price of the morning session (before Adjustment)

Number

※2

MorningHigh

High price of the morning session (before Adjustment)

Number

※2

MorningLow

Low price of the morning session (before Adjustment)

Number

※2

MorningClose

Close price of the morning session (before Adjustment)

Number

※2

MorningUpperLimit

Flag of hitting the upper price limit of the day in morning session

String

0: Other than hitting the upper price limit 1: Hitting the upper price limit

※2

MorningLowerLimit

Flag of hitting the lower price limit of the day in morning session

String

0: Other than hitting the lower price limit 1: Hitting the lower price limit

※2

MorningVolume

Trading volume of the morning session (before Adjustment)

Number

※2

MorningTurnoverValue

Trading value of the morning session

Number

※2

MorningAdjustmentOpen

Adjusted open price of the morning session

Number

※1, ※2

MorningAdjustmentHigh

Adjusted high price of the morning session

Number

※1, ※2

MorningAdjustmentLow

Adjusted low price of the morning session

Number

※1, ※2

MorningAdjustmentClose

Adjusted close price of the morning session

Number

※1, ※2

MorningAdjustmentVolume

Adjusted trading volume of the morning session

Number

※1, ※2

AfternoonOpen

Open price of the afternoon session (before Adjustment)

Number

※2

AfternoonHigh

High price of the afternoon session (before Adjustment)

Number

※2

AfternoonLow

Low price of the afternoon session (before Adjustment)

Number

※2

AfternoonClose

Close price of the afternoon session (before Adjustment)

Number

※2

AfternoonUpperLimit

Flag of hitting the upper price limit of the day in afternoon session

String

0: Other than hitting the upper price limit 1: Hitting the upper price limit

※2

AfternoonLowerLimit

Flag of hitting the lower price limit of the day in afternoon session

String

0: Other than hitting the lower price limit 1: Hitting the lower price limit

※2

AfternoonVolume

Trading volume of the afternoon session (before Adjustment)

Number

※2

AfternoonTurnoverValue

Trading value of the afternoon session

Number

※2

AfternoonAdjustmentOpen

Adjusted open price of the afternoon session

Number

※1, ※2

AfternoonAdjustmentHigh

Adjusted high price of the afternoon session

Number

※1, ※2

AfternoonAdjustmentLow

Adjusted low price of the afternoon session

Number

※1, ※2

AfternoonAdjustmentClose

Adjusted close price of the afternoon session

Number

※1, ※2

AfternoonAdjustmentVolume

Adjusted trading volume of the afternoon session

Number

※1, ※2

※1 The item has been adjusted to take into account past divisions, etc. ※2 The item is available only for Premium plan users.

Sample Code

idToken=<YOUR idToken> && curl https://api.jquants.com/v1/prices/daily_quotes?code=86970&date=20230324 -H "Authorization: Bearer $idToken" 

最終更新