amm
Top-N LP-holder concentration percentages
get
/amm/{ammId}/holder-concentration
operationId: pool-holderConcentration

Returns cumulative LP-supply share held by the top 5 / 10 / 20 / 100 holders, plus the total holder count. Mirrors token.holderConcentration for AMM pools — useful for surfacing pool-centralisation risk in UIs.

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
ammId
required
string
AMM account identifier (XRPL classic address).
Responses
200
application/json
Successful response
FieldTypeDescription
top5Pct
number
Cumulative share held by the top 5 LP holders (0–100). Returns 0 when LP supply is unknown / zero.
top10Pct
number
Cumulative share held by the top 10 LP holders (0–100).
top20Pct
number
Cumulative share held by the top 20 LP holders (0–100).
top100Pct
number
Cumulative share held by the top 100 LP holders (0–100).
totalHolders
integer
Total LP-trustline accounts with a positive balance for this pool.
Example
Json
{
  "top5Pct": 64.8,
  "top10Pct": 78.4,
  "top20Pct": 89.2,
  "top100Pct": 99.7,
  "totalHolders": 142
}
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": []
}