pro

批量资金流(多股一次取)

⭐ 一次拿多只股票的资金流(主力资金 + 龙虎榜 + 大宗 + 融资融券),每只一条记录。给量化/批量研究用 —— 一次扫一个行业或自选池,不必一只一只调 /v1/fund。

用法:codes 用逗号分隔,如 ?codes=sh600519,sz000001,sz300750。

返回:data 是数组,每项含 code / ok / data(或 error)—— 逐只标明成功与否;同时给出 requested / returned / failed 计数。

上限:专业版单次最多 200 只(约一个行业),不限量版 1000 只。计费按实际返回只数(失败的不计)。

⚠️ 标的范围:资金流数据仅覆盖 A 股(sh/sz/bj);港股仅主力净流入一项,美股无资金流数据(该只会标 ok:false)。

get/v1/fund-batch

Request

  • Base URL: https://api.ashareapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.ashareapi.com/v1/fund-batch
  • Auth: none declared

Query parameters

codesstring required

多个股票代码,逗号分隔:sh600519,sz000001,sz300750

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.