GET /api/nft/v3/nft/trending
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/nft/v3/nft/trendingCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeSale time series for one NFT collection contract, not a trending-collections leaderboard.
name=nft_trending. One collection's sales series, not a leaderboard. Leaderboard is nft_collections.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
platformAlias | query | str | required | NFT chain alias. The verified collection sample is eth. example: eth |
contract | query | str | required | One collection's sales, not a leaderboard. example: 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d |
period | query | str | required | Lookback. NFT samples used 7 or 30 depending on the route. example: 7 |
Response
type: array
pagination: none
sample: {
"len": "21",
"[0]": "object",
"[0].volume": "5.141039496048182",
"[0].averagePrice": "5.141039496",
"[0].lowestPrice": "5.141039496048182",
"[0].sales": "1",
"[0].timestamp": "1792036800000",
"[0].nativeCurrencySymbol": "ETH"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/api/nft/v3/nft/trending?platformAlias=eth&contract=0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d&period=7"