S SPARKDATA
← Back to data results

China equities

Stock Securities Margin

StockSecuritiesMargin
FreeJSONTry online

This API is free. Query it with any API key in your account.

Data description

Use the field names shown below when building requests.

个股融资融券API用于获取沪深北上市公司融资融券情况;包括融资成本价、融资余额、融资余量、融资买入额、融资买入量、融资偿还额、融资偿还量、融资净买入额、融资经买入量、融券余额、融券余量、融券卖出额、融券卖出量、融券净卖出额、融券净卖出量、融资融券余额、买入卖出差额、买入卖出差量、融资占交易所融资余额和融券占交易所融券余额等关键指标;帮助用户了解个股融资融券信息。 使用场景: -用户需要获取某个或多个A股股票在指定期间内交易日的融资融券数据; -用户需要了解某个或多个A股股票融资、融券占比情况

POST /v1/data/operations/StockSecuritiesMargin · JSON

Input parameters

FieldTypeConstraintDescription and example
stockObject
股票代码
string_array
string_array
Required
Dictionary selection: STOCK_A_COMPANY
股票代码

Example: ["1679"]

beginDate
开始日期
date
date
Optional开始日期

Example: 2026-10-15

endDate
截止日期
date
date
Optional截止日期

Example: 2026-11-14

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认值为1

Example: 1

pageSize
页内记录数
number
number
Optional单页返回的最大记录条数,默认为500

Example: 5

Response fields

FieldTypeConstraintDescription and example
stockobject
股票内码
string
string
—沪深北股票的内部唯一编码

Example: Example text

stockname
股票名称
string
string
—沪深北股票的股票简称

Example: Example text

stockcode
股票代码
string
string
—沪深北股票的交易代码

Example: Example text

tradingday
交易日期
string
string
—个股在区间内的交易日期,格式“YYYY-MM-DD”

Example: Example text

financeprice
融资成本价(元)
string
string
—个股在区间内交易日对应的融资成本价

Example: Example text

financebuyvalue
融资买入额(元)
string
string
—个股在区间内交易日对应的融资买入额

Example: Example text

financebuyvolume
融资买入量(股)
string
string
—个股在区间内交易日对应的融资买入量

Example: Example text

financerefundvalue
融资偿还额(元)
string
string
—个股在区间内交易日对应的融资偿还额

Example: Example text

financerefundvolume
融资偿还量(股)
string
string
—个股在区间内交易日对应的融资偿还量

Example: Example text

financevalue
融资余额(元)
string
string
—个股在区间内交易日对应的融资余额

Example: Example text

financevolume
融资余量(股)
string
string
—个股在区间内交易日对应的融资余量

Example: Example text

financebuynetvalue
融资净买入额(元)
string
string
—个股在区间内交易日对应的净买入额

Example: Example text

financebuynetvolume
融资净买入量(股)
string
string
—个股在区间内交易日对应的净买入量

Example: Example text

securitysellvalue
融券卖出额(元)
string
string
—个股在区间内交易日对应的融券卖出额

Example: Example text

securitysellvolume
融券卖出量(股)
string
string
—个股在区间内交易日对应的融券卖出量

Example: Example text

securityrefundvalue
融券偿还额(元)
string
string
—个股在区间内交易日对应的融券偿还额

Example: Example text

securityrefundvolume
融券偿还量(股)
string
string
—个股在区间内交易日对应的融券偿还量

Example: Example text

securityvalue
融券余额(元)
string
string
—个股在区间内交易日对应的融券余额

Example: Example text

securityvolume
融券余量(股)
string
string
—个股在区间内交易日对应的融券余量

Example: Example text

securitysellnetvalue
融券净卖出额(元)
string
string
—个股在区间内交易日对应的净卖出额

Example: Example text

securitysellnetvolume
融券净卖出量(股)
string
string
—个股在区间内交易日对应的净卖出量

Example: Example text

turnovervaluediff
买入卖出差额(元)
string
string
—个股在区间内交易日对应的买入卖出差额

Example: Example text

turnovervolumediff
买入卖出差量(股)
string
string
—个股在区间内交易日对应的买入卖出差量

Example: Example text

tradingvaluediff
融资融券差额(元)
string
string
—个股在区间内交易日对应的买入卖出差额

Example: Example text

tradingvalue
融资融券余额(元)
string
string
—个股在区间内交易日对应的融资融券余额

Example: Example text

Request example

Example instruments, required parameters and applicable page limits are prefilled. Open the side drawer for field notes and a live response.

{
  "parameters": {
    "stockObject": [
      "1679"
    ],
    "beginDate": "2026-10-15",
    "endDate": "2026-11-14",
    "pageNo": 1,
    "pageSize": 5
  }
}
  • stockObject: 贵州茅台 · 600519.SH
  • Samples use verified instruments and dictionary values. Records depend on the query range, data updates and the selected key's permissions.
  • The sample requests 5 records; some business aggregates may return more rows, as shown in the actual response.

Coverage and access boundaries

Run the example to check the securities, dates and fields you need. Available history and content rights vary by endpoint. Requests use your account access and the selected API key.

Follow the parameter notes for minute intervals, price adjustment and time units. A missing field does not mean a zero value.