/v1/nft/analytics/trader/{account}/collections
Trader per-collection breakdown
Request
https://api.xrpl.to/v1/nft/analytics/trader/rhsxg4xH8FtYc3eR53XDSjTGfKQsaAGaqm/collections| Path parameter | Value | Description |
|---|---|---|
| account | An XRPL account, its r-address |
| Query parameter | Value | Description |
|---|---|---|
| sort | volume|profit|roi | |
| order | asc|desc | |
| limit | int |
curl 'https://api.xrpl.to/v1/nft/analytics/trader/rhsxg4xH8FtYc3eR53XDSjTGfKQsaAGaqm/collections'
Response
https://api.xrpl.to/v1/nft/analytics/trader/rhsxg4xH8FtYc3eR53XDSjTGfKQsaAGaqm/collections{ "address": "rhsxg4xH8FtYc3eR53XDSjTGfKQsaAGaqm", "collections": [ { "cid": "23022ce54d8d4e1cb3d134fad36200a3", "slug": "mysteriousbananas", "logo": "54a24e3015c1f4aa3ee5728f1ad344c9", "name": "Mysterious Bananas", "profit": 0, "volume": 0, "buyVolume": 0, "sellVolume": 0, "trades": 0, "buys": 0, "sells": 0, "roi": 0, "unrealizedProfit": 9550, "holdingsValue": 9550, "holdingsCost": 0, "holdingsCount": 955 }, { "cid": "89481d0f8ccc40b19ddd3b1914ab351e", "slug": "joints", "logo": "3c7b81e990ab6a076487f7c420b6c6a2", "name": "Joints", "profit": 0, "volume": 0, "buyVolume": 0, "sellVolume": 0, "trades": 0, "buys": 0, "sells": 0, "roi": 0, "unrealizedProfit": 2226.231532, "holdingsValue": 2226.231532, "holdingsCost": 0, "holdingsCount": 763 }, { "cid": "3c452897d82a4c2b88fd21d80285b33c", "slug": "bear-pixel-collection", "logo": "a083f3b6c4cc0fe15f84e2713d17d9cc", "name": "BEAR Pixel Collection", "profit": 0, "volume": 0, "buyVolume": 0, "sellVolume": 0, "trades": 0, "buys": 0, "sells": 0, "roi": 0, "unrealizedProfit": 682.5, "holdingsValue": 682.5, "holdingsCost": 0, "holdingsCount": 39 }, { "cid": "a936ad5be8fc4aee8321eb3543dea288", "slug": "zuciety", "logo": "1bfa050c18204f0d7ccad442b6300fde", "name": "Zuciety", "profit": 0, "volume": 0, "buyVolume": 0, "sellVolume": 0, "trades": 0, "buys": 0, "sells": 0, "roi": 0, "unrealizedProfit": 648, "holdingsValue": 648, "holdingsCost": 0, "holdingsCount": 9 }, { "cid": "aead6066ec574a67afd3e0dbe8006a33", "slug": "happycats", "logo": "6f3d843c85614cc41913baae0138aa2c", "name": "HappyCats", "profit": 0, "volume": 0, "buyVolume": 0, "sellVolume": 0, "trades": 0, "buys": 0, "sells": 0, "roi": 0, "unrealizedProfit": 448, "holdingsValue": 448, "holdingsCost": 0, "holdingsCount": 448 } ], "total": 79 }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Trader per-collection breakdown