{"uid":"cap_MnYjAqvJI-IWjHNMQGe5k","slug":"x402-data-hub-v2-exchange-rates-5433f59b","name":"x402 Data Hub v2 – Exchange Rates","description":"16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment","url":"https://data-hub-v5.vercel.app/api/exchange/rates","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_bnEiqtuEpN5ltu2joaiCe","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 foreign exchange and/or crypto exchange rates for specified currency pairs","exampleAgentPrompt":"Can you get me the current exchange rate for BTC to USD and ETH to USD right now?","exampleUseCases":[{"title":"Real-time crypto portfolio valuation","prompt":"What are the current exchange rates for BTC, ETH, and SOL against USD so I can calculate my portfolio value?"},{"title":"Fiat conversion for international payment","prompt":"I need to send money internationally — what's the current exchange rate between EUR and USD?"},{"title":"Arbitrage opportunity detection","prompt":"Fetch the current exchange rates for BTC/USDC and ETH/USDC so I can check if there's a spread worth trading."}],"resultDescription":"A JSON response containing current exchange rate data for the requested currency pair(s), including the rate value, base and quote currencies, and a timestamp indicating when the rate was last updated.","failureModes":["Invalid or unsupported currency pair returns an error response","Network or Vercel cold-start timeout causes delayed or failed response","Payment of $0.05 USDC not provided or rejected causes HTTP 402 Payment Required","Malformed POST body returns 400 Bad Request","Rate data may be stale if upstream data source is delayed"],"whenToPreferThis":"Choose this endpoint when you need quick, pay-per-use exchange rate data for crypto or fiat pairs without a subscription, especially in agent workflows that use x402 micropayment protocol on Base/Ethereum. Suitable for low-frequency lookups where a $0.05/call cost is acceptable versus a subscription API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:07.392Z","isFirstParty":false}