Account
Get the ledger
Every movement on the account, newest first: trades and fees, deposits and withdrawals, Earn, transfers between sub-accounts and leveraged results.
curl --request GET \
--url "https://reirex.com/api/v1/account/ledger?currency=EUR" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE"200 OKapplication/json
{
"entries": [
{
"entryId": "48213",
"kind": "trade_fee",
"book": "fiat",
"currency": "EUR",
"amount": "-0.70",
"balance": "12480.55",
"method": null,
"reference": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
"createdAt": "2026-10-14T16:14:15.412Z"
},
{
"entryId": "48212",
"kind": "buy",
"book": "spot",
"currency": "BTC",
"amount": "0.01000000",
"balance": "0.43150000",
"method": null,
"reference": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
"createdAt": "2026-10-14T16:14:15.412Z"
},
{
"entryId": "48211",
"kind": "buy",
"book": "fiat",
"currency": "EUR",
"amount": "-700.00",
"balance": "12481.25",
"method": null,
"reference": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
"createdAt": "2026-10-14T16:14:15.412Z"
}
],
"next": "48211"
}Each entry carries the balance it left behind, so you can rebuild any balance at any moment. Entries of one order, one transfer or one position share a reference.
A page holds up to 100 entries. When there are more, pass next as before to read on.
Query parameters
kindstringOnly entries of this kind.
One of
depositwithdrawalwithdrawal_returnbuyselltrade_feeai_trade_startai_trade_resultcopy_startcopy_resultadjustmentearn_subscribeearn_redeemearn_rewardreferral_rewardaffiliate_payoutsub_transfermargin_resultmargin_financingcurrencystringOnly entries in this currency or instrument, such as
EURorBTC.limitintegerDefault: 50How many entries on a page.
From 1 to 100
beforestringThe
nextcursor from the page before.
Response
entriesobject[]The entries, newest first.
nextstring | nullA cursor for the next page, or
nullon the last one.

