查詢交易所列表
該接口主要用於kyc=KOR的韓國個人用戶, 在提現時需要填寫接收方交易所信息
HTTP 請求
GET /v5/asset/withdraw/vasp/list
請求參數
無
響應參數
參數 | 類型 | 說明 |
---|---|---|
vasp | array | 交易所實體信息 |
> vaspEntityId | string | 接收方平台id. 當提現至Upbit或者不在該列表內的平台時, 請使用vaspEntityId="others" |
> vaspName | string | 接收方平台名稱 |
請求示例
- HTTP
- Python
- Node.js
GET /v5/asset/withdraw/vasp/list HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1715067106163
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXXX
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getExchangeEntities()
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
響應示例
{
"retCode": 0,
"retMsg": "success",
"result": {
"vasp": [
{
"vaspEntityId": "basic-finance",
"vaspName": "Basic-finance"
},
{
"vaspEntityId": "beeblock",
"vaspName": "Beeblock"
},
{
"vaspEntityId": "bithumb",
"vaspName": "bithumb"
},
{
"vaspEntityId": "cardo",
"vaspName": "cardo"
},
{
"vaspEntityId": "codevasp",
"vaspName": "codevasp"
},
{
"vaspEntityId": "codexchange-kor",
"vaspName": "CODExchange-kor"
},
{
"vaspEntityId": "coinone",
"vaspName": "coinone"
},
{
"vaspEntityId": "dummy",
"vaspName": "Dummy"
},
{
"vaspEntityId": "flata-exchange",
"vaspName": "flataexchange"
},
{
"vaspEntityId": "fobl",
"vaspName": "Foblgate"
},
{
"vaspEntityId": "hanbitco",
"vaspName": "hanbitco"
},
{
"vaspEntityId": "hexlant",
"vaspName": "hexlant"
},
{
"vaspEntityId": "inex",
"vaspName": "INEX"
},
{
"vaspEntityId": "infiniteblock-corp",
"vaspName": "InfiniteBlock Corp"
},
{
"vaspEntityId": "kdac",
"vaspName": "kdac"
},
{
"vaspEntityId": "korbit",
"vaspName": "korbit"
},
{
"vaspEntityId": "paycoin",
"vaspName": "Paycoin"
},
{
"vaspEntityId": "qbit",
"vaspName": "Qbit"
},
{
"vaspEntityId": "tennten",
"vaspName": "TENNTEN"
},
{
"vaspEntityId": "others",
"vaspName": "Others (including Upbit)"
}
]
},
"retExtInfo": {},
"time": 1715067106537
}