Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit bf446ae

Browse files
authored
update nft analytics page with new endpoint (#968)
1 parent 47f5fd2 commit bf446ae

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

apps/nextra/pages/en/build/indexer/nft-aggregator/analytics-api.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,17 @@ curl "https://api.mainnet.aptoslabs.com/v1/analytics/nft/collection/list_by_sale
138138
```bash
139139
curl "https://api.mainnet.aptoslabs.com/v1/analytics/nft/collection/list_by_floor_price?limit=10&offset=0&time_period=1d"
140140
```
141+
142+
---
143+
144+
### **Get Number of Unique Token Holders**
145+
146+
- **GET** `/nft/collection/unique_holders_count`
147+
- **Parameters:**
148+
- `collection_id` *(string, required)*
149+
- **Description:** Returns the number of unique wallet addresses currently holding at least one token from the specified collection. Only current holders (amount > 0) are counted.
150+
- **Example:**
151+
152+
```bash
153+
curl "https://api.mainnet.aptoslabs.com/v1/analytics/nft/collection/unique_holders_count?collection_id=<collection_id>"
154+
```

0 commit comments

Comments
 (0)