Skip to main content

Get Exchange History

info
  • API key permission: Convert
  • API rate limit: 10 req /s
  • You can query all small-balance exchange records made via API or web/app from both the Unified and Funding wallets.

HTTP Request​

GET/v5/asset/covert/small-balance-history

Request Parameters​

ParameterRequiredTypeComments
accountTypefalsestringeb_convert_uta, eb_convert_funding
quoteIdfalsestringQuote ID, highest priority when querying
startTimefalsestringThe start timestamp (ms)
endTimefalsestringThe end timestamp (ms)
cursorfalsestringPage number
sizefalsestringPage size, default is 50, maximum is 100

Response Parameters​

ParameterTypeComments
cursorstringCurrent page number
sizestringCurreng page size
lastPagestringLast page number
totalCountstringTotal number of records
recordsarray<object>
> accountTypestringeb_convert_uta: unified wallet, eb_convert_funding: funding wallet
> exchangeTxIdstringExchange transaction ID
> toCoinstringTarget currency
> toAmountstringActual total amount received
> subRecordsarray<object>details
>> fromCoinstringSource currency
>> fromAmountstringSource currency amount
>> toCoinstringTarget currency
>> toAmountstringActual amount received
>> feeCoinstringExchange fee currency
>> feeAmountstringExchange fee
>> statusstringinit, processing, success, failure, partial_fulfillment
>> taxFeeInfoobject
>>> totalAmountstringTax fee amount
>>> feeCoinstringTax fee currency
>>> taxFeeItemsarrayTax fee items
> statusstringinit, processing, success, failure, partial_fulfillment
> createdAtstringQuote created timestamp
> exchangeSourcestringExchange source small_asset_uta, small_asset_funding
> feeCoinstringExchange fee currency
> totalFeeAmountstringTotal exchange fee amount
> totalTaxFeeInfoobject
>> totalAmountstringTotal tax fee amount
>> feeCoinstringTax fee currency
>> taxFeeItemsarrayTax fee items

Request Example​

GET /v5/asset/covert/small-balance-history?quoteId=1010075157602517596339322880&accountType=eb_convert_uta HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1766134218672
X-BAPI-RECV-WINDOW: 5000

Response Example​

{
"retCode": 0,
"retMsg": "ok",
"result": {
"cursor": "1",
"size": "50",
"lastPage": "1",
"totalCount": "1",
"records": [
{
"accountType": "eb_convert_uta",
"exchangeTxId": "1010075157602517596339322880",
"toCoin": "USDC",
"toAmount": "0.000728325793503221",
"subRecords": [
{
"fromCoin": "SOL",
"fromAmount": "0.000003",
"toCoin": "USDC",
"toAmount": "0.000363439538230885",
"feeCoin": "USDC",
"feeAmount": "0.000007417133433283",
"status": "success",
"taxFeeInfo": {
"totalAmount": "0",
"feeCoin": "",
"taxFeeItems": []
}
},
{
"fromCoin": "XRP",
"fromAmount": "0.0002",
"toCoin": "USDC",
"toAmount": "0.000364886255272336",
"feeCoin": "USDC",
"feeAmount": "0.000007446658270864",
"status": "success",
"taxFeeInfo": {
"totalAmount": "0",
"feeCoin": "",
"taxFeeItems": []
}
}
],
"status": "success",
"createdAt": "1766128195000",
"exchangeSource": "small_asset_uta",
"feeCoin": "USDC",
"totalFeeAmount": "0.000014863791704147",
"totalTaxFeeInfo": {
"totalAmount": "0",
"feeCoin": "",
"taxFeeItems": []
}
}
]
},
"retExtInfo": {},
"time": 1766129394948
}