/v1/nft/collections/{slug}/listings/distribution
Listed-price distribution vs floor (buckets at 1x/1.25x/1.5x/2x/3x/5x/10x floor), floor/median/avg/max
Request
https://api.xrpl.to/v1/nft/collections/fuzzybears/listings/distribution| Path parameter | Value | Description |
|---|---|---|
| slug | A collection slug, or its identity as issuer:taxon |
curl 'https://api.xrpl.to/v1/nft/collections/fuzzybears/listings/distribution'
Response
https://api.xrpl.to/v1/nft/collections/fuzzybears/listings/distribution{ "collection": { "slug": "fuzzybears", "name": "Fuzzybears" }, "total": 479, "floor": 614.999, "median": 3000, "avg": 47191.28686638831, "max": 5890985, "buckets": [ { "min": 614.999, "max": 768.74875, "multLo": 1, "multHi": 1.25, "count": 13 }, { "min": 768.74875, "max": 922.4985, "multLo": 1.25, "multHi": 1.5, "count": 21 }, { "min": 922.4985, "max": 1229.998, "multLo": 1.5, "multHi": 2, "count": 47 }, { "min": 1229.998, "max": 1844.997, "multLo": 2, "multHi": 3, "count": 76 }, { "min": 1844.997, "max": 3074.995, "multLo": 3, "multHi": 5, "count": 89 } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Listed-price distribution vs floor (buckets at 1x/1.25x/1.5x/2x/3x/5x/10x floor), floor/median/avg/max