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.html
For the interrelationships of each data, please refer to below.

Attention
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.
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.
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 namesGet 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
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
Authorization*
String
Access Key
Data Item
PublishedDate
Published Date
String
YY-MM-DD
StartDate
Start Date
String
YY-MM-DD
EndDate
End Date
String
YY-MM-DD
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
PublishedDate
Published Date
String
YY-MM-DD
StartDate
Star tDate
String
YY-MM-DD
EndDate
End Date
String
YY-MM-DD
ProprietarySalesValue
Proprietary Sales Value
Number
ProprietaryPurchasesValue
Proprietary Purchases Value
Number
ProprietaryTotalValue
Proprietary Total Value
Number
ProprietaryBalanceValue
Proprietary Balance Value
Number
※
BrokerageSalesValue
Brokerage Sales Value
Number
BrokeragePurchasesValue
Brokerage Purchases Value
Number
BrokerageTotalValue
Brokerage Total Value
Number
BrokerageBalanceValue
Brokerage Balance Value
Number
※
TotalSalesValue
Total Sales Value
Number
TotalPurchasesValue
Total Purchases Value
Number
TotalTotalValue
Total Total Value
Number
TotalBalanceValue
Total Balance Value
Number
※
IndividualsSalesValue
Individuals Sales Value
Number
IndividualsPurchasesValue
Individuals Purchases Value
Number
IndividualsTotalValue
Individuals Total Value
Number
IndividualsBalanceValue
Individuals Balance Value
Number
※
ForeignersSalesValue
Foreigners Sales Value
Number
ForeignersPurchasesValue
Foreigners Purchases Value
Number
ForeignersTotalValue
Foreigners Total Value
Number
ForeignersBalanceValue
Foreigners Balance Value
Number
※
SecuritiesCosSalesValue
Securities Cos Sales Value
Number
SecuritiesCosPurchasesValue
Securities Cos Purchases Value
Number
SecuritiesCosTotalValue
Securities Cos Total Value
Number
SecuritiesCosBalanceValue
Securities Cos Balance Value
Number
※
InvestmentTrustsSalesValue
Investment Trusts Sales Value
Number
InvestmentTrustsPurchasesValue
Investment Trusts Purchases Value
Number
InvestmentTrustsTotalValue
Investment Trusts Total Value
Number
InvestmentTrustsBalanceValue
Investment Trusts Balance Value
Number
※
BusinessCosSalesValue
Business Cos Sales Value
Number
BusinessCosPurchasesValue
Business Cos Purchases Value
Number
BusinessCosTotalValue
Business Cos Total Value
Number
BusinessCosBalanceValue
Business Cos Balance Value
Number
※
OtherCosSalesValue
Other Cos Sales Value
Number
OtherCosPurchasesValue
Other Cos Purchases Value
Number
OtherCosTotalValue
Other Cos Total Value
Number
OtherCosBalanceValue
Other Cos Balance Value
Number
※
InsuranceCosSalesValue
Insurance Cos Sales Value
Number
InsuranceCosPurchasesValue
Insurance Cos Purchases Value
Number
InsuranceCosTotalValue
Insurance Cos Total Value
Number
InsuranceCosBalanceValue
Insurance Cos Balance Value
Number
※
CityBKsRegionalBKsEtcSalesValue
City BKs Regional BKs Etc Sales Value
Number
CityBKsRegionalBKsEtcPurchasesValue
City BKs Regional BKs Etc Purchases Value
Number
CityBKsRegionalBKsEtcTotalValue
City BKs Regional BKs Etc Total Value
Number
CityBKsRegionalBKsEtcBalanceValue
City BKs Regional BKs Etc Balance Value
Number
※
TrustBanksSalesValue
Trust Banks Sales Value
Number
TrustBanksPurchasesValue
Trust Banks Purchases Value
Number
TrustBanksTotalValue
Trust Banks Total Value
Number
TrustBanksBalanceValue
Trust Banks Balance Value
Number
※
OtherFinancialInstitutionsSalesValue
Other Financial Institutions Sales Value
Number
OtherFinancialInstitutionsPurchasesValue
Other Financial Institutions Purchases Value
Number
OtherFinancialInstitutionsTotalValue
Other Financial Institutions Total Value
Number
OtherFinancialInstitutionsBalanceValue
Other Financial Institutions Balance Value
Number
※
IndividualCashSalesValue
Individual Cash Sales Value
Number
IndividualCashPurchasesValue
Individual Cash Purchases Value
Number
IndividualMarginSalesValue
Individual Margin Sales Value
Number
IndividualMarginPurchasesValue
Individual Margin Purchases Value
Number
ProprietaryCashSalesValue
Proprietary Cash Sales Value
Number
ProprietaryCashPurchasesValue
Proprietary Cash Purchases Value
Number
ProprietaryMarginSalesValue
Proprietary Margin Sales Value
Number
ProprietaryMarginPurchasesValue
Proprietary Margin Purchases Value
Number
ForeignInstitutionsSalesValue
Foreign Institutions Sales Value
Number
ForeignInstitutionsPurchasesValue
Foreign Institutions Purchases Value
Number
ForeignIndividualsSalesValue
Foreign Individuals Sales Value
Number
ForeignIndividualsPurchasesValue
Foreign Individuals Purchases Value
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