{"uid":"cap_q1l129YglI57nJ5k2sIuz","slug":"currency-convert-e25cb83d","name":"Currency Convert","description":"Convert an amount from one fiat currency to another using live reference exchange rates.","url":"https://x402currencyconvert.vercel.app/api/currency-convert","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"ISO 4217 currency code to convert to (e.g. EUR)."},"from":{"type":"string","description":"ISO 4217 currency code to convert from (e.g. USD)."},"amount":{"type":"number","description":"Amount to convert. Defaults to 1."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Im28ELZ4mn5d1h5Eve8yz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an amount from one fiat currency to another using live reference exchange rates.","exampleAgentPrompt":"Convert 250 US dollars to euros using the latest exchange rate.","exampleUseCases":[{"title":"Travel budget currency planning","prompt":"I'm traveling to Japan next month and have 3000 US dollars to spend — how much is that in Japanese yen at today's rate?"},{"title":"Invoice total in local currency","prompt":"I need to quote a client in the UK — convert 4500 euros to British pounds so I can put the right amount on the invoice."},{"title":"Real-time FX rate check","prompt":"What's the current exchange rate from Swiss francs to Canadian dollars? Convert 1 CHF to CAD for me."}],"resultDescription":"Returns the converted monetary amount in the target currency along with the exchange rate used, source and destination currency codes, and the original input amount.","failureModes":["Invalid or unsupported ISO 4217 currency code returns an error","Missing required 'from' or 'to' parameters causes a bad request response","Network or upstream exchange rate provider unavailability may cause a service error","Negative or non-numeric amount values may be rejected"],"whenToPreferThis":"Use this endpoint when you need a quick, live fiat-to-fiat currency conversion for a specific amount, especially in lightweight agent workflows where a simple GET request is preferred and cost per call must be minimal ($0.002 USDC). Ideal for travel budgeting, invoice generation, and real-time FX lookups across standard ISO 4217 currency pairs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:34.883Z","isFirstParty":false}