Trading by Type of Investors (/markets/trades_spec)

Trading by type of investors (stock trading value/volume) can be obtained.

Overview

Trading by type of investors can be obtained. This data is the same as the following site but has a longer history. https://www.jpx.co.jp/english/markets/statistics-equities/investor-type/index.htmlarrow-up-right

For the interrelationships of each data, please refer to below.

Attention

circle-info
  • Following the revision of market classifications on April 4, 2022, statistical data that are based on market classifications have been changed as well.

  • If the value of the past data is modified, this API provides the data as follows;

    • Revisions that are announced 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.

Parameter and Response

In the request message, either "section" or "from/to" can be specified. The "is_value" flag can be set, and if it is true, you can obtain data for the amount; if false, you can obtain data for the number of shares. The combination of request parameters and results are as below.

Section
From /To
Results

Trading data of a specific section for the specified period.

All trading data of a specific section.

Trading data of all sections for the specified period.

All trading data of all sections for all available period.

For the flag "is_value", please refer to the table below.

If the flag "is_value" is not set, the response will be in trading value.

is_value
Results

true

Data in units of amount(Units of 1,000 yen)

false

Data in units of shares(Units of 1,000 shares)

For the parameter "section", please refer to the following page.

Section nameschevron-right

Get trading by type of investors

GET https://api.jquants-pro.com/v2/markets/trades_spec

Either "code" or "from/to" can be specified. It is possible to set a flag for the amount(is_value), and if it is true, you can obtain data for the amount; if false, you can obtain data for the number of shares.

"*" Required.

Query Parameters

Name
Type
Description

section

String

section name

(e.g. TSEPrime)

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)

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.

is_value

String

a flag for the amount

(true or false)

Headers

Name
Type
Description

Authorization*

String

Access Key

Data Item

Variable
Description
Data type
Remark

PublishedDate

Published Date

String

YY-MM-DD

StartDate

Start Date

String

YY-MM-DD

EndDate

End Date

String

YY-MM-DD

Section

Section Name

String

ProprietarySalesVolume

Proprietary Sales Volume

Number

ProprietaryPurchasesVolume

Proprietary Purchases Volume

Number

ProprietaryTotalVolume

Proprietary Total Volume

Number

ProprietaryBalanceVolume

Proprietary Balance Volume

Number

BrokerageSalesVolume

Brokerage Sales Volume

Number

BrokeragePurchasesVolume

Brokerage Purchases Volume

Number

BrokerageTotalVolume

Brokerage Total Volume

Number

BrokerageBalanceVolume

Brokerage Balance Volume

Number

TotalSalesVolume

Total Sales Volume

Number

TotalPurchasesVolume

Total Purchases Volume

Number

TotalTotalVolume

Total Total Volume

Number

TotalBalanceVolume

Total Balance Volume

Number

IndividualsSalesVolume

Individuals Sales Volume

Number

IndividualsPurchasesVolume

Individuals Purchases Volume

Number

IndividualsTotalVolume

Individuals Total Volume

Number

IndividualsBalanceVolume

Individuals Balance Volume

Number

ForeignersSalesVolume

Foreigners Sales Volume

Number

ForeignersPurchasesVolume

Foreigners Purchases Volume

Number

ForeignersTotalVolume

Foreigners Total Volume

Number

ForeignersBalanceVolume

Foreigners Balance Volume

Number

SecuritiesCosSalesVolume

Securities Cos Sales Volume

Number

SecuritiesCosPurchasesVolume

Securities Cos Purchases Volume

Number

SecuritiesCosTotalVolume

Securities Cos Total Volume

Number

SecuritiesCosBalanceVolume

Securities Cos Balance Volume

Number

InvestmentTrustsSalesVolume

Investment Trusts Sales Volume

Number

InvestmentTrustsPurchasesVolume

Investment Trusts Purchases Volume

Number

InvestmentTrustsTotalVolume

Investment Trusts Total Volume

Number

InvestmentTrustsBalanceVolume

Investment Trusts Balance Volume

Number

BusinessCosSalesVolume

Business Cos Sales Volume

Number

BusinessCosPurchasesVolume

Business Cos Purchases Volume

Number

BusinessCosTotalVolume

Business Cos Total Volume

Number

BusinessCosBalanceVolume

Business Cos Balance Volume

Number

OtherCosSalesVolume

Other Cos Sales Volume

Number

OtherCosPurchasesVolume

Other Cos Purchases Volume

Number

OtherCosTotalVolume

Other Cos Total Volume

Number

OtherCosBalanceVolume

Other Cos Balance Volume

Number

InsuranceCosSalesVolume

Insurance Cos Sales Volume

Number

InsuranceCosPurchasesVolume

Insurance Cos Purchases Volume

Number

InsuranceCosTotalVolume

Insurance Cos Total Volume

Number

InsuranceCosBalanceVolume

Insurance Cos Balance Volume

Number

CityBKsRegionalBKsEtcSalesVolume

City Banks Regional Banks Etc Sales Volume

Number

CityBKsRegionalBKsEtcPurchasesVolume

City Banks Regional Banks Etc Purchases Volume

Number

CityBKsRegionalBKsEtcTotalVolume

City Banks Regional Banks Etc Total Volume

Number

CityBKsRegionalBKsEtcBalanceVolume

City Banks Regional Banks Etc Balance Volume

Number

TrustBanksSalesVolume

Trust Banks Sales Volume

Number

TrustBanksPurchasesVolume

Trust Banks Purchases Volume

Number

TrustBanksTotalVolume

Trust Banks Total Volume

Number

TrustBanksBalanceVolume

Trust Banks Balance Volume

Number

OtherFinancialInstitutionsSalesVolume

Other Financial Institutions Sales Volume

Number

OtherFinancialInstitutionsPurchasesVolume

Other Financial Institutions Purchases Volume

Number

OtherFinancialInstitutionsTotalVolume

Other Financial Institutions Total Volume

Number

OtherFinancialInstitutionsBalanceVolume

Other Financial Institutions Balance Volume

Number

IndividualCashSalesVolume

Individual Cash Sales Volume

Number

IndividualCashPurchasesVolume

Individual Cash Purchases Volume

Number

IndividualMarginSalesVolume

Individual Margin Sales Volume

Number

IndividualMarginPurchasesVolume

Individual Margin Purchases Volume

Number

ProprietaryCashSalesVolume

Proprietary Cash Sales Volume

Number

ProprietaryCashPurchasesVolume

Proprietary Cash Purchases Volume

Number

ProprietaryMarginSalesVolume

Proprietary Margin Sales Volume

Number

ProprietaryMarginPurchasesVolume

Proprietary Margin Purchases Volume

Number

ForeignInstitutionsSalesVolume

Foreign Institutions Sales Volume

Number

ForeignInstitutionsPurchasesVolume

Foreign Institutions Purchases Volume

Number

ForeignIndividualsSalesVolume

Foreign Individuals Sales Volume

Number

ForeignIndividualsPurchasesVolume

Foreign Individuals Purchases Volume

Number

※ Difference represents the amount of 'purchases-sell,' indicating whether there were more sell orders or purchase orders. If there is no sign, it indicates a surplus of buy orders, while a '-' sign indicates a surplus of sell orders.

Sample Code

Last updated