/v1/nft/collections/{slug}/sparkline
Collection floor price sparkline
Request
https://api.xrpl.to/v1/nft/collections/fuzzybears/sparkline| Path parameter | Value | Description |
|---|---|---|
| slug | A collection slug, or its identity as issuer:taxon |
| Query parameter | Value | Description |
|---|---|---|
| period | 7d|30d|365d | |
| lightweight | bool | |
| maxPoints | int (2-500, default 20) |
curl 'https://api.xrpl.to/v1/nft/collections/fuzzybears/sparkline'
Response
https://api.xrpl.to/v1/nft/collections/fuzzybears/sparkline{ "chartColor": "#ed5565", "period": "30d", "percentChange": "-26.62", "data": { "prices": [ 755, 695, 746, 695, 695 ], "timestamps": [ "2026-08-23", "2026-08-25", "2026-08-26", "2026-08-28", "2026-08-29" ], "max": 755, "min": 548 } }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Collection floor price sparkline