{"uid":"cap_m7C2lI0FErnZAPASk9lcC","slug":"fx-currency-conversion-4997dfa3","name":"FX Currency Conversion","description":"Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.","url":"https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/fx/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","default":"USD","example":"USD"},"quote":{"type":"string","default":"EUR","example":"EUR"},"amount":{"type":"number","default":100,"example":100}}},"responseSchema":{"type":"json","example":{"data":{"amount":100,"converted":91},"meta":{"engine":"fx"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GC3gLl1dLoQPkQbTNmX3f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a monetary amount from one currency to another using live exchange rates, returning the converted value.","exampleAgentPrompt":"Can you convert 100 USD to EUR for me?","exampleUseCases":[{"title":"Travel budget currency planning","prompt":"I'm heading to Japan next month — how much is 2000 USD in JPY right now?"},{"title":"E-commerce international pricing","prompt":"What would 149.99 USD be in GBP? I need to display local pricing for UK customers."},{"title":"Invoice amount cross-currency check","prompt":"My client sent me an invoice for 5000 EUR — how much is that in USD so I can approve the payment?"}],"resultDescription":"A JSON object containing the original amount, the converted amount in the target currency, and metadata about the FX engine used. Example: {data: {amount: 100, converted: 91}, meta: {engine: 'fx'}}.","failureModes":["Unsupported or invalid currency code returns an error","Missing required fields (base, quote, amount) may result in a 400 or unexpected response","Rate unavailable for exotic currency pairs","Payment not included or invalid x402 payment header causes a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call currency conversion with no subscription or API key setup, especially within x402-enabled agent workflows where micropayments via USDC are already integrated. Useful for lightweight FX lookups without needing a full-featured financial data provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:38.553Z","isFirstParty":false}