{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"11dbbd80-8ce0-4825-a45f-05c35bd37d64","catalogType":"api","categories":["data","finance","crypto-defi"],"dataPlatform":"DefiLlama","dataPlatformLogoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","dataPlatformTranslations":{"ar":"DefiLlama","ja":"DefiLlama","zh":"DefiLlama"},"dataProduct":"prices","description":"Get DefiLlama Current Token Prices data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, configure supported query parameters and filters, and retrieve structured data including coins, \u003ccoin\u003e, token ticker symbol, confidence, and on-chain token decimal places for value multi-chain portfolios, price lp and vault positions, and validate quote quality.","descriptionTranslations":{"ar":"استرجع الأسعار الحالية لعدة رموز عبر الشبكات من خلال OpenAny REST بتمرير معرفات الشبكة وعنوان العقد مفصولة بفواصل. يربط الرد كل رمز بسعره الحالي بالدولار والرمز المختصر والطابع الزمني ودرجة الثقة وعدد الخانات العشرية.","ja":"OpenAny REST でカンマ区切りのチェーン・コントラクトアドレス指定を送り、複数トークンの現在価格を一括取得できます。レスポンスは各トークンキーごとに USD 価格、シンボル、タイムスタンプ、信頼度スコア、小数桁数を返します。","zh":"通过 OpenAny REST 单次传入逗号分隔的链与合约地址标识，即可批量查询多条区块链上的代币实时价格。响应将每个请求的代币键映射到当前美元价格、代币符号、时间戳、置信度分数与精度位数，适用于资产估值与行情监控。"},"effectContentHtml":"","executionMode":"sync","id":"6a38db65-63d2-4f30-8043-42cc6b0ebdd3","includedContentHtml":"","inputs":[{"description":"set of comma-separated tokens defined as {chain}:{address}","location":"path","name":"coins","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","method":"GET","name":"DefiLlama — Get current prices of tokens by contract address","nameTranslations":{"ar":"DefiLlama — احصل على الأسعار الحالية للرموز حسب عنوان العقد","ja":"DefiLlama — コントラクトアドレスでトークンの現在価格を取得","zh":"DefiLlama — 按合约地址获取代币当前价格"},"overviewHtml":"\u003ch2\u003eDefiLlama Current Token Prices API\u003c/h2\u003e\n\u003cp\u003ePass one or more comma-separated \u003ccode\u003e{chain}:{address}\u003c/code\u003e or \u003ccode\u003ecoingecko:{id}\u003c/code\u003e identifiers in the \u003ccode\u003ecoins\u003c/code\u003e path parameter. The response returns a \u003ccode\u003ecoins\u003c/code\u003e map keyed by each matched identifier with price, symbol, timestamp, confidence and optional decimals.\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\u003eRequired path parameter: coins (comma-separated tokens formatted as {chain}:{address}, e.g. ethereum:0x...,coingecko:ethereum).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003edefillama · DefiLlama — Get current prices of tokens by contract address\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\u003eValue multi-chain portfolios\u003c/strong\u003e: Batch contract addresses from Ethereum, BSC and other chains into one valuation call.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePrice LP and vault positions\u003c/strong\u003e: Combine contract-level prices with on-chain balances to compute real-time USD NAV.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eValidate quote quality\u003c/strong\u003e: Check the confidence score and timestamp before using a token price in automated workflows.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\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\u003ecoins\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMap of requested token identifiers to current price objects\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrice record keyed by the {chain}:{address} or coingecko:{id} string\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.price\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent token price in USD\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.symbol\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eToken ticker symbol\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.timestamp\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUNIX timestamp of the price observation\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.confidence\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eConfidence score reported for the price quote\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.decimals\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOn-chain token decimal places when available\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/defillama/prices/current/ethereum%3A0xdF574c24545E5FfEcb9a659c229253D4111d87e1%2Ccoingecko%3Aethereum%2Cbsc%3A0x762539b45a1dcce3d36d080f74d1aed37844b878%2Cethereum%3A0xdB25f211AB05b1c97D595516F45794528a807ad8 \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/6a38db65-63d2-4f30-8043-42cc6b0ebdd3\"\u003ePublished DefiLlama Current 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\u003eHow should token identifiers be formatted in coins?\u003c/h3\u003e\n\u003cp\u003eFormat each token as {chain}:{address} or coingecko:{id}, separated by commas in the coins path parameter.\u003c/p\u003e\n\u003ch3\u003eCan I query multiple tokens in one request?\u003c/h3\u003e\n\u003cp\u003eYes. Pass a comma-separated list of tokens in the coins path segment to retrieve all quotes in a single JSON map.\u003c/p\u003e\n\u003ch3\u003eWhy is decimals present on some tokens and absent on others?\u003c/h3\u003e\n\u003cp\u003eOn-chain contract entries include decimals, while CoinGecko-keyed entries such as coingecko:ethereum omit decimals in the reference sample.\u003c/p\u003e\n\u003ch3\u003eWhat does the confidence field indicate?\u003c/h3\u003e\n\u003cp\u003eIt reports DefiLlama price confidence for the quote so callers can filter low-confidence feeds.\u003c/p\u003e\n\u003ch3\u003eHow do I retrieve prices from a past timestamp instead?\u003c/h3\u003e\n\u003cp\u003eUse the DefiLlama Historical Token Prices API with a UNIX timestamp path parameter.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint return percentage price changes?\u003c/h3\u003e\n\u003cp\u003eNo. Use the DefiLlama Token Price Change API to query percentage change over a chosen period.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-historical-prices-of-tokens-by-contract-address\"\u003eDefiLlama Historical Token Prices API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-token-prices-at-regular-time-intervals\"\u003eDefiLlama Token Price Chart API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-percentage-change-in-price-over-time\"\u003eDefiLlama Token Price Change API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/defillama/defillama-get-current-prices-of-tokens-by-contract-address?offering=6a38db65-63d2-4f30-8043-42cc6b0ebdd3","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/prices/current/{coins}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Recorded upstream example (2026-11-18)","request":{"body":null,"headers":{},"path":{"coins":"ethereum:0xdF574c24545E5FfEcb9a659c229253D4111d87e1,coingecko:ethereum,bsc:0x762539b45a1dcce3d36d080f74d1aed37844b878,ethereum:0xdB25f211AB05b1c97D595516F45794528a807ad8"},"query":{}},"response_body":{"coins":{"coingecko:ethereum":{"confidence":0.999,"price":1794.751648,"symbol":"ETH","timestamp":1795008828},"ethereum:0xdB25f211AB05b1c97D595516F45794528a807ad8":{"confidence":0.99,"decimals":2,"price":1.0954811194768705,"symbol":"EURS","timestamp":1795008180}}}}],"seoDescription":"Get DefiLlama Current Token Prices data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Ideal for value multi-chain portfolios.","updatedAt":"2026-12-03T02:55:14.703Z","usageInstructionsHtml":""}}