{"uid":"cap_F9IsSnGUkkDE9HCMRESv2","slug":"currency-conversion-api-x402-canary-912be83e","name":"Currency Conversion API (x402-canary)","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/currency-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_fsoeD2hYPeC-Geu5bhAHG","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 and returns the converted value using an FX engine.","exampleAgentPrompt":"Convert 100 USD to EUR for me — I need to know how much that is in euros right now.","exampleUseCases":[{"title":"Travel budget currency planning","prompt":"I'm heading to Japan and want to know how much 2500 USD converts to in JPY so I can plan my spending budget."},{"title":"E-commerce cross-currency pricing","prompt":"What is 89.99 EUR worth in USD? I need to display the price in dollars for my American customers."},{"title":"International invoice reconciliation","prompt":"Can you convert 5000 GBP to CAD? I need to reconcile an invoice from a UK supplier in Canadian dollars."}],"resultDescription":"Returns a JSON object containing the original amount, the converted amount in the target currency, and metadata about the FX engine used for the calculation.","failureModes":["Unsupported or invalid currency codes return an error","Missing required fields (base, quote, amount) cause a 400-level response","Payment failure or insufficient USDC balance blocks the call at $0.01 per request","Network or worker-side errors may return 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call currency conversion without a subscription, especially within a coding-agent or x402-payment-enabled workflow where micropayments via USDC are already supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:56:09.119Z","isFirstParty":false}