{"uid":"cap_T-9n8fCkMP2NuduutO8g1","slug":"x402-hub-crypto-exchange-rate-lookup-f561c11a","name":"X402 Hub Crypto Exchange Rate Lookup","description":"63 paid API endpoints protected by x402 micropayments on Base","url":"https://x402-hub.vercel.app/api/crypto-exchange","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Query parameter for the API"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","description":"Response data from upstream API"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.130964","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.130964/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.130964","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.130964","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vg8EDfuf7nRsLjuvbvuaN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.130964","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns cryptocurrency exchange rate or market data for a given query, accessed via x402 micropayment on Base","exampleAgentPrompt":"What is the current exchange rate for Bitcoin to USDC right now?","exampleUseCases":[{"title":"Real-time BTC price check","prompt":"Can you tell me the current price of Bitcoin in US dollars right now?"},{"title":"ETH to USD conversion lookup","prompt":"What is 1 Ethereum worth in USDC at the current market rate?"},{"title":"Altcoin price discovery","prompt":"Look up the current price of Solana for me — I want to know what SOL is trading at right now."}],"resultDescription":"Returns a data object containing exchange rate or market price information for the queried cryptocurrency, sourced from an upstream crypto market data provider.","failureModes":["Invalid or unrecognized cryptocurrency query string returns an error or empty data","Upstream API unavailable results in failed response","Payment not fulfilled via x402 protocol returns 402 Payment Required","Malformed query parameter returns validation error","Rate limits on upstream provider may cause intermittent failures"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time cryptocurrency exchange rate data and are operating in an x402 micropayment-enabled environment on Base. It is well-suited for agents that need to fetch spot prices or conversion rates for crypto assets without managing a full exchange API integration. At ~$0.13 per call, it is appropriate for occasional lookups rather than high-frequency trading data feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:52.021Z","isFirstParty":false}