Vai al contenuto
Registrati

Conto

Ottieni il registro dei movimenti

Ogni movimento del conto, dal più recente: scambi e commissioni, depositi e prelievi, Earn, trasferimenti tra sottoconti e risultati delle posizioni con leva.

GET/api/v1/account/ledgerOttieni una chiave
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"
}

Ogni voce riporta il saldo che ha lasciato, così puoi ricostruire qualsiasi saldo in qualsiasi momento. Le voci di uno stesso ordine, trasferimento o posizione condividono una reference.

Una pagina contiene fino a 100 voci. Se ce ne sono di più, passa next come before per continuare a leggere.

Parametri di query

  • kindstring

    Solo le voci di questo tipo.

    Uno tradepositwithdrawalwithdrawal_returnbuyselltrade_feeai_trade_startai_trade_resultcopy_startcopy_resultadjustmentearn_subscribeearn_redeemearn_rewardreferral_rewardaffiliate_payoutsub_transfermargin_resultmargin_financing

  • currencystring

    Solo le voci in questa valuta o strumento, come EUR o BTC.

  • limitintegerPredefinito: 50

    Quante voci per pagina.

    Da 1 a 100

  • beforestring

    Il cursore next della pagina precedente.

Risposta

  • entriesobject[]

    Le voci, dalla più recente.

  • nextstring | null

    Un cursore per la pagina successiva, o null sull'ultima.