CoinGecko NFT by Contract API
Get CoinGecko NFT collection data by platform and contract address via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, configure supported query parameters and filters, and retrieve structured data including id, collection asset-platform identifier, collection contract address, native currency, and reported unique holder-address count for collection lookup pages, and nft market views.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
CoinGecko NFT by Contract API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
CoinGecko NFT by Contract API
Provide asset_platform_id and the collection’s contract_address. The returned object identifies the resolved NFT collection and reports native-currency and USD measures separately. This is a collection lookup, not a query for one NFT token ID.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | path: asset_platform_id, contract_address |
| Selected implementation | coingecko · CoinGecko — NFTs Collection Data by Contract Address |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Collection lookup pages: Resolve a known platform and contract to a collection profile.
- NFT market views: Display reported collection aggregates with their currency units.
Documented Response Fields
| Field | Meaning |
|---|---|
id |
Resolved CoinGecko NFT collection identifier |
asset_platform_id |
Collection asset-platform identifier |
contract_address |
Collection contract address |
floor_price.native_currency |
Reported floor price in the native currency |
floor_price.usd |
Reported floor price in USD |
number_of_unique_addresses |
Reported unique holder-address count |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/coingecko/api/v3/nfts/ethereum/contract/0xBd3531dA5CF5857e7CfAA92426877b022e612cf8 \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is an official documentation reference that may contain historical values or optional sections. The calling template is independent; match returned resource identifiers, timestamps and requested options before using the data.
Published CoinGecko NFT by Contract API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
CoinGeckoCurrent CoinGecko — NFTs Collection Data by Contract Address · GET · View API reference | $0 / call | 0 | —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: 4. 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
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.
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
Agent integration
Copy the resource contract without sharing an API key.
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" }