{"uid":"cap_i_hSn12IkFyaiqe-tVdvM","slug":"defillama-token-price-oracle-a51aceca","name":"DeFiLlama Token Price Oracle","description":"Token prices from DefiLlama's aggregated open oracle, by id 'chain:contract' (or 'coingecko:slug'), up to 20 at once. Returns symbol, USD price, decimals and a confidence score. Works for any on-chain token, not just top coins. Live from DefiLlama.","url":"https://api.vextorium.com/precio-defi-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["monedas"],"properties":{"monedas":{"type":"string","description":"Comma-separated ids 'chain:contract' or 'coingecko:slug' (max 20)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"nota":{"type":["string","null"]},"precios":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"id":{"type":["null","string"]},"simbolo":{"type":["null","string"]},"confianza":{"type":["null","number"]},"decimales":{"type":["null","number"]},"precio_usd":{"type":["null","number"]},"actualizado":{"type":["null","string"]}}}},"no_encontrados":{"type":["array","null"],"items":{}}}}}}}},"responseSchema":{"type":"json","example":{"nota":"Precio agregado de múltiples fuentes por DefiLlama; 'confianza' cercano a 1 = fiable. Fuente: DefiLlama.","precios":[{"id":"ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","simbolo":"USDC","confianza":0.99,"decimales":6,"precio_usd":0.999817132983207,"actualizado":"2026-09-30 13:00"},{"id":"coingecko:bitcoin","simbolo":"BTC","confianza":0.99,"decimales":null,"precio_usd":85248.11985758645,"actualizado":"2026-09-30 13:00"}],"no_encontrados":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DLr5J3HrLxCU1J_uGzBIh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns USD price, symbol, decimals, and confidence score for up to 20 on-chain tokens by chain:contract address or CoinGecko slug, sourced from DefiLlama's aggregated open oracle.","exampleAgentPrompt":"What's the current USD price, decimals, and confidence score for USDC on Ethereum (ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48) and WETH on Base (base:0x4200000000000000000000000000000000000006)?","exampleUseCases":[{"title":"DeFi portfolio valuation","prompt":"Can you get me the live USD prices and confidence scores for these three tokens: ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, base:0x4200000000000000000000000000000000000006, and coingecko:uniswap? I need to value my DeFi holdings."},{"title":"Low-cap altcoin price check","prompt":"Look up the current USD price and decimals for this obscure DeFi token on Arbitrum: arbitrum:0xff970a61a04b1ca14834a43f5de4533ebddb5cc8 — it's not on major exchanges so I need the on-chain oracle price from DefiLlama."},{"title":"Multi-chain token price batch","prompt":"Fetch the latest prices from DefiLlama for these five tokens at once: coingecko:aave, coingecko:curve-dao-token, ethereum:0x6b175474e89094c44da98b954eedeac495271d0f, solana:So11111111111111111111111111111111111111112, and polygon:0x2791bca1f2de4661ed88a30c99a7a9449aa84174 — include their confidence scores."}],"resultDescription":"Returns a list of matched tokens each with their identifier, symbol, USD price, decimal count, confidence score (0–1), and last-updated timestamp. Tokens that could not be resolved are listed separately in a not-found array. An optional note field may carry informational messages.","failureModes":["Token identifier not found — returned in no_encontrados array with no price","Invalid format for chain:contract string — may result in empty response or lookup failure","More than 20 tokens requested — likely truncated or rejected","Network/oracle outage from DefiLlama upstream — may return stale or missing prices","Low confidence score returned (near 0) indicating sparse liquidity data for that token"],"whenToPreferThis":"Prefer this endpoint when you need live USD prices for any on-chain token — especially long-tail DeFi tokens, low-cap altcoins, or tokens not listed on centralized exchanges — by their contract address or CoinGecko slug. It supports up to 20 tokens per call across any EVM chain or Solana, making it ideal for batch portfolio valuation or arbitrage checks. Choose this over CoinGecko's own API when you need a confidence score alongside the price, or when you're working with chain-native contract addresses rather than slug names.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:43:14.344Z","isFirstParty":false,"canonicalSlug":"defillama-token-price-oracle-a51aceca"}