Margin Trading Outstanding (Daily) (/markets/margin_interest)
You can get Daily margin trading outstanding.
Overview
You can get the margin transaction balance (number of shares and value) for all listed issues.
Attention
Parameter and Response
In your request message, either "code", "date" or "published_date" must be specified. Combination of parameters in the request and results are as below.
All historical data of a specific issue.
Data of a specific issue for the specific date (Date).
Data of a specific issue for the specified period (Date).
Data of a specific issue for the specified published date (PublishedDate).
All listed issue data for the specific date (Date).
All listed issue data for the specified published date (PublishedDate).
"published_date" cannot be specified together with "date", "from" or "to" (an error is returned regardless of whether "code" is specified).
Get daily margin trading outstandings
GET https://api.jquants-pro.com/v2/markets/margin_interest
Either "code", "date" or "published_date" must be specified.
"*" Required.
Query Parameters
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 (Date)
(e.g. 20210901 or 2021-09-01)
Cannot be specified together with "published_date".
to
String
end point of data period (Date)
(e.g. 20210907 or 2021-09-07)
Cannot be specified together with "published_date".
date
String
date of data (Date)
(e.g. 20210907 or 2021-09-07)
Cannot be specified together with "published_date".
published_date
String
published date of data (PublishedDate)
(e.g. 20260928 or 2026-09-28)
Cannot be specified together with "date", "from" or "to" (a single date only). Only data with a PublishedDate is searched (records whose PublishedDate is null are not returned).
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
Authorization*
String
Access key
Data Item
PublishedDate
Published Date
String
YYYY-MM-DD Only available for data dated 2026-09-25 or later (null for earlier dates)
Date
Record Date
String
YYYY-MM-DD
Code
issue code
String
CompanyName
Company Name (Japanese)
String
CompanyNameEnglish
Company Name (English)
String
ISINCode
ISIN code
String
IssueType
Issue Classifications
String
1: Margin issues,
2: Loan issues,
3: Other issues(non-loan, non-margin)
ShortMarginOutstanding
Total margin trading (negotiable and standardized margin trading) short positions (shares)
Number
LongMarginOutstanding
Total margin trading (negotiable and standardized margin trading) long positions (shares)
Number
ShortNegotiableMarginOutstanding
Negotiable margin trading short positions (shares)
Number
LongNegotiableMarginOutstanding
Negotiable margin trading long positions (shares)
Number
ShortStandardizedMarginOutstanding
Standardized margin trading short positions (shares)
Number
LongStandardizedMarginOutstanding
Standardized margin trading long positions (shares)
Number
ShortMarginOutstandingValue
Total margin trading short positions (value)
Number
Only available for data dated 2026-09-25 or later (null for earlier dates)
LongMarginOutstandingValue
Total margin trading long positions (value)
Number
Only available for data dated 2026-09-25 or later (null for earlier dates)
ShortNegotiableMarginOutstandingValue
Negotiable margin trading short positions (value)
Number
Only available for data dated 2026-09-25 or later (null for earlier dates)
LongNegotiableMarginOutstandingValue
Negotiable margin trading long positions (value)
Number
Only available for data dated 2026-09-25 or later (null for earlier dates)
ShortStandardizedMarginOutstandingValue
Standardized margin trading short positions (value)
Number
Only available for data dated 2026-09-25 or later (null for earlier dates)
LongStandardizedMarginOutstandingValue
Standardized margin trading long positions (value)
Number
Only available for data dated 2026-09-25 or later (null for earlier dates)
Sample Code
Last updated