{"uid":"cap_qycVuI8IPOPkiVhMEQe6A","slug":"crypto-price-api-x402-676db96e","name":"Crypto Price API (x402)","description":"Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.","url":"https://x402-data-api-x6da.onrender.com/v1/crypto/price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"symbols":{"type":"string","description":"comma-separated symbols or slugs, max 10"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"rank":{"type":"number"},"input":{"type":"string"},"symbol":{"type":"string"},"price_usd":{"type":"number"},"last_updated":{"type":"string"},"change_1h_pct":{"type":"number"},"change_7d_pct":{"type":"number"},"change_24h_pct":{"type":"number"},"market_cap_usd":{"type":"number"},"volume_24h_usd":{"type":"number"}}}},"currency":{"type":"string"},"not_found":{"type":"array","items":{}},"attribution":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"prices":[{"name":"Bitcoin","rank":1,"input":"BTC","symbol":"BTC","price_usd":79759,"last_updated":"2026-10-26T14:37:51Z","change_1h_pct":-0.9393,"change_7d_pct":-3.666,"change_24h_pct":-0.65316,"market_cap_usd":1603442293070,"volume_24h_usd":24555016420},{"name":"Ethereum","rank":2,"input":"ETH","symbol":"ETH","price_usd":2311.82,"last_updated":"2026-10-26T14:37:51Z","change_1h_pct":-1.0722,"change_7d_pct":-5.1256,"change_24h_pct":-0.84103,"market_cap_usd":282417040236,"volume_24h_usd":9521547750}],"currency":"USD","not_found":[],"attribution":"Data from alternative.me (https://alternative.me/crypto/api/)"}},"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_4-7YH9svBjTxkXNzun9Ko","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 real-time USD prices, market cap, volume, and percent changes for up to 10 cryptocurrencies by symbol or slug, paid per-call via USDC on Base.","exampleAgentPrompt":"What are the current USD prices, 24-hour change, and market caps for BTC, ETH, and SOL right now?","exampleUseCases":[{"title":"Portfolio snapshot for DeFi dashboard","prompt":"Pull the current USD prices, market caps, and 24-hour percent changes for BTC, ETH, SOL, MATIC, and AVAX so I can update my portfolio dashboard."},{"title":"Crypto price alert threshold check","prompt":"Check the current price and 1-hour percent change for BTC and ETH — I want to know if either has moved more than 2% in the last hour."},{"title":"Competitive coin ranking lookup","prompt":"Get me the current price, 7-day performance, and CoinMarketCap rank for DOGE, SHIB, and PEPE so I can compare their recent momentum."}],"resultDescription":"A JSON object with a 'prices' array where each entry contains the coin's name, symbol, rank, USD price, market cap, 24h trading volume, and percentage changes over 1h/24h/7d windows, plus a 'not_found' array for unrecognized symbols and an attribution string crediting alternative.me.","failureModes":["Unrecognized symbols returned in 'not_found' array rather than throwing an error","Payment failure if USDC balance on Base is insufficient (x402 protocol error)","Stale data if alternative.me upstream is delayed — check last_updated timestamp","More than 10 symbols in one request may be rejected or truncated","Network timeout if Render.com cold-start is triggered on an idle instance"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call crypto price lookups without API key sign-up, especially in agentic workflows already using x402/USDC micropayments on Base. It covers up to 10 coins per call with market cap, volume, and multi-timeframe change data. Prefer alternatives if you need order book depth, historical OHLCV data, or exchange-specific pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:48:39.329Z","isFirstParty":false,"canonicalSlug":"crypto-price-api-x402-676db96e"}