GET /account/snapshot/{account}
GET

/v1/account/snapshot/{account}

Point-in-time XRP + token holdings valued in XRP at a historical ledger (resolve time to ledger via /ledger/at first)

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/account/snapshot/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE?ledger=101738551
Path parameterValueDescription
accountAn XRPL account, its r-address
Query parameterValueDescription
ledgerint (required) - ledger index
closeMsunix ms - close time; selects historical vs current pricing
curl 'https://api.xrpl.to/v1/account/snapshot/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE?ledger=101738551'

Response

200Example response1 ms · just now · 0.9 KB · 32 lines
https://api.xrpl.to/v1/account/snapshot/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE?ledger=101738551
{
  "success": true,
  "took": 342,
  "account": "rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE",
  "ledger": 101738551,
  "close_time": null,
  "exists": true,
  "xrp": 97035030.333233,
  "tokens": [
    {
      "md5": "f282fd625482ab355e885b76a75104ee",
      "currency": "4555524356000000000000000000000000000000",
      "issuer": "rUNaS5sqRuxZz6V7rBGhoSaZiVYA3ut4UL",
      "name": "EURCV",
      "slug": "rUNaS5sqRuxZz6V7rBGhoSaZiVYA3ut4UL-4555524356000000000000000000000000000000",
      "balance": 10000000,
      "price": 0,
      "valueXrp": 0
    },
    {
      "md5": "99fa18f93e571a287e669577f70aee40",
      "currency": "4F55534700000000000000000000000000000000",
      "issuer": "rHuiXXjHLpMP8ZE9sSQU5aADQVWDwv6h5p",
      "name": "OUSG",
      "slug": "rHuiXXjHLpMP8ZE9sSQU5aADQVWDwv6h5p-4F55534700000000000000000000000000000000",
      "balance": 179526.064832,
      "price": 0,
      "valueXrp": 0
    }
  ],
  "totalXrp": 97035030.333233
}
Shapeas documented
{
  success,
  took,
  account,
  ledger,
  close_time,
  exists,
  xrp,
  tokens[],
  totalXrp,
  truncated? + maxLines?
}

What it does

Point-in-time XRP + token holdings valued in XRP at a historical ledger (resolve time to ledger via /ledger/at first)

An account is its r-address, e.g. rN7n3473SaZBCG4dFL83w7a1RXtXtbk2D9.
OpenAPI