跳到主要内容

期货历史仓单

查询指定期货品种在日期范围内的仓单数据。

通用约定
  • Base URLhttps://fuyao.aicubes.cn
  • 必需请求头X-api-key;认证与权限错误通过业务 code 表达。
  • 期货合约使用完整 thscode,品种代码使用大写形式;接口返回统一 ApiResponse 信封。
  • ISO 日期按 Asia/Shanghai 解释,Unix 时间戳为毫秒。金融数值与日期来源缺失时可为 null,合法无数据时返回 []
GET /api/futures/warehouse-receipts/historical

MCP Tool:get_futures_warehouse_receipts_historical

请求参数

参数类型必需默认值说明
thscodestring期货合约完整同花顺代码。
start_datestring开始日期,格式 yyyy-MM-dd
end_datestring结束日期,不早于开始日期。

请求示例

curl 'https://fuyao.aicubes.cn/api/futures/warehouse-receipts/historical?thscode=CU2601.SHF&start_date=2026-09-01&end_date=2026-09-10' \
-H 'X-api-key: <your-api-key>'

响应示例

{
"code": 0,
"message": "success",
"request_id": "request-id",
"data": {
"timestamp": 1789036800000,
"item": [
{
"date": "2026-09-10",
"amount": 12000,
"amount_change": 300,
"equivalent_lots": 2400
}
]
}
}

返回字段

字段类型说明
timestamplong数据时间。
item[]array仓单列表;每项含 date 与可空的 amountamount_changeequivalent_lots