CoinGecko — NFTs Collection Data by Contract Address
Retrieve NFTs Collection Data by Contract Address with the CoinGecko API. Supply an asset platform ID and a contract address (contract_address). Sample fields include market capitalizations and symbols. Use it in blockchain research or an on-chain monitoring dashboard. The GET request schema also lists asset_platform_id. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
CoinGecko — NFTs Collection Data by Contract Address
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
asset_platform_idstringathobjectnative_currencynumberusdinteger
ath_change_percentageobjectnative_currencynumberusdnumber
ath_dateobjectnative_currencystringusdstring
banner_imagestringcontract_addressstringdescriptionstringexplorersobject[]linkstringnamestring
floor_priceobjectnative_currencynumberusdnumber
floor_price_14d_percentage_changeobjectnative_currencynumberusdnumber
floor_price_1y_percentage_changeobjectnative_currencynumberusdnumber
floor_price_24h_percentage_changeobjectnative_currencynumberusdnumber
floor_price_30d_percentage_changeobjectnative_currencynumberusdnumber
floor_price_60d_percentage_changeobjectnative_currencynumberusdnumber
floor_price_7d_percentage_changeobjectnative_currencynumberusdnumber
floor_price_in_usd_24h_percentage_changenumberidstringimageobjectsmallstringsmall_2xstring
linksobjectdiscordstringhomepagestringtwitterstring
market_capobjectnative_currencyintegerusdinteger
market_cap_24h_percentage_changeobjectnative_currencynumberusdnumber
market_cap_rankintegernamestringnative_currencystringnative_currency_symbolstringnumber_of_unique_addressesnumbernumber_of_unique_addresses_24h_percentage_changenumberone_day_average_sale_pricenumberone_day_average_sale_price_24h_percentage_changenumberone_day_salesnumberone_day_sales_24h_percentage_changenumbersymbolstringtotal_supplynumberuser_favorites_countintegervolume_24hobjectnative_currencynumberusdinteger
volume_24h_percentage_changeobjectnative_currencynumberusdnumber
volume_in_usd_24h_percentage_changenumberweb_slugstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
asset_platform_id?: string;
ath?: {
native_currency?: number;
usd?: number;
};
ath_change_percentage?: {
native_currency?: number;
usd?: number;
};
ath_date?: {
native_currency?: string;
usd?: string;
};
banner_image?: string;
contract_address?: string;
description?: string;
explorers?: Array<{
link?: string;
name?: string;
}>;
floor_price?: {
native_currency?: number;
usd?: number;
};
floor_price_14d_percentage_change?: {
native_currency?: number;
usd?: number;
};
floor_price_1y_percentage_change?: {
native_currency?: number;
usd?: number;
};
floor_price_24h_percentage_change?: {
native_currency?: number;
usd?: number;
};
floor_price_30d_percentage_change?: {
native_currency?: number;
usd?: number;
};
floor_price_60d_percentage_change?: {
native_currency?: number;
usd?: number;
};
floor_price_7d_percentage_change?: {
native_currency?: number;
usd?: number;
};
floor_price_in_usd_24h_percentage_change?: number;
id?: string;
image?: {
small?: string;
small_2x?: string;
};
links?: {
discord?: string;
homepage?: string;
twitter?: string;
};
market_cap?: {
native_currency?: number;
usd?: number;
};
market_cap_24h_percentage_change?: {
native_currency?: number;
usd?: number;
};
market_cap_rank?: number;
name?: string;
native_currency?: string;
native_currency_symbol?: string;
number_of_unique_addresses?: number;
number_of_unique_addresses_24h_percentage_change?: number;
one_day_average_sale_price?: number;
one_day_average_sale_price_24h_percentage_change?: number;
one_day_sales?: number;
one_day_sales_24h_percentage_change?: number;
symbol?: string;
total_supply?: number;
user_favorites_count?: number;
volume_24h?: {
native_currency?: number;
usd?: number;
};
volume_24h_percentage_change?: {
native_currency?: number;
usd?: number;
};
volume_in_usd_24h_percentage_change?: number;
web_slug?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
CoinGeckoCurrent CoinGecko — NFTs Collection Data by Contract Address · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/{asset_platform_id}/contract/{contract_address}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/ethereum/contract/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
asset_platform_id | URL path parameterspath | string | Yes | Asset platform ID. *refers to [`/asset_platforms`](/reference/asset-platforms-list). |
contract_address | URL path parameterspath | string | Yes | Contract address of the NFT collection. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"asset_platform_id": "ethereum",
"ath": {
"native_currency": 36.33,
"usd": 145728
},
"ath_change_percentage": {
"native_currency": -87.1456099642169,
"usd": -93.3388047739623
},
"ath_date": {
"native_currency": "2024-12-17T07:50:05.897Z",
"usd": "2024-12-17T08:35:07.390Z"
},
"banner_image": "https://coin-images.coingecko.com/nft_contracts/images/38/pudgy-penguins-banner.jpg?1730778702",
"contract_address": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"description": "<h3>What Is the Pudgy Penguins NFT Collection?</h3>\n\n<p>Pudgy Penguins is a collection of 8,888 unique NFTs featuring cute cartoon penguins, which are generated from a collection of 150 different hand-drawn traits.",
"explorers": [
{
"link": "https://etherscan.io/token/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"name": "Etherscan"
},
{
"link": "https://ethplorer.io/address/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"name": "Ethplorer"
}
],
"floor_price": {
"native_currency": 4.67,
"usd": 9708.85
},
"floor_price_14d_percentage_change": {
"native_currency": -16.157991023339317,
"usd": -24.816051386825123
},
"floor_price_1y_percentage_change": {
"native_currency": -51.85567113402062,
"usd": -60.37112564100154
},
"floor_price_24h_percentage_change": {
"native_currency": -0.6361858762952403,
"usd": -1.782332967792004
},
"floor_price_30d_percentage_change": {
"native_currency": -12.366254928188072,
"usd": -20.72768500482924
},
"floor_price_60d_percentage_change": {
"native_currency": 13.07508549033547,
"usd": 15.176366939745344
},
"floor_price_7d_percentage_change": {
"native_currency": -1.1974800093036855,
"usd": -2.6085983246414655
},
"floor_price_in_usd_24h_percentage_change": -1.78233,
"id": "pudgy-penguins",
"image": {
"small": "https://coin-images.coingecko.com/nft_contracts/images/38/small/pudgy.jpg?1730778323",
"small_2x": "https://coin-images.coingecko.com/nft_contracts/images/38/small_2x/pudgy.jpg?1730778323"
},
"links": {
"discord": "https://discord.gg/pudgypenguins",
"homepage": "https://www.pudgypenguins.com/",
"twitter": "https://twitter.com/pudgypenguins"
},
"market_cap": {
"native_currency": 41507,
"usd": 86292262
},
"market_cap_24h_percentage_change": {
"native_currency": -0.6361858762952404,
"usd": -1.782332967792065
},
"market_cap_rank": 3,
"name": "Pudgy Penguins",
"native_currency": "ethereum",
"native_currency_symbol": "ETH",
"number_of_unique_addresses": 5174.0,
"number_of_unique_addresses_24h_percentage_change": -0.01932,
"one_day_average_sale_price": 4.668316666666667,
"one_day_average_sale_price_24h_percentage_change": -1.511635559722812,
"one_day_sales": 6.0,
"one_day_sales_24h_percentage_change": -40.0,
"symbol": "PPG",
"total_supply": 8888.0,
"user_favorites_count": 10135,
"volume_24h": {
"native_currency": 28.01,
"usd": 58232
},
"volume_24h_percentage_change": {
"native_currency": -40.90698133583369,
"usd": -41.588610680147845
},
"volume_in_usd_24h_percentage_change": -41.58861,
"web_slug": "pudgy-penguins"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# CoinGecko — NFTs Collection Data by Contract Address
Retrieve NFTs Collection Data by Contract Address with the CoinGecko API. Supply an asset platform ID and a contract address (contract_address). Sample fields include market capitalizations and symbols. Use it in blockchain research or an on-chain monitoring dashboard. The GET request schema also lists asset_platform_id. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
## Available implementations
CoinGecko · CoinGecko — NFTs Collection Data by Contract Address: https://openany.si/markets/apis/capabilities/coingecko-nfts-collection-data-by-contract-address?offering=3dd0e7a9-0646-46bb-ad25-09e5ba780a9a · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/3dd0e7a9-0646-46bb-ad25-09e5ba780a9a
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/{asset_platform_id}/contract/{contract_address}
Price: $0 / call
Provider: CoinGecko
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/ethereum/contract/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "CoinGecko — NFTs Collection Data by Contract Address",
"endpoint": "https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/{asset_platform_id}/contract/{contract_address}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Asset platform ID. \n*refers to [`/asset_platforms`](/reference/asset-platforms-list).",
"location": "path",
"name": "asset_platform_id",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Contract address of the NFT collection.",
"location": "path",
"name": "contract_address",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Official response / contract request",
"request": {
"body": null,
"headers": {},
"path": {
"asset_platform_id": "ethereum",
"contract_address": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8"
},
"query": {}
},
"response_body": {
"asset_platform_id": "ethereum",
"ath": {
"native_currency": 36.33,
"usd": 145728
},
"ath_change_percentage": {
"native_currency": -87.1456099642169,
"usd": -93.3388047739623
},
"ath_date": {
"native_currency": "2024-12-17T07:50:05.897Z",
"usd": "2024-12-17T08:35:07.390Z"
},
"banner_image": "https://coin-images.coingecko.com/nft_contracts/images/38/pudgy-penguins-banner.jpg?1730778702",
"contract_address": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"description": "<h3>What Is the Pudgy Penguins NFT Collection?</h3>\n\n<p>Pudgy Penguins is a collection of 8,888 unique NFTs featuring cute cartoon penguins, which are generated from a collection of 150 different hand-drawn traits.",
"explorers": [
{
"link": "https://etherscan.io/token/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"name": "Etherscan"
},
{
"link": "https://ethplorer.io/address/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"name": "Ethplorer"
}
],
"floor_price": {
"native_currency": 4.67,
"usd": 9708.85
},
"floor_price_14d_percentage_change": {
"native_currency": -16.157991023339317,
"usd": -24.816051386825123
},
"floor_price_1y_percentage_change": {
"native_currency": -51.85567113402062,
"usd": -60.37112564100154
},
"floor_price_24h_percentage_change": {
"native_currency": -0.6361858762952403,
"usd": -1.782332967792004
},
"floor_price_30d_percentage_change": {
"native_currency": -12.366254928188072,
"usd": -20.72768500482924
},
"floor_price_60d_percentage_change": {
"native_currency": 13.07508549033547,
"usd": 15.176366939745344
},
"floor_price_7d_percentage_change": {
"native_currency": -1.1974800093036855,
"usd": -2.6085983246414655
},
"floor_price_in_usd_24h_percentage_change": -1.78233,
"id": "pudgy-penguins",
"image": {
"small": "https://coin-images.coingecko.com/nft_contracts/images/38/small/pudgy.jpg?1730778323",
"small_2x": "https://coin-images.coingecko.com/nft_contracts/images/38/small_2x/pudgy.jpg?1730778323"
},
"links": {
"discord": "https://discord.gg/pudgypenguins",
"homepage": "https://www.pudgypenguins.com/",
"twitter": "https://twitter.com/pudgypenguins"
},
"market_cap": {
"native_currency": 41507,
"usd": 86292262
},
"market_cap_24h_percentage_change": {
"native_currency": -0.6361858762952404,
"usd": -1.782332967792065
},
"market_cap_rank": 3,
"name": "Pudgy Penguins",
"native_currency": "ethereum",
"native_currency_symbol": "ETH",
"number_of_unique_addresses": 5174.0,
"number_of_unique_addresses_24h_percentage_change": -0.01932,
"one_day_average_sale_price": 4.668316666666667,
"one_day_average_sale_price_24h_percentage_change": -1.511635559722812,
"one_day_sales": 6.0,
"one_day_sales_24h_percentage_change": -40.0,
"symbol": "PPG",
"total_supply": 8888.0,
"user_favorites_count": 10135,
"volume_24h": {
"native_currency": 28.01,
"usd": 58232
},
"volume_24h_percentage_change": {
"native_currency": -40.90698133583369,
"usd": -41.588610680147845
},
"volume_in_usd_24h_percentage_change": -41.58861,
"web_slug": "pudgy-penguins"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Official response / contract request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
asset_platform_id- Asset platform ID. *refers to [`/asset_platforms`](/reference/asset-platforms-list).
contract_address- Contract address of the NFT collection.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/ethereum/contract/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "asset_platform_id": "ethereum", "ath": { "native_currency": 36.33, "usd": 145728 }, "ath_change_percentage": { "native_currency": -87.1456099642169, "usd": -93.3388047739623 }, "ath_date": { "native_currency": "2024-12-17T07:50:05.897Z", "usd": "2024-12-17T08:35:07.390Z" }, "banner_image": "https://coin-images.coingecko.com/nft_contracts/images/38/pudgy-penguins-banner.jpg?1730778702", "contract_address": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8", "description": "<h3>What Is the Pudgy Penguins NFT Collection?</h3>\n\n<p>Pudgy Penguins is a collection of 8,888 unique NFTs featuring cute cartoon penguins, which are generated from a collection of 150 different hand-drawn traits.", "explorers": [ { "link": "https://etherscan.io/token/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8", "name": "Etherscan" }, { "link": "https://ethplorer.io/address/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8", "name": "Ethplorer" } ], "floor_price": { "native_currency": 4.67, "usd": 9708.85 }, "floor_price_14d_percentage_change": { "native_currency": -16.157991023339317, "usd": -24.816051386825123 }, "floor_price_1y_percentage_change": { "native_currency": -51.85567113402062, "usd": -60.37112564100154 }, "floor_price_24h_percentage_change": { "native_currency": -0.6361858762952403, "usd": -1.782332967792004 }, "floor_price_30d_percentage_change": { "native_currency": -12.366254928188072, "usd": -20.72768500482924 }, "floor_price_60d_percentage_change": { "native_currency": 13.07508549033547, "usd": 15.176366939745344 }, "floor_price_7d_percentage_change": { "native_currency": -1.1974800093036855, "usd": -2.6085983246414655 }, "floor_price_in_usd_24h_percentage_change": -1.78233, "id": "pudgy-penguins", "image": { "small": "https://coin-images.coingecko.com/nft_contracts/images/38/small/pudgy.jpg?1730778323", "small_2x": "https://coin-images.coingecko.com/nft_contracts/images/38/small_2x/pudgy.jpg?1730778323" }, "links": { "discord": "https://discord.gg/pudgypenguins", "homepage": "https://www.pudgypenguins.com/", "twitter": "https://twitter.com/pudgypenguins" }, "market_cap": { "native_currency": 41507, "usd": 86292262 }, "market_cap_24h_percentage_change": { "native_currency": -0.6361858762952404, "usd": -1.782332967792065 }, "market_cap_rank": 3, "name": "Pudgy Penguins", "native_currency": "ethereum", "native_currency_symbol": "ETH", "number_of_unique_addresses": 5174.0, "number_of_unique_addresses_24h_percentage_change": -0.01932, "one_day_average_sale_price": 4.668316666666667, "one_day_average_sale_price_24h_percentage_change": -1.511635559722812, "one_day_sales": 6.0, "one_day_sales_24h_percentage_change": -40.0, "symbol": "PPG", "total_supply": 8888.0, "user_favorites_count": 10135, "volume_24h": { "native_currency": 28.01, "usd": 58232 }, "volume_24h_percentage_change": { "native_currency": -40.90698133583369, "usd": -41.588610680147845 }, "volume_in_usd_24h_percentage_change": -41.58861, "web_slug": "pudgy-penguins" }