{"uid":"cap_ICLt7l67n89IK7WD-Z4YD","slug":"agentsvc-io-crypto-prices-4bdae80f","name":"agentsvc.io Crypto Prices","description":"Crypto price and token price lookup: live spot price and 24h change for BTC, ETH, SOL and other coins by ticker, or for any DEX-traded token by chain:address, in USD and other currencies. Data from DefiLlama. Three modes: (1) coins as CoinGecko-style IDs or tickers (up to 50) for live price and 24h change, converted to the requested currencies; (2) tokens as chain:address (e.g.","url":"https://agentsvc.io/api/v1/proxy/crypto-prices?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"at":{"type":"string","description":"Past ISO date or unix seconds for historical USD prices"},"coins":{"type":"array","items":{"type":"string"},"default":["bitcoin","ethereum"],"examples":[["bitcoin","ethereum"],["BTC","ETH","SOL"],["bitcoin","BNB","cardano"]],"description":"List of coin IDs or ticker symbols. Accepts CoinGecko IDs (e.g. 'bitcoin', 'ethereum') or common tickers (e.g. 'BTC', 'ETH', 'SOL'). Max 25 coins per call. Default when omitted: ['bitcoin', 'ethereum']."},"tokens":{"type":"array","items":{"type":"string"},"description":"Tokens as chain:address, e.g. base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"currencies":{"type":"array","items":{"type":"string"},"default":["usd"],"description":"Target currencies. Default: ['usd']. Supported: usd, btc, eth and every ECB currency (eur, gbp, jpy, chf, aud, cad, ...)."}}},"responseSchema":{"type":"json","example":{"data":{"prices":{"bitcoin":{"usd":71923,"symbol":"BTC","price_time":"2026-04-10T13:59:41.000Z","usd_24h_change":1.42},"ethereum":{"usd":2188,"symbol":"ETH","price_time":"2026-04-10T13:59:38.000Z","usd_24h_change":0.41}},"source":"DefiLlama coins API","not_found":[],"fetched_at":"2026-04-10T14:00:00.000Z"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v_Uc7dOyHnuTfEsn77IeA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current or historical USD (and other fiat) prices, market cap, and 24h change for up to 25 cryptocurrencies by coin ID, ticker, or on-chain token address.","exampleAgentPrompt":"What are the current prices of Bitcoin, Ethereum, and Solana in USD, and how much have they changed in the last 24 hours?","exampleUseCases":[{"title":"Portfolio value snapshot","prompt":"I hold BTC, ETH, SOL, and ADA — can you pull their current USD prices and 24h changes so I can see how my portfolio is doing today?"},{"title":"Historical price lookup for tax report","prompt":"What were the prices of Bitcoin and Ethereum in USD on April 15, 2023? I need them for a tax calculation."},{"title":"DeFi token price check by contract","prompt":"Can you get me the current USD price for the USDC token on Base — its contract address is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913?"}],"resultDescription":"Returns a JSON object with a 'prices' map keyed by coin identifier, each containing the price in requested fiat currencies, 24h percentage change, market cap, full coin name, and symbol. Also includes the data source (CoinGecko), fetch timestamp, and a 'not_found' array for any unrecognized coins.","failureModes":["Unrecognized coin ID or ticker returns entry in 'not_found' array","More than 25 coins in a single request may be rejected","Invalid ISO date or unix timestamp for historical queries causes error","Unsupported fiat currency code returns error","Historical data may not be available for very old dates or obscure tokens","Payment failure (insufficient USDC) blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when you need live or historical crypto prices for multiple coins in a single call without managing API keys. It supports both major tickers (BTC, ETH) and CoinGecko IDs, plus on-chain token addresses on Base — making it ideal for portfolio valuation, DeFi analytics, or tax-reporting workflows. Prefer this over rolling your own CoinGecko integration when operating in an agent context that supports x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-26T04:03:24.505Z","lastSuccessfullyRanAt":"2026-10-26T04:03:24.505Z","lastHealthCheckAt":"2026-12-04T01:03:46.991Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-crypto-prices-4bdae80f"}