/token/{tokenSlug}/metricstoken-getMetricsReturns the fast-changing half of the token detail view: identity (currency, issuer, id, slug) plus the full metrics object — price, market_cap, fdv, supply, tvl, vesting, rolling price-change / volume / txn windows (5m / 1h / 6h / 24h / 7d), takers, buy/sell split, quality_score. Returns null when no token matches the supplied tokenSlug. Use the sibling /token/{tokenSlug}/meta endpoint for slow-changing curated metadata.
| 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 |
|---|---|---|---|
tokenSlugrequired | string | Natural token identifier in `currency.issuer` form. Example: `USD.rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B`. |
{
"currency": "string",
"issuer": "string",
"id": "00000000-0000-0000-0000-000000000000",
"slug": "string",
"metrics": {
"trustlines": 0,
"holders": 0,
"supply": "string",
"circulating_supply": "string",
"price": "string",
"market_cap": "string",
"fdv": "string",
"tvl": "string",
"vesting": {
"total": "string",
"next_7d": "string",
"next_30d": "string"
},
"price_change": {
"last_5m": {
"absolute": "string",
"percent": "string"
},
"last_1h": {
"absolute": "string",
"percent": "string"
},
"last_6h": {
"absolute": "string",
"percent": "string"
},
"last_24h": {
"absolute": "string",
"percent": "string",
"since_inception": false
},
"last_7d": {
"absolute": "string",
"percent": "string",
"since_inception": false
}
},
"volume": {
"last_5m": {
"value": "string",
"change_absolute": "string",
"change_percent": "string"
},
"last_1h": {
"value": "string",
"change_absolute": "string",
"change_percent": "string"
},
"last_6h": {
"value": "string",
"change_absolute": "string",
"change_percent": "string"
},
"last_24h": {
"value": "string",
"change_absolute": "string",
"change_percent": "string"
},
"last_7d": "string",
"total": "string",
"dominance": {
"last_24h": "string"
}
},
"txn": {
"last_5m": {
"value": 0,
"change_absolute": 0,
"change_percent": "string"
},
"last_1h": {
"value": 0,
"change_absolute": 0,
"change_percent": "string"
},
"last_6h": {
"value": 0,
"change_absolute": 0,
"change_percent": "string"
},
"last_24h": {
"value": 0,
"change_absolute": 0,
"change_percent": "string"
},
"last_7d": 0
},
"takers_24h": 0,
"takers_7d": 0,
"buy_sell_24h": {
"buys": {
"txns": 0,
"traders": 0,
"xrp": "string"
},
"sells": {
"txns": 0,
"traders": 0,
"xrp": "string"
}
},
"quality_score": "string"
}
}| 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": []
}