/trader/{account}trade-traderProfileReturns 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).
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`. |
| Name | Type | Default | Description |
|---|---|---|---|
accountrequired | string | XRPL classic address (r-address) to profile. |
| Name | Type | Default | Description |
|---|---|---|---|
windowDays | integer | 30 |
| Field | Type | Description |
|---|---|---|
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[]. | string | Canonical `<base>/<quote>` pair key — each side is `currency.issuer` or the literal `XRP`. |
topPairs[]. | integer | Trades the account executed on this pair within the window. |
topPairs[]. | 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. |
{
"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"
}
]
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}