跳到主要内容

获取提币历史(支持多网络)(USER_DATA)

接口描述

获取提币历史 (支持多网络)

HTTP请求

GET /sapi/v1/capital/withdraw/history

请求权重(IP)

18000 请求限制: 每秒10次

  • 本接口特别采用每秒UID速率限制,用户的总秒级 UID 速率限制为180000/秒。从该接口收到的响应包含key X-SAPI-USED-UID-WEIGHT-1S,该key定义了当前 UID 使用的权重

请求参数

名称类型是否必需描述
coinSTRINGNO
withdrawOrderIdSTRINGNO
statusINTNO0(0:已发送确认Email,1:已被用户取消 2:等待确认 3:被拒绝 4:处理中 5:提现交易失败 6 提现完成)
offsetINTNO
limitINTNO默认:1000, 最大:1000
startTimeLONGNO默认当前时间90天前的时间戳
endTimeLONGNO默认当前时间戳
recvWindowLONGNO
timestampLONGYES
  • 支持多网络提币前的历史记录可能不会返回network字段.
  • 请注意startTimeendTime 的默认时间戳,保证请求时间间隔不得超过90天.
  • 同时提交startTimeendTime间隔不得超过90天.
  • 若传了withdrawOrderId,则请求的startTimeendTime的时间间隔不得超过7天.
  • 若传了withdrawOrderId,没传startTimeendTime,则默认返回最近7天数据.

响应示例

[
{
"id": "b6ae22b3aa844210a7041aee7589627c", // 该笔提现在币安的id
"amount": "8.91000000", // 提现转出金额
"transactionFee": "0.004", // 手续费
"coin": "USDT",
"status": 6,
"address": "0x94df8b352de7f46f64b01d3666bf6e936e44ce60",
"txId": "0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268" // 提现交易id
"applyTime": "2019-10-12 11:12:02", // UTC 时间
"network": "ETH",
"transferType": 0 // 1: 站内转账, 0: 站外转账
"withdrawOrderId": "WITHDRAWtest123", // 自定义ID, 如果没有则不返回该字段
"info": "The address is not valid. Please confirm with the recipient", // 提币失败原因
"confirmNo":3, // 提现确认数
"walletType": 1, //1: 资金钱包 0:现货钱包
"txKey": "",
"completeTime": "2023-03-23 16:52:41" // 提现完成,成功下账时间(UTC)
},
{
"id": "156ec387f49b41df8724fa744fa82719",
"amount": "0.00150000",
"transactionFee": "0.004",
"coin": "BTC",
"status": 6,
"address": "1FZdVHtiBqMrWdjPyRPULCUceZPJ2WLCsB",
"txId": "60fd9007ebfddc753455f95fafa808c4302c836e4d1eebc5a132c36c1d8ac354"
"applyTime": "2019-09-24 12:43:45",
"network": "BTC",
"transferType": 0,
"info": "",
"confirmNo": 2,
"walletType": 1,
"txKey": "",
"completeTime": "2023-03-23 16:52:41"
}
]