GET /api/nft/v3/nft/distributions
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/nft/v3/nft/distributionsCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeMarketplace share of a collection over a period (percentage, volume, royalty, service fee).
name=nft_distributions.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
platformAlias | query | str | required | NFT chain alias. The verified collection sample is eth. example: eth |
contract | query | str | required | NFT contract. The verified sample is BAYC 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d. 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": "1",
"[0]": "object",
"[0].marketplace": "OpenSea",
"[0].logo": "https://s3.coinmarketcap.com/nft/market/7f1f8901a72e33a9b797f43af7111f2f.png",
"[0].logoType": "image/png",
"[0].percentage": "100",
"[0].volume": "22.110146284906783",
"[0].royalty": "0"
}
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/distributions?platformAlias=eth&contract=0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d&period=7"