{"uid":"cap_7kObxPHan9pFb21ws8eK_","slug":"swift-bot-labs-toolbox-currency-conversion-17514604","name":"Swift Bot Labs Toolbox – Currency Conversion","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/convert/currency?utm_source=zero.xyz","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","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"Currency code(s), comma separated, or \"all\""},"from":{"type":"string"},"amount":{"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"currency-convert","result":{"date":"2026-10-26","from":"USD","amount":100,"source":"European Central Bank euro reference rates","results":{"EUR":89.381,"INR":8418.31}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZsuzHD7kacohGUjkK77Mf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a given amount from one currency to multiple target currencies using ECB reference rates, returning the converted values with date and source information.","exampleAgentPrompt":"Convert 250 USD into EUR, INR, and GBP for me — I need the current exchange rates based on ECB reference data.","exampleUseCases":[{"title":"Travel budget in local currency","prompt":"I'm traveling to Japan and France next month with a $2000 budget — can you convert that to JPY and EUR so I know what I'm working with?"},{"title":"Invoice pricing in multiple currencies","prompt":"I need to quote a client 500 USD in euros and British pounds — what are the converted amounts based on today's ECB rates?"},{"title":"Crypto portfolio fiat equivalents","prompt":"Convert 1000 USD into EUR, GBP, and INR so I can show my portfolio value in multiple currencies on the dashboard."}],"resultDescription":"Returns a JSON object with ok:true, the tool name, and a result block containing the date of the rates, the source currency, the original amount, the data source (ECB euro reference rates), and a results map of each requested target currency code to its converted value.","failureModes":["Invalid or unsupported currency code returns an error or empty results","Missing required 'from' or 'to' query parameters returns a 400-level error","Payment not provided or insufficient USDC triggers an HTTP 402 response","ECB rate data unavailable or stale may result in outdated or missing conversions","Malformed amount string may cause computation errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic currency conversion with no account setup, billed per call in USDC via x402. Ideal for agents that need occasional or sporadic currency lookups without committing to a monthly subscription. Best when ECB reference rates are acceptable (not tick-level market rates).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:15.350Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-currency-conversion-17514604"}