S SPARKDATA
← Back to data results

Industries · Concepts

Industry Capital Flow

IndustryCapitalFlow
FreeJSONTry online

Operation explorer

Industry Capital Flow

IndustryCapitalFlow
Manage API keys

Loading account…

The example is prefilled. Choose an API key and run it.

Uses the account’s current access and allowance. Field notes stay separate so copied JSON remains executable.

  • industryObject: 银行
  • 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.
Example field notes 5
industryObjectstring_array · required
行业代码Use an exact name or dictionary code. 银行 (38-1-480000)
beginDatestring
查询资金流区间开始日期,输入格式“YYYY-MM-DD”Use YYYY-MM-DD; wrap array values in a JSON array.
endDatestring
查询资金流区间截止日期,输入格式“YYYY-MM-DD”(截止日期≥开始日期,当截止日期=开始日期时,交易区间为单日)Use YYYY-MM-DD; wrap array values in a JSON array.
pageNostring
定位分页查询的目标页码,默认值为1Page numbers start at 1; the sample reads the first page.
pageSizestring
单页返回的最大记录条数,默认为500The sample requests 5 records for a quick preview.
POST /v1/data/operations/IndustryCapitalFlow

curl example with field notes
# industryObject: string_array (required) — 行业代码
# beginDate: string — 查询资金流区间开始日期,输入格式“YYYY-MM-DD”
# endDate: string — 查询资金流区间截止日期,输入格式“YYYY-MM-DD”(截止日期≥开始日期,当截止日期=开始日期时,交易区间为单日)
# pageNo: string — 定位分页查询的目标页码,默认值为1
# pageSize: string — 单页返回的最大记录条数,默认为500
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/IndustryCapitalFlow' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"industryObject":["38-1-480000"],"beginDate":"2026-10-14","endDate":"2026-11-13","pageNo":"1","pageSize":"5"}}'

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描述】 行业资金流向接口主要用于输出单个行业的资金流向,或多个行业的资金流向数据对比。 该API接口返回指定行业的资金流向情况,资金的流入额、流出额、净流入额等指标。 典型问法:某行业的资金流入额是多少?某行业的超大单流出额是多少? 【API使用场景】 1、支持用户获取多个行业的最新资金流向信息; 2、有助于判断各不同行业之间当前的资金流入流出,识别不同行业板块的真实强弱,识别主力行为、验证趋势、提前预警风险或发现机会。

POST /v1/data/operations/IndustryCapitalFlow · JSON

Input parameters

FieldTypeConstraintDescription and example
industryObject
行业代码
string_array
string_array
Required
Dictionary selection: A_STOCK_BELONGS_INDUSTRY
行业代码

Example: ["38-1-480000"]

standard
行业类别
string_array
string_array
Optional
Dictionary selection: Industry_Statistic_Standard
行业分类:申万行业分类、证监会行业分类

Example: […]

beginDate
开始日期
string
string
Optional查询资金流区间开始日期,输入格式“YYYY-MM-DD”

Example: 2026-10-14

endDate
截止日期
string
string
Optional查询资金流区间截止日期,输入格式“YYYY-MM-DD”(截止日期≥开始日期,当截止日期=开始日期时,交易区间为单日)

Example: 2026-11-13

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

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
industrycode
行业代码
string
string
—行业代码

Example: Example text

industryname
行业名称
string
string
—行业名称

Example: Example text

industryclass
行业分类
string
string
—行业分类

Example: Example text

tradingday
交易日
string
string
—交易日期

Example: Example text

mainnetvalue
主力净额
string
string
—行业的主力净额

Example: Example text

buyvaluexl
流入金额(超大单)
string
string
—行业的流入金额(超大单)

Example: Example text

sellvaluexl
流出金额(超大单)
string
string
—行业的流出金额(超大单)

Example: Example text

buyvolumexl
流入量(超大单)
string
string
—行业的流入量(超大单)

Example: Example text

sellvolumexl
流出量(超大单)
string
string
—行业的流出量(超大单)

Example: Example text

buyvaluel
流入金额(大单)
string
string
—行业的流入金额(大单)

Example: Example text

sellvaluel
流出金额(大单)
string
string
—行业的流出金额(大单)

Example: Example text

buyvolumel
流入量(大单)
string
string
—行业的流入量(大单)

Example: Example text

sellvolumel
流出量(大单)
string
string
—行业的流出量(大单)

Example: Example text

buyvaluem
流入金额(中单)
string
string
—行业的流入金额(中单)

Example: Example text

