For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  • This API was released on September 28, 2026. Daily data is also available via SFTP and Snowflake from September 28, 2026.

  • Data is delivered at around 4:00 pm JST on each business day, with the Date (record date) being the previous business day.

  • About PublishedDate

    • PublishedDate is only available for data dated 2026-09-25 or later. For earlier dates, null is set.

    • When "published_date" is specified, only data with a PublishedDate is searched; records whose PublishedDate is null are not returned.

  • Note that this API is a different dataset from Margin Trading Outstanding (Issues Subject to Daily Publication) (/markets/daily_margin_interest), which covers only issues designated as issues subject to daily publication. Note also that the "date" parameter (published date) of that API corresponds to "published_date" of this API, while the "date" parameter of this API refers to the record date.

  • Daily margin trading outstanding data is available for data dated 2026-09-25 or later. For 2026-09-24 and earlier, only weekend data is recorded (same content as Margin Trading Outstanding (Weekly); data is not provided for weeks with two or fewer business days, such as year-end and New Year holidays).

  • The value fields (ShortMarginOutstandingValue, etc.) are only available for data dated 2026-09-25 or later. For earlier dates, null is set.

  • The value fields (ShortMarginOutstandingValue, etc.) are the contract value at execution. They are not marked to market daily.

  • No retroactive adjustment will be made to the data that have undergone corporate action.

  • Issues that are not listed on the Tokyo Stock Exchange (issues listed separately on local exchanges) are not provided.

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.

Code
Date
PublishedDate
From /To
Results

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

Name
Type
Description

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

Name
Type
Description

Authorization*

String

Access key

Data Item

Variable
Description
Data type
Remark

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

MarketCode

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