{"uid":"cap_MKrxi-4aBRYG1WWt52ptH","slug":"x402-data-hub-v2-exchange-rates-36c551c4","name":"x402 Data Hub v2 – Exchange Rates","description":"16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment","url":"https://data-hub-x402.vercel.app/api/exchange/rates?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9TI9LFE7FVOQcfi39F43T","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current cryptocurrency exchange rates for specified trading pairs via a paid x402 micropayment endpoint","exampleAgentPrompt":"What's the current exchange rate for BTC to USD and ETH to USDC right now? Pull it from the x402 Data Hub exchange rates endpoint.","exampleUseCases":[{"title":"Live portfolio valuation in USD","prompt":"I need to know the current USD price of BTC, ETH, and SOL so I can calculate the total value of my crypto portfolio — can you look up the latest exchange rates for all three?"},{"title":"Arbitrage spread monitoring","prompt":"What's the current exchange rate for ETH to USDC on the x402 Data Hub right now? I want to compare it to what I'm seeing on my other feed to spot any price discrepancies."},{"title":"DApp trade price display","prompt":"My app needs to show users the live rate for WBTC to ETH before they confirm a swap — can you fetch the current exchange rate for that pair?"}],"resultDescription":"Returns current exchange rate data for the requested cryptocurrency pair(s), including the rate value, base and quote currency identifiers, and a timestamp indicating data freshness. Payment of $0.05 USDC is charged per call via x402 protocol.","failureModes":["Payment not included or insufficient — returns 402 Payment Required","Invalid or unsupported trading pair — returns 400 or empty result","Rate data temporarily unavailable — may return 503 or stale data","Malformed POST body — returns 400 Bad Request","Network timeout from upstream exchange data source"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time crypto exchange rates and are operating in an x402 micropayment-compatible agent environment. It is well-suited for agents that already handle x402 payment flows and need price data without setting up a dedicated exchange API key. At $0.05 per call it is cost-effective for low-to-moderate frequency lookups rather than high-frequency trading feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:34:28.381Z","isFirstParty":false,"canonicalSlug":"x402-data-hub-v2-exchange-rates-36c551c4"}