pro

财务报表

财务报表三件套:利润表 / 资产负债表 / 现金流量表(多期,最近 N 期)。用户问『营收/净利润/毛利率/负债/财务数据』时用。

⭐ 多只请用 /v1/finance-batch(一次 10 只、逐只标明成功与否,实测 10 只 × 4 期 4.2 秒)—— 循环 20 只要 20 次请求。本端点只查一只。

⚠️ data 是【表列表】:data[0]=利润表 · data[1]=资产负债表 · data[2]=现金流量表;每张表是 [{EndDate: …, 字段: …}],期次降序(最新一期在最前)。 ⚠️ 2026-09-25 修正:此前返回的是最早 N 期(可能不含最新披露期)—— 已改为最近 N 期。

get/v1/finance

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/finance
  • Auth: none declared

Query parameters

codestring required

股票代码:sh600667

numinteger

返回期数,默认 4 期(最近 N 期,降序)

Response

Successful Response

unknown required

Changes

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