Sandbox version
For experimental use only. Proceed with caution.
trades
Get a trader's cumulative trading profile
get
/trader/{account}
operationId: trade-traderProfile

Returns cumulative trading stats for an XRPL account over the requested window. Each top pair carries its canonical <base>/<quote> key. windowDays=0 returns lifetime stats; otherwise the window is the trailing N days from now (default 30, max 365). volumeXrpDrops aggregates the base-side amount across pairs — interpret as XRP drops only on XRP-base pairs (mirrors the OHLCV volume convention).

Unlock protected endpoints

Enter your Bearer token once to enable every protected route in this API reference.

HTTP bearer

Saved for this browser tab only. The credential is never sent until you test an endpoint.

Authorizations
NameLocationDetails
BearerAuthAuthorization header · bearerJWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`.
Path Parameters
NameTypeDefaultDescription
account
required
string
XRPL classic address (r-address) to profile.
Query Parameters
NameTypeDefaultDescription
windowDays
integer30
Responses
200
application/json
Successful response
FieldTypeDescription
account
string
Echoed account.
totalTrades
integer
Total trades the account executed across all pairs within the window.
volumeXrpDrops
string
Sum of base-side volume across all pairs within the window. Decimal string — see `traderProfileTopPair.volumeXrpDrops` for the unit caveat when non-XRP pairs are involved.
uniquePairs
integer
Number of distinct trade pairs the account traded within the window.
topPairs
object[]
Top trade pairs by base volume, descending. Capped at 10 entries.
topPairs[].pairKey
string
Canonical `<base>/<quote>` pair key — each side is `currency.issuer` or the literal `XRP`.
topPairs[].tradeCount
integer
Trades the account executed on this pair within the window.
topPairs[].volumeXrpDrops
string
Sum of base-side volume for the pair within the window. Equals XRP drops only when the pair has XRP on the base side; otherwise denominated in the base asset's units.
Example
Json
{
  "account": "rExampleTrader1234567890",
  "totalTrades": 421,
  "volumeXrpDrops": "512300000000",
  "uniquePairs": 18,
  "topPairs": [
    {
      "pairKey": "XRP/USD.rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
      "tradeCount": 142,
      "volumeXrpDrops": "184500000000"
    },
    {
      "pairKey": "XRP/PHNIX.rExampleIssuer123",
      "tradeCount": 88,
      "volumeXrpDrops": "92000000000"
    }
  ]
}
400
application/json
Invalid input data
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
401
application/json
Authorization not provided
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
403
application/json
Insufficient access
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
404
application/json
Not found
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
500
application/json
Internal server error
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}