{"uid":"cap_2tHYn_TpTH_BUgZlLpqlz","slug":"x402-data-hub-v2-currency-conversion-6be6b750","name":"x402 Data Hub v2 - Currency Conversion","description":"16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment","url":"https://data-hub-v5.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_JsahV-Yv_F_ev4RcnRZH2","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 to another using live exchange rates","exampleAgentPrompt":"Convert 500 USD to EUR and tell me how much I'd get at the current exchange rate.","exampleUseCases":[{"title":"Crypto portfolio fiat valuation","prompt":"How much is 2.5 ETH worth in US dollars right now?"},{"title":"Fiat to stablecoin conversion planning","prompt":"If I convert 1000 euros to USDC, how much would I get?"},{"title":"Cross-currency travel budgeting","prompt":"I have 750 GBP — how much is that in Japanese yen at today's exchange rate?"}],"resultDescription":"Returns the converted amount in the target currency based on the provided source currency, target currency, and input amount, using live or near-real-time exchange rates.","failureModes":["Unsupported currency code returns an error","Invalid or non-positive amount may return validation error","Missing required fields (from, to, amount) returns 400 Bad Request","Payment not received or insufficient USDC results in 402 Payment Required","Exchange rate data temporarily unavailable returns 503"],"whenToPreferThis":"Choose this endpoint when you need to convert between fiat and/or crypto currencies with a simple amount-in, amount-out call. It supports both crypto and traditional currency pairs, making it suitable for mixed fiat/crypto workflows. At $0.05 USDC per call it suits low-to-medium frequency conversion lookups rather than high-frequency trading.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:31:53.876Z","isFirstParty":false}