接口文档研读 · 交割合约

独立教程与工具 · 非 Gate 官方网站

API REFERENCE / 交割合约

Gate 交割市场逐笔成交记录:参数、响应与查询工具

通过交割合约名称和时间条件读取市场成交,为特定到期合约建立成交历史索引。

文档标注免认证 GET固定规格 v4.106.132资料核对:2026-09-10
GET /delivery/{settle}/trades

这条查询解决什么问题

成交编号与时间属于这一交割市场的记录,不能用相似价格认定它与现货或永续成交是同一笔。

这是公开数据的读取接口说明。行情、合约与市场状态会变化,字段定义与返回数据应分开核对。

查看官方英文说明

Futures market transaction records

此操作没有额外说明。

请求参数逐项核对

字段名和数据类型保留官方拼写。必填标记来自规格;描述中的条件约束还需要一起检查。

参数与位置类型与范围官方字段说明
settlepath · 必填string枚举:usdt
Settle currency
contractquery · 必填string
Futures contract
limitquery · 可选integer默认:100;最小:1;最大:1000
Maximum number of records returned in a single list
last_idquery · 可选string
Use the ID of the last record in the previous list as the starting point for the next list.This field is no longer supported. For new requests, please use the fromand tofields to specify the time rang
fromquery · 可选integer格式:"int64"
Specify starting time in Unix seconds. If not specified, `to` and `limit` will be used to limit response items. If items between `from` and `to` are more than `limit`, only `limit` number will be returned.
toquery · 可选integer格式:"int64"
Specify end time in Unix seconds, default to current time.

在本页组装查询 URL

填写参数后生成一个 GET 地址,只在浏览器本地处理。留空的可选项不会发送。请勿填写密码、API Key 或 Secret。

path · string枚举:usdt
query · string
query · integer默认:100;最小:1;最大:1000
query · string
query · integer格式:"int64"
query · integer格式:"int64"
尚未生成 URL。

不会向 Gate 或本站发送表单内容。

工具检查必填、枚举与简单数值范围,不代替服务端校验。复合参数、时间窗口、条件必填等请对照上方原文。

响应字段怎样阅读

以下展示的是规格中的类型定义,不是现场 API 响应,也不是行情样本。嵌套结构展开至三层;数组的 [] 表示其中一个元素。

HTTP 200 · List retrieved successfully

字段路径数据类型字段说明
$array<object>
未提供字段注释
$[]object
未提供字段注释
$[].idinteger格式:"int64"
Fill ID
$[].create_timenumber格式:"double"
Fill Time
$[].create_time_msnumber格式:"double"
Trade time, with millisecond precision to 3 decimal places
$[].contractstring
Futures contract
$[].sizeinteger格式:"int64"
Trading size
$[].pricestring
Trade price (quote currency)
$[].is_internalboolean
Deprecated

来源、版本与使用说明

本站独立整理 Gate 技术资料,不代表 Gate,不提供账户、交易、充值或软件下载服务。

参数和字段改编自 Gate 官方 SDK 的 Apache 2.0 开放规格,固定版本为 v4.106.132。核对时官网文档已为 v4.106.136,后续变更须以官网为准;本页并未声称对该接口做过在线实测。

中文用途解释、字段阅读界面和本地 URL 组装器由本站整理。访问日志用于站点运维;页面没有第三方统计脚本,表单参数仅在当前页面内存中处理。