GET /traders/{account}/rotations
GET

/v1/traders/{account}/rotations

Per-account token rotation flow (XRP bought/sold per token in window)

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/traders/rpiFwLYi6Gb1ESHYorn2QG1WU5vw2u4exQ/rotations
Path parameterValueDescription
accountAn XRPL account, its r-address
Query parameterValueDescription
period24h|7d|30d (default 24h)
minXrpfloat (default 0.01)
curl 'https://api.xrpl.to/v1/traders/rpiFwLYi6Gb1ESHYorn2QG1WU5vw2u4exQ/rotations'

Response

200Example response1 ms · just now · 0.5 KB · 20 lines
https://api.xrpl.to/v1/traders/rpiFwLYi6Gb1ESHYorn2QG1WU5vw2u4exQ/rotations
{
  "success": true,
  "period": "24h",
  "account": "rpiFwLYi6Gb1ESHYorn2QG1WU5vw2u4exQ",
  "totalTrades": 1101690,
  "tokensTraded": 1,
  "rotationCount": 1,
  "tokens": [
    {
      "md5": "0dd550278b74cb6690fdae351e8e0df3",
      "name": "RLUSD",
      "currency": "524C555344000000000000000000000000000000",
      "slug": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De-524C555344000000000000000000000000000000",
      "bought": 1230634.9307960004,
      "sold": 1229424.7783479993,
      "net": 1210.1524480010848,
      "trades": 1101690
    }
  ]
}
Shapeas documented
{
  success,
  period,
  account,
  totalTrades,
  tokensTraded,
  rotationCount,
  tokens[]
}

What it does

Per-account token rotation flow (XRP bought/sold per token in window)

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