{"uid":"cap_KsKYJp7pGQIDgYQO-PkJF","slug":"foundry-crypto-price-lookup-19af08f6","name":"Foundry Crypto Price Lookup","description":"Crypto price in USD for up to 20 coins (BTC, ETH, SOL...) or tokens by chain:address, from DefiLlama. Input: 'BTC,ETH'.","url":"https://minty-sprout.onrender.com/v1/crypto-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Comma-separated symbols (BTC,ETH) or chain:address (base:0x...)"}}},"responseSchema":{"type":"json","example":{"prices":[{"key":"coingecko:bitcoin","query":"BTC","symbol":"BTC","price_usd":77565.08,"timestamp":1793485191,"confidence":0.99}],"source":"DefiLlama coins API","unresolved":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0t2_ryc9M-gpoe24i32Ac","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current USD prices for up to 20 cryptocurrencies by symbol (BTC, ETH, SOL) or chain:address token identifier, sourced from DefiLlama.","exampleAgentPrompt":"What are the current USD prices for BTC, ETH, and SOL right now? Use the DefiLlama-backed price feed.","exampleUseCases":[{"title":"Portfolio value snapshot","prompt":"Can you grab the current USD prices for BTC, ETH, SOL, AVAX, and MATIC so I can calculate the total value of my crypto holdings?"},{"title":"DeFi token price by address","prompt":"What's the current USD price of the token at address 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 on Ethereum?"},{"title":"Arbitrage spread check","prompt":"Fetch the latest USD prices for BTC and ETH — I want to compare them against another exchange to see if there's a spread."}],"resultDescription":"A JSON object containing an array of price results, each with the coin key (e.g. coingecko:bitcoin), original query string, symbol, current USD price, Unix timestamp, and confidence score. Also includes the data source (DefiLlama coins API) and a list of any unresolved coin queries.","failureModes":["Unknown or misspelled coin symbol returns it in the 'unresolved' array rather than throwing an error","Invalid chain:address format may result in unresolved entry","Exceeding 20 coins in a single request may result in truncation or error","DefiLlama upstream outage may cause stale or unavailable prices","Very new or illiquid tokens may have no price data and appear as unresolved"],"whenToPreferThis":"Choose this endpoint when you need real-time USD prices for one or more cryptocurrencies by ticker symbol or on-chain token address, especially when DefiLlama coverage is desired. It handles both well-known coins (BTC, ETH) and obscure DeFi tokens via chain:address lookup in a single call, making it ideal for portfolio calculations, price checks, or DeFi analytics. Prefer this over CoinGecko-direct or CoinMarketCap integrations when you need DefiLlama's broad DeFi token coverage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.895Z","isFirstParty":false,"canonicalSlug":"foundry-crypto-price-lookup-19af08f6"}