Skip to content
Currency Conversion

Exchange records

Exchange records

GEThttps://b-api.longbridge.xyz/v1/whaleapi/portfolio/converts

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

pageinteger

page

sizeinteger

size

statusstring

status

target_currencysstring

search target currency array

source_currencysstring

search source currency array

begininteger

search begin time

endinteger

search end time

account_nostring

Account No

Responses

HTTP 200OK
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

list

Child attributes
convert_effectivebooleanrequired

true: settled | false: succeeded

created_atstringrequired

Created time

amountstringrequired

Exchange amount

updated_atstringrequired

Updated time

order_idstringrequired

Updated time

directionobjectrequired

Exchange from currency

estimate_timestringrequired

Estimate time

tostringrequired

Exchange target currency

statenumberrequired

state

idnumberrequired

id

admin_remarkstringrequired

Remark

fromstringrequired

Exchange from currency

estimate_amountstringrequired

Estimate amount

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs