Skip to content
Sign up

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.

GET/api/v1/account/ledgerGet a key
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

  • kindstring

    Only entries of this kind.

    One ofdepositwithdrawalwithdrawal_returnbuyselltrade_feeai_trade_startai_trade_resultcopy_startcopy_resultadjustmentearn_subscribeearn_redeemearn_rewardreferral_rewardaffiliate_payoutsub_transfermargin_resultmargin_financing

  • currencystring

    Only entries in this currency or instrument, such as EUR or BTC.

  • limitintegerDefault: 50

    How many entries on a page.

    From 1 to 100

  • beforestring

    The next cursor from the page before.

Response

  • entriesobject[]

    The entries, newest first.

  • nextstring | null

    A cursor for the next page, or null on the last one.