{"uid":"cap_TqrsAn7SKQHAtiqRXa6zX","slug":"agent402-tools-fx-rate-converter-7b54d7df","name":"agent402.tools FX Rate Converter","description":"Live currency conversion using European Central Bank reference rates (via Frankfurter). Converts an amount between two currencies and returns the rate and date. ?from=USD&to=EUR&amount=100","url":"https://agent402.tools/api/fx-rate","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":"3-letter currency code, e.g. EUR"},"from":{"type":"string","description":"3-letter currency code, e.g. USD"},"amount":{"type":"number","description":"amount to convert (default 1)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["from","to","amount","rate","result","date"],"properties":{"to":{"type":"string"},"date":{"type":"string"},"from":{"type":"string"},"rate":{"type":"number"},"amount":{"type":"integer"},"result":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"to":"EUR","date":"2026-06-13","from":"USD","rate":0.923,"amount":100,"result":92.3}},"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_kpFIjbTETyEheLesQPK-n","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 a currency amount between two currencies using European Central Bank reference rates via Frankfurter, returning the converted amount, exchange rate, and date.","exampleAgentPrompt":"What's 750 USD worth in Japanese yen right now, using ECB reference rates?","exampleUseCases":null,"resultDescription":"Returns the converted amount, the exchange rate used, the currency pair, and the date of the ECB reference rate — e.g. 100 USD converts to 91.23 EUR at rate 0.9123 as of 2024-06-01.","failureModes":["Invalid or unsupported 3-letter currency code returns an error (e.g. unknown currency)","Missing required 'from' or 'to' query parameters results in a 400 bad request","ECB may not have rates for exotic or non-standard currencies","Network/upstream failure if Frankfurter API is unavailable"],"whenToPreferThis":"Use this endpoint when you need authoritative, ECB-sourced reference exchange rates for mainstream currency pairs. Prefer this over general quote endpoints when you specifically need ECB rates with the associated date, or when performing financial calculations that require a trusted central bank reference rate rather than a market/bid-ask rate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:11:08.360Z","isFirstParty":false}