Skip to content
Longport Whale
Reference Exchange Rate

Reference Exchange Rate

Query the Reference Exchange Rate list.

POSThttps://b-api.longbridge.xyz/v1/datasets/atm_forex_ib_rates

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

filtersobject

Filters

Child attributes
filters.idstring

Ref Conversion Rate ID

filters.base_currencystring

Base Currency. Values are dynamically queried from global_currency_filter_by_account_channel (not fixed); fetch them live via GET /v1/datasets/refs/tenant_currencies_by_channel.

filters.other_currencystring

Conversion Currency. Values are dynamically queried from global_currency_filter_by_account_channel (not fixed); fetch them live via GET /v1/datasets/refs/tenant_currencies_by_channel.

filters.record_dateobject

Record Date. Range filter; both bounds are optional (omit a bound to leave that side unbounded).

Child attributes
filters.record_date.gtestring

Greater Than or Equal

filters.record_date.ltestring

Less Than or Equal

filters.dtstring

Ledger Date

filters.updated_atobject

Updated Time. Range filter; both bounds are optional (omit a bound to leave that side unbounded). Defaults to the range [6 day(s) ago, today] when omitted (gte/lte roll with the request date).

Child attributes
filters.updated_at.gtestring

Greater Than or Equal

filters.updated_at.ltestring

Less Than or Equal

filters.rate_typestring

Rate Type. Options: ACCOUNT = Ledger rate; CCASS = CCASS; CURRENT = Spot rate

ACCOUNTCCASSCURRENT

filters.sourcestring

Source. Options: FILE = FILE; MANUEL_CREATE = MANUEL CREATE; AUTO = AUTO; COPY = COPY; CCASS = Auto Follow HKEX

FILEMANUEL_CREATEAUTOCOPYCCASS

pageinteger

Page

page_sizeinteger

Page Size

orderByarray<object>

Order By

Responses

HTTP 200Paginated list result.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List

totalintegerrequired

Total

Whale Docs