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