跳到主要内容

获取进行中订单

获取进行中订单

描述

获取进行中的P2P订单列表(待付款、待放币或申诉中)。

HTTP请求

  • GET /api/v3/p2p/pending-orders
  • 限频规则: 10次/秒/UID
  • 需要统一账户P2P只读权限
请求示例
curl "https://api.bitget.com/api/v3/p2p/pending-orders?limit=10" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
orderIdString订单编号
sideString交易方向:
buy 买入
sell 卖出。不传则默认为全部类型
startTimeString查询开始时间,Unix毫秒时间戳
endTimeString查询结束时间,Unix毫秒时间戳
cursorString游标
limitString每页条数,最大 10
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": {
"items": [
{
"orderId": "ORD123456",
"side": "sell",
"token": "USDT",
"fiat": "CNY",
"price": "7.28",
"amount": "728",
"quantity": "100",
"fee": "0",
"counterparty": "UserA",
"status": "pending_release",
"createdTime": "1740000000000",
"updatedTime": "1740000001000"
}
],
"nextId": "ORD123455"
}
}

返回参数

返回字段参数类型字段说明
itemsList数据集合
>orderIdString订单编号
>sideString交易方向:
buy 买入
sell 卖出
>tokenString加密货币币种
>fiatString法币币种
>priceString成交单价
>amountString成交金额,单位为法币
>quantityString成交数量,单位为加密货币
>feeString手续费
>counterpartyString交易对象昵称
>statusString订单状态:
pending_payment 待付款
pending_release 待放币
in_appeal 申诉中
>createdTimeString订单创建时间,Unix毫秒时间戳
>updatedTimeString订单更新时间,Unix毫秒时间戳
nextIdString下一页标识ID