{"uid":"cap_YFm1AREipy4H-AyDE-ESA","slug":"x402-demo-api-crypto-price-9ea5c95f","name":"x402 Demo API – Crypto Price","description":"Paid API with real data: AI/LLM, crypto prices, web search, translation, trending topics, sentiment analysis, aggregator, and more. All endpoints use x402 protocol on Base mainnet.","url":"https://x402-demo-api-theta.vercel.app/api/crypto-price","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A-27hXFMAE0RVYrYcIgke","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current price of a specified cryptocurrency using the x402 micropayment protocol on Base mainnet for $0.02 USDC per call.","exampleAgentPrompt":"What's the current price of Bitcoin? Use the x402 crypto price endpoint — it costs $0.02 USDC per lookup on Base mainnet.","exampleUseCases":[{"title":"Real-time crypto portfolio rebalancing assistant","prompt":"I need to rebalance my portfolio today. Can you check the current prices of Bitcoin, Ethereum, and Solana using that x402 API? It's $0.02 per lookup but I need accurate real-time data to make my moves."},{"title":"Customer support bot for exchange queries","prompt":"Our support team keeps getting questions about current crypto prices. Set up the x402 endpoint to fetch live prices when customers ask — it's cheaper than maintaining a subscription and we only pay when actually needed."},{"title":"Arbitrage opportunity detection system","prompt":"I'm looking for price discrepancies across different coins right now. Can you pull the latest prices for the top 10 cryptocurrencies using the x402 API so I can spot arbitrage opportunities? Yeah, I know it'll be 20 cents total but the potential gains are worth it."}],"resultDescription":"Returns the current market price of the requested cryptocurrency, likely including the symbol and price value in USD or another quote currency.","failureModes":["Invalid or unsupported cryptocurrency symbol returns an error","Insufficient USDC balance to cover the $0.02 micropayment causes payment failure","x402 protocol payment not completed or rejected results in 402 status","Network or upstream data provider outage causes 5xx error","Malformed request body returns 400 validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, real-time cryptocurrency price lookup and are comfortable paying $0.02 USDC per call via the x402 micropayment protocol on Base mainnet. Good for agents that already have a Base wallet and need on-demand crypto price data without a long-term API subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:35:42.200Z","isFirstParty":false}