sellvaluem
流出金额(中单)
string
string
—行业的流出金额(中单)

Example: Example text

buyvolumem
流入量(中单)
string
string
—行业的流入量(中单)

Example: Example text

sellvolumem
流出量(中单)
string
string
—行业的流出量(中单)

Example: Example text

buyvalues
流入金额(小单)
string
string
—行业的流入金额(小单)

Example: Example text

sellvalues
流出金额(小单)
string
string
—行业的流出金额(小单)

Example: Example text

buyvolumes
流入量(小单)
string
string
—行业的流入量(小单)

Example: Example text

sellvolumes
流出量(小单)
string
string
—行业的流出量(小单)

Example: Example text

buyvaluefivedayxl
5日流入金额(超大单)
string
string
—行业的5日流入金额(超大单)

Example: Example text

sellvaluefivedayxl
5日流出金额(超大单)
string
string
—行业的5日流出金额(超大单)

Example: Example text

buyvolumefivedayxl
5日流入量(超大单)
string
string
—行业的5日流入量(超大单)

Example: Example text

sellvolumefivedayxl
5日流出量(超大单)
string
string
—行业的5日流出量(超大单)

Example: Example text

buyvaluefivedayl
5日流入金额(大单)
string
string
—行业的5日流入金额(大单)

Example: Example text

sellvaluefivedayl
5日流出金额(大单)
string
string
—行业的5日流出金额(大单)

Example: Example text

buyvolumefivedayl
5日流入量(大单)
string
string
—行业的5日流入量(大单)

Example: Example text

sellvolumefivedayl
5日流出量(大单)
string
string
—行业的5日流出量(大单)

Example: Example text

buyvaluetendayxl
10日流入金额(超大单)
string
string
—行业的10日流入金额(超大单)

Example: Example text

sellvaluetendayxl
10日流出金额(超大单)
string
string
—行业的10日流出金额(超大单)

Example: Example text

buyvolumetendayxl
10日流入量(超大单)
string
string
—行业的10日流入量(超大单)

Example: Example text

sellvolumetendayxl
10日流出量(超大单)
string
string
—行业的10日流出量(超大单)

Example: Example text

buyvaluetendayl
10日流入金额(大单)
string
string
—行业的10日流入金额(大单)

Example: Example text

sellvaluetendayl
10日流出金额(大单)
string
string
—行业的10日流出金额(大单)

Example: Example text

buyvolumetendayl
10日流入量(大单)
string
string
—行业的10日流入量(大单)

Example: Example text

sellvolumetendayl
10日流出量(大单)
string
string
—行业的10日流出量(大单)

Example: Example text

buyvalue
流入金额
string
string
—行业的流入金额

Example: Example text

sellvalue
流出金额
string
string
—行业的流出金额

Example: Example text

buyvolume
流入量
string
string
—行业的流入量

Example: Example text

sellvolume
流出量
string
string
—行业的流出量

Example: Example text

netbuyvalue
净流入金额
string
string
—行业的净流入金额

Example: Example text

netbuyvolume
净流入量
string
string
—行业的净流入量

Example: Example text

buyvaluefiveday
5日流入金额
string
string
—行业的5日流入金额

Example: Example text

sellvaluefiveday
5日流出金额
string
string
—行业的5日流出金额

Example: Example text

buyvolumefiveday
5日流入量
string
string
—行业的5日流入量

Example: Example text

sellvolumefiveday
5日流出量
string
string
—行业的5日流出量

Example: Example text

buyvaluetenday
10日流入金额
string
string
—行业的10日流入金额

Example: Example text

sellvaluetenday
10日流出金额
string
string
—行业的10日流出金额

Example: Example text

buyvolumetenday
10日流入量
string
string
—行业的10日流入量

Example: Example text

sellvolumetenday
10日流出量
string
string
—行业的10日流出量

Example: Example text

netbuyvaluefiveday
5日净流入金额
string
string
—行业的5日净流入金额

Example: Example text

netbuyvolumefiveday
5日净流入量
string
string
—行业的5日净流入量

Example: Example text

netbuyvaluetenday
10日净流入金额
string
string
—行业的10日净流入金额

Example: Example text

netbuyvolumetenday
10日净流入量
string
string
—行业的10日净流入量

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": {
    "industryObject": [
      "38-1-480000"
    ],
    "beginDate": "2026-10-14",
    "endDate": "2026-11-13",
    "pageNo": "1",
    "pageSize": "5"
  }
}
  • industryObject: 银行
  • 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.