OpenAny
Get API keyAPI Key
APICrypto & DeFi

coingecko logo
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
USE THIS API

CoinGecko NFT by Contract API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
CoinGecko NFT by Contract API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Asset platform ID. *refers to [`/asset_platforms`](/reference/asset-platforms-list).
Contract address of the NFT collection.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
CoinGeckoCurrent
CoinGecko — NFTs Collection Data by Contract Address · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · CoinGeckoUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
asset_platform_idURL path parameterspathstringYes

Asset platform ID. *refers to [`/asset_platforms`](/reference/asset-platforms-list).

contract_addressURL path parameterspathstringYes

Contract address of the NFT collection.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • asset_platform_idstring
  • athobject
    • native_currencynumber
    • usdinteger
  • ath_change_percentageobject
    • native_currencynumber
    • usdnumber
  • ath_dateobject
    • native_currencystring
    • usdstring
  • banner_imagestring
  • contract_addressstring
  • descriptionstring
  • explorersobject[]
    • linkstring
    • namestring
  • floor_priceobject
    • native_currencynumber
    • usdnumber
  • floor_price_14d_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • floor_price_1y_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • floor_price_24h_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • floor_price_30d_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • floor_price_60d_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • floor_price_7d_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • floor_price_in_usd_24h_percentage_changenumber
  • idstring
  • imageobject
    • smallstring
    • small_2xstring
  • linksobject
    • discordstring
    • homepagestring
    • twitterstring
  • market_capobject
    • native_currencyinteger
    • usdinteger
  • market_cap_24h_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • market_cap_rankinteger
  • namestring
  • native_currencystring
  • native_currency_symbolstring
  • number_of_unique_addressesnumber
  • number_of_unique_addresses_24h_percentage_changenumber
  • one_day_average_sale_pricenumber
  • one_day_average_sale_price_24h_percentage_changenumber
  • one_day_salesnumber
  • one_day_sales_24h_percentage_changenumber
  • symbolstring
  • total_supplynumber
  • user_favorites_countinteger
  • volume_24hobject
    • native_currencynumber
    • usdinteger
  • volume_24h_percentage_changeobject
    • native_currencynumber
    • usdnumber
  • volume_in_usd_24h_percentage_changenumber
  • web_slugstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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"
    }

Common questions

Does this route require a CoinGecko collection ID?

No. It requires an asset-platform ID and collection contract address. The response can include the resolved collection ID.

Can I pass an individual token ID?

No token-ID input is exposed. This endpoint returns collection-level data.

Are floor prices individual NFT valuations?

No. They are reported collection floor measures. Preserve the denomination and do not treat them as appraisals of every token.

Does a unique-address count identify unique people?

No. It counts reported holder addresses, not verified people or account identities.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use CoinGecko NFT by Contract API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.