amm
Get an account's AMM activity profile
get
/amm/trader/{account}
operationId: pool-traderProfile

Returns aggregated AMM-event counts (swaps, deposits, withdrawals), the number of distinct pools touched, and first/last activity timestamps for an XRPL account over the trailing window.

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.
swaps
integer
Total swap events the account participated in within the window.
deposits
integer
Total deposit events.
withdrawals
integer
Total withdrawal events.
poolsTouched
integer
Distinct pools the account interacted with.
firstActivityAt
object
Earliest event timestamp, Unix-seconds. NULL when the account has no events in the window.
lastActivityAt
object
Latest event timestamp, Unix-seconds. NULL when the account has no events in the window.
Example
Json
{
  "account": "rTakerExample1234567890",
  "swaps": 142,
  "deposits": 4,
  "withdrawals": 2,
  "poolsTouched": 18,
  "firstActivityAt": 1743033600,
  "lastActivityAt": 1745712000
}
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": []
}