{"uid":"cap_2yyHnAoA1RLawnEYLR6hf","slug":"api-strale-io-a4a8223b","name":"api.strale.io Currency Converter","description":"Convert an amount between currencies using ECB exchange rates. Supports all major currencies. Returns converted amount and rate.","url":"https://api.strale.io/x402/currency-convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["amount","from","to"],"properties":{"to":{"type":"string","description":"Target currency (ISO 4217)"},"from":{"type":"string","description":"Source currency (ISO 4217)"},"amount":{"type":"number","description":"Amount to convert"}}},"responseSchema":{"to":{"type":"string"},"date":{"type":"string"},"from":{"type":"string"},"rate":{"type":"number"},"amount":{"type":"number"},"converted_amount":{"type":"number"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"to":"EUR","from":"USD","amount":100}}},"response":{"to":"EUR","date":"2026-06-03","from":"USD","rate":0.86103,"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xd95b9d37b53df8d954a3308c176030d43f81bfaa10f605424e6f66f17d9ea564"},"capability":"currency-convert","latency_ms":357,"provenance":{"source":"ecb.europa.eu","fetched_at":"2026-06-03T23:18:33.930Z"}},"amount":100,"converted_amount":86.1}},"exampleRequest":{"to":"EUR","from":"USD","amount":100},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7kqRQ9457UPAlOhuAz9S8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","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 ECB (European Central Bank) exchange rates, returning the converted amount and the applied rate.","exampleAgentPrompt":"How much is 750 US dollars in Japanese yen right now? Use ECB rates.","exampleUseCases":null,"resultDescription":"Returns the converted monetary amount in the target currency and the ECB exchange rate applied for the conversion.","failureModes":["Unsupported or invalid ISO 4217 currency code returns an error","Missing required query parameters (amount, from, to) causes a 400-level error","Amount is not a valid number (e.g. negative or non-numeric) returns a validation error","ECB rate unavailable for exotic or obscure currency pairs may cause a lookup failure"],"whenToPreferThis":"Use this endpoint when you need a reliable, ECB-backed currency conversion for any major world currency pair; ideal for financial calculations, invoice totaling, or price display in multi-currency applications where ECB rates are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":4,"lastUsedAt":"2026-05-01T18:51:46.046Z","lastSuccessfullyRanAt":"2026-05-01T18:51:46.046Z","lastHealthCheckAt":"2026-10-13T06:55:51.441Z","isFirstParty":false,"canonicalSlug":"api-strale-io-a4a8223b"}