{"uid":"cap_sI_pZe1Is53nqGf0OcHQ4","slug":"x402-currency-converter-api-8d034c0d","name":"x402 Currency Converter API","description":"AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.","url":"https://x402-apis-eta.vercel.app/api/currency","method":"GET","headers":{},"bodySchema":{"type":"object","required":["to","from"],"properties":{"to":{"type":"string","description":"Target currency (e.g., AED)"},"from":{"type":"string","description":"Source currency (e.g., USD)"},"amount":{"type":"string","description":"Amount to convert"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bdFfiSujNReC7bI858EDe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a currency amount from one currency to another and returns the converted value, accessible via micropayment with no API key required.","exampleAgentPrompt":"Convert 250 USD to AED for me — how much is that in UAE dirhams right now?","exampleUseCases":[{"title":"Travel expense splitting across currencies","prompt":"I'm splitting a 500 EUR hotel bill with friends from different countries — can you convert that to USD, GBP, and JPY so everyone knows what they owe in their home currency?"},{"title":"Real-time pricing for international marketplace","prompt":"A customer just purchased our product for 150 CAD — what's that worth in USDC right now so I can process the payment correctly?"},{"title":"Quick forex rate check for trading decisions","prompt":"I need to know the current exchange rate between AUD and CHF before I place a trade — can you give me that conversion for 1000 AUD?"}],"resultDescription":"Returns the converted currency amount for the given source and target currency pair, likely including the exchange rate and result value.","failureModes":["Invalid or unsupported currency code returns an error","Missing required 'from' or 'to' parameters returns 400 bad request","Payment not provided or insufficient results in 402 Payment Required","Network or upstream forex data source unavailable returns 5xx","Malformed amount string may cause computation error"],"whenToPreferThis":"Choose this endpoint when you need a quick, one-off currency conversion without setting up API keys or accounts, especially in agent workflows that support x402 micropayments (USDC). Ideal for AI agents that need lightweight, pay-per-use forex data at $0.003 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:50:03.876Z","isFirstParty":false}