年报财务历史(合并)
年报财务历史(合并)。
HTTP 方法与路径:GET /api/v1/stock/financial/history/{code}
入参
Path
| 参数 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
code | path | string | 是 | 股票代码 |
Query
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
reportType | string | 否 | 报表类型,可选 |
years | number | 否 | 年数 |
响应
响应外壳:成功时 JSON 含
success、data、可选message,见 统一响应体。
响应示例
对应请求 GET /api/v1/stock/financial/history/000001。字段以线上为准。
{
"success": true,
"data": {
"secuCode": "000001.SZ",
"code": "000001",
"reportType": "annual",
"years": 5,
"items": [
{
"code": "000001",
"secucode": "000001.SZ",
"reportDate": "2025-12-31",
"period": "2025",
"revenue": 131442,
"netProfit": 42633,
"parentNetProfit": 42633,
"minorityInterestPnL": 0,
"earningsPerShare": 2.07,
"totalSharesOutstandingMm": 19405.918198,
"debtRatioPct": 90.6985362426,
"roePct": 9.15,
"creditImpairmentLoss": 40407
},
"..."
],
"degradeReasons": [
"parent_fields_unavailable"
]
}
}请求示例
curl -sS -H "Authorization: Bearer <API_KEY>" "http://localhost:4000/api/v1/stock/financial/history/000001"Last updated on