{"uid":"cap_Ob2tIMuatswHm4vDMJbBM","slug":"x402-data-hub-exchange-rates-2c9afa23","name":"x402 Data Hub – Exchange Rates","description":"Social media intel (Twitter, Instagram, YouTube) + crypto data + exchange rates. Pay with USDC on Base.","url":"https://x402-data-hub.vercel.app/api/exchange/rates","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BrEjAAPHzkI_APHS8X8lk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 rates and currency conversion data, payable with USDC on Base via the x402 protocol.","exampleAgentPrompt":"Can you fetch the current exchange rate from USD to EUR using the x402 Data Hub exchange rates endpoint?","exampleUseCases":[{"title":"Real-time pricing for international ecommerce","prompt":"I need to show my customers accurate USD to GBP exchange rates right now so I can price my products correctly for UK buyers. Can you pull the current rate from the x402 Data Hub?"},{"title":"Multi-currency conversion for travel app","prompt":"Our travel app needs live exchange rates for five major currency pairs—USD to JPY, EUR, MXN, INR, and AUD. Can you fetch all those current rates from x402 Data Hub so we can update our currency converter?"},{"title":"Crypto to fiat rate monitoring","prompt":"I want to check what the current exchange rate is between USDC and multiple fiat currencies right now. Can you query the x402 Data Hub to get live USDC to USD, EUR, and GBP conversion rates?"}],"resultDescription":"A JSON response containing current exchange rates for the requested currency pair(s), including rate values and likely a timestamp, returned after a micropayment of $0.005 USDC on Base is processed via x402.","failureModes":["Invalid or unsupported currency pair returns an error","Payment not processed or insufficient USDC balance causes 402 response","Network or Vercel deployment downtime causes 503","Malformed POST body returns 400 bad request","Rate data source temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need live exchange rate data and are already operating within the x402 micropayment ecosystem on Base, especially when you want to pay per-call at $0.005 USDC rather than maintaining a subscription to a traditional forex API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:43:09.392Z","isFirstParty":false}