{"uid":"cap_HHnf5yO3N80bsKNhFOBJF","slug":"x402-data-hub-exchange-currency-converter-3c168e02","name":"x402 Data Hub – Exchange Currency Converter","description":"16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment","url":"https://data-hub-x402.vercel.app/api/exchange/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"amount":{"type":"number"}}},"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_n-MJB-Vxb7TzB0rxcjtFU","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":"Converts a specified amount from one currency (fiat or crypto) to another using live exchange rates","exampleAgentPrompt":"Convert 250 USD to ETH and tell me how much ETH I'd get at the current exchange rate.","exampleUseCases":[{"title":"Crypto portfolio value in fiat","prompt":"How much is 3.5 ETH worth in USD right now? Convert it for me using live rates."},{"title":"DeFi stablecoin swap estimation","prompt":"I want to swap 1000 USDC to DAI — how much DAI would I get at the current exchange rate?"},{"title":"Cross-currency trading calculation","prompt":"I have 0.05 BTC and want to know how much SOL I could buy with that. What's the conversion?"}],"resultDescription":"Returns the converted value of the specified amount from the source currency to the target currency, based on current market rates. Likely includes the converted amount and possibly the effective exchange rate used.","failureModes":["Unsupported currency codes for 'from' or 'to' fields — returns error or empty result","Invalid or negative amount — may return validation error","Missing required fields (from, to, amount) — returns 400-level error","Stale or unavailable rate data — may return error or outdated conversion","Payment failure (insufficient USDC) — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a quick currency conversion between crypto and/or fiat currencies with a single API call. It is ideal for agents that need to estimate trade values, display portfolio worth in a target currency, or calculate cross-currency amounts on the fly. Best when you have a specific numeric amount and a clear source/target currency pair.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:02.213Z","isFirstParty":false}