{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"f7323651-70cb-465a-a3a8-e6fa59365f9c","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"coingecko","dataPlatformLogoUrl":"https://docs.coingecko.com/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/android-chrome-192x192.png","dataPlatformTranslations":{"ar":"CoinGecko","ja":"CoinGecko","zh":"CoinGecko"},"dataProduct":"onchain-dex","description":"Get on-chain token prices by network and addresses 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 \u003caddress\u003e for token price tables, and metric displays, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"استرجع أسعار الرموز على السلسلة عبر OpenAny REST بمعرف شبكة وعناوين رموز مفصولة بفواصل، مع خيارات القيمة السوقية والحجم والاحتياطيات والمصادر غير النشطة للوحات الأسعار. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST にネットワーク ID とカンマ区切りのトークンアドレスを渡し、時価総額、出来高、準備金、非アクティブな参照元の任意項目と共に価格を取得できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 提供网络 ID 与逗号分隔的代币地址，获取链上代币价格，可选择市值、成交量、储备及非活跃来源选项，用于价格看板。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"7a04af1e-03c0-401f-b839-b27bd00ced0d","includedContentHtml":"","inputs":[{"description":"Network ID. \n*refers to [`/onchain/networks`](/reference/networks-list).","location":"path","name":"network","nullable":false,"required":true,"type":"string"},{"description":"Token contract address, comma-separated if more than one token contract address.","location":"path","name":"addresses","nullable":false,"required":true,"type":"string"},{"description":"Include market capitalization. \nDefault: `false`","location":"query","name":"include_market_cap","nullable":false,"required":false,"type":"boolean"},{"description":"Return FDV if market cap is not available. \nDefault: `false`","location":"query","name":"mcap_fdv_fallback","nullable":false,"required":false,"type":"boolean"},{"description":"Include 24hr volume. \nDefault: `false`","location":"query","name":"include_24hr_vol","nullable":false,"required":false,"type":"boolean"},{"description":"Include 24hr price change. \nDefault: `false`","location":"query","name":"include_24hr_price_change","nullable":false,"required":false,"type":"boolean"},{"description":"Include total reserve in USD. \nDefault: `false`","location":"query","name":"include_total_reserve_in_usd","nullable":false,"required":false,"type":"boolean"},{"description":"Include token price data from inactive pools using the most recent swap. \nDefault: `false`","location":"query","name":"include_inactive_source","nullable":false,"required":false,"type":"boolean"}],"logoUrl":"https://docs.coingecko.com/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/android-chrome-192x192.png","method":"GET","name":"CoinGecko — Token Price by Token Addresses","nameTranslations":{"ar":"CoinGecko — سعر الرمز حسب عناوين الرموز","ja":"CoinGecko — トークンアドレスによるトークン価格","zh":"CoinGecko — 按代币地址查询代币价格"},"overviewHtml":"\u003ch2\u003eCoinGecko On-Chain Token Prices API\u003c/h2\u003e\n\u003cp\u003eSupply an on-chain network ID and the addresses path segment. data.attributes contains address-keyed price and optional metric maps. Keep each address with its value and distinguish reported market capitalization from an enabled FDV fallback.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003epath: network, addresses; query: include_market_cap, mcap_fdv_fallback, include_24hr_vol, include_24hr_price_change, include_total_reserve_in_usd, include_inactive_source\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ecoingecko · CoinGecko — Token Price by Token Addresses\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eToken price tables\u003c/strong\u003e: Match address-keyed values to the requested token identities.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eMetric displays\u003c/strong\u003e: Show optional values with their units and fallback context.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata.attributes.token_prices.\u0026lt;address\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported token price in USD for an address\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata.attributes.market_cap_usd.\u0026lt;address\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported market capitalization or enabled FDV fallback\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata.attributes.h24_volume_usd.\u0026lt;address\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported 24-hour volume in USD when included\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata.attributes.total_reserve_in_usd.\u0026lt;address\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported reserve value in USD when included\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata.attributes.last_trade_timestamp.\u0026lt;address\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported most recent trade timestamp when supplied\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/simple/networks/eth/token_price/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe 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.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/7a04af1e-03c0-401f-b839-b27bd00ced0d\"\u003ePublished CoinGecko On-Chain Token Prices API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eIs network a numeric chain ID?\u003c/h3\u003e\n\u003cp\u003eUse the on-chain network ID, such as eth. It differs from a numeric chain ID or asset-platform ID.\u003c/p\u003e\n\u003ch3\u003eDoes mcap_fdv_fallback make FDV a verified market cap?\u003c/h3\u003e\n\u003cp\u003eNo. When enabled, it permits FDV to stand in for unavailable market capitalization. Retain that fallback context in your application.\u003c/p\u003e\n\u003ch3\u003eAre volume and reserve maps always returned?\u003c/h3\u003e\n\u003cp\u003eTheir inclusion flags default to false. Request the supported optional metrics explicitly when needed.\u003c/p\u003e\n\u003ch3\u003eDoes include_inactive_source mean a new trade occurred?\u003c/h3\u003e\n\u003cp\u003eNo. It allows data from inactive pools using the most recent swap. Inspect returned trade timestamps when assessing freshness.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-nfts-list\"\u003eCoinGecko — NFTs List\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-specific-pool-data-by-pool-address\"\u003eCoinGecko — Specific Pool Data by Pool Address\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-pool-ohlcv-chart-by-pool-address\"\u003eCoinGecko — Pool OHLCV Chart by Pool Address\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/coingecko/coingecko-token-price-by-token-addresses?offering=7a04af1e-03c0-401f-b839-b27bd00ced0d","providerId":"coingecko","publicPath":"/v1/agent-apis/coingecko/api/v3/onchain/simple/networks/{network}/token_price/{addresses}","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Official example · Official response / contract request","request":{"body":null,"headers":{},"path":{"addresses":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","network":"eth"},"query":{}},"response_body":{"data":{"attributes":{"h24_price_change_percentage":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"-1.8867250098940773"},"h24_volume_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"313441016.145429"},"last_trade_timestamp":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"1779882383"},"market_cap_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"4706652516.682727"},"token_prices":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"2084.57379936447"},"total_reserve_in_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"1015673598.896450024556193850116628967"}},"id":"49dd0b90-d99d-48b6-8fe2-03e826fbcef2","type":"simple_token_price"}}}],"seoDescription":"Get on-chain token prices by network and addresses via REST or MCP powered by CoinGecko. Pay per call, no subscription. Retrieve address and address.","updatedAt":"2026-12-03T02:49:13.966Z","usageInstructionsHtml":""}}