/v1/nft/collections/sparkline/batch
Batch floor sparklines for multiple collections
Request
https://api.xrpl.to/v1/nft/collections/sparkline/batch?slugs=fuzzybears| Query parameter | Value | Description |
|---|---|---|
| slugs | comma-separated (max 100) | |
| period | 7d|30d|365d | |
| maxPoints | int (2-500) |
curl 'https://api.xrpl.to/v1/nft/collections/sparkline/batch?slugs=fuzzybears'
Response
https://api.xrpl.to/v1/nft/collections/sparkline/batch?slugs=fuzzybears{ "sparklines": { "fuzzybears": { "prices": [ 592, 575, 579, 564, 562 ], "chartColor": "#ed5565", "percentChange": "-6.42" } } }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Batch floor sparklines for multiple collections