POST /account/balance
POST

/v1/account/balance

Batch balance lookup (max 100)

AuthNone — works without a key

Request

POSThttps://api.xrpl.to/v1/account/balance
Body
Body fieldsas documented
{ accounts[] }
curl -X POST 'https://api.xrpl.to/v1/account/balance' \
  -H 'Content-Type: application/json' \
  -d '{ "accounts": [ "rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE", "rpiFwLYi6Gb1ESHYorn2QG1WU5vw2u4exQ" ] }'

Response

200Example response2 ms · just now · 0.3 KB · 17 lines
https://api.xrpl.to/v1/account/balance
{
  "success": true,
  "took": 1,
  "count": 2,
  "data": [
    {
      "account": "rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE",
      "balance": 167380145.229464,
      "total": 167380146.829464
    },
    {
      "account": "rpiFwLYi6Gb1ESHYorn2QG1WU5vw2u4exQ",
      "balance": 92336.878297,
      "total": 92356.478297
    }
  ]
}
Shapeas documented
{
  success,
  took,
  count,
  data[]: {
    account,
    balance (spendable after reserves),
    total
  }
}

What it does

Batch balance lookup (max 100)

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