跳到主要内容

获取p2p商家广告单列表

限速规则 10次/1s (UID)

描述

获取p2p商家广告单列表

HTTP请求

  • GET /api/v2/p2p/advList
请求示例
curl "https://api.bitget.com/api/v2/p2p/advList?startTime=1659403328000&endTime=1659410528000&limit=20" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
startTimeString查询开始时间 (仅限查询90天内数据)
endTimeString查询结束时间
idLessThanString上一次查询返回的minMerchantId,
返回ID小于该入参的数据
limitString查询条数
默认值为20 ,最大值为20
statusString广告单状态
online 上架
offline 下架
completed 完成
editing 编辑中
advNoString广告单号
sideStringbuy/sell
coinString币种,如USDT
languageStringzh-CN/en-US
fiatString法币
orderByString排序字段(desc):createTime/price 默认createTime
payMethodIdString支付方式id
sourceTypeString查询范围
owner:查询自己的广告单(默认)
competitior:查询其他商家的广告单
ownerAndCompetitior:查询所有广告单
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1696930053072,
"data": {
"advList": [
{
"advId": "1",
"advNo": "1",
"side": "buy",
"advSize": "0.6",
"size": "0",
"coin": "BTC",
"price": "155570.9",
"coinPrecision": "36",
"fiat": "CNY",
"fiatPrecision": "2",
"fiatSymbol": "¥",
"status": "online",
"hide": "no",
"maxTradeAmount": "93342.54",
"minTradeAmount": "100",
"payDuration": "4",
"turnoverNum": "8",
"turnoverRate": "1.00",
"label": null,
"userLimitList": {
"minCompleteNum": "0",
"maxCompleteNum": "0",
"placeOrderNum": "0",
"allowMerchantPlace": "no",
"completeRate30d": "0",
"country": ""
},
"paymentMethodList": [
{
"paymentMethod": "Bank Card",
"paymentId": "11",
"paymentInfo": [
{
"name": "Bank Card",
"required": true,
"type": "txt"
}
]
},
{
"paymentMethod": "WeChat",
"paymentId": "12",
"paymentInfo": [
{
"name": "Payment code",
"required": true,
"type": "file"
},
{
"name": "WeChatAccount",
"required": true,
"type": "txt"
}
]
},
{
"paymentMethod": "Alipay",
"paymentId": "13",
"paymentInfo": [
{
"name": "AlipayAccount",
"required": true,
"type": "txt"
},
{
"name": "Payment code",
"required": true,
"type": "file"
}
]
}
],
"merchantCertifiedList": [],
"utime": "1696733724267",
"ctime": "1696733724267"
}
],
"minAdvId": "1"
}
}

返回值说明

返回字段字段说明
advList查询响应array
> advIdID
> advNo广告单号
> side买/卖类型:sell/buy
> advSize广告单总数量
> size已成交数量
> coin币(BGB,USDT,BTC,ETH)
> price价格(USD, JPY, CNY)
> coinPrecision币的小数位
> fiat法币名称
> fiatPrecision法币小数位
> fiatSymbol法币符号
> status广告单状态
online 上架
offline 下架
completed 完成
editing 编辑中
> hide广告单是否隐藏: yes/no
> maxTradeAmount最大下单数量
> minTradeAmount最小下单数量
> payDuration下单后支付时间期限, min
> turnoverNum商户 成单总数
> turnoverRate成交率
> label备注
> cTime创建时间, ms
> uTime最新修改时间, ms
> userLimitList广告单限制Array:以下规则用户禁止下单
>> minCompleteNum用户完成下单最小数量
>> maxCompleteNum用户完成下单最大数量
>> placeOrderNum用户在此广告单下最多可以下多少单
>> allowMerchantPlace是否允许商家下单
>> completeRate30d30日成交率
>> country适用国家
> paymentMethodList支付方式Array
>> paymentMethod支付名称
>> paymentId支付ID
>> paymentInfo支付方式详情信息
>>> requiredBoolean, 是否必须: true/false
>>> name支付详细说明
>>> type支付方式详情信息类型
> merchantCertifiedResult商家认证
>> imageUrl金牌商家认证图片
>> desc金牌商家认证描述
minAdvId返回结果的最小advId