{"uid":"cap_y48RzaqS9bh-SP4m9M5aq","slug":"currency-exchange-rates-95bd7f7e","name":"Currency Exchange Rates","description":"SEC filings and financials, IP lookup, US weather, airport delays, address geocoding and exchange rates. Other Tollkit tools are described at: https://extract.tollkit.dev/openapi.json, https://attest.tollkit.dev/openapi.json, https://web.tollkit.dev/openapi.json, https://chain.tollkit.dev/openapi.json.","url":"https://data.tollkit.dev/fx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^[A-Za-z]{3}$"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"YYYY-MM-DD within the last 90 days; weekends use the previous business day."},"from":{"type":"string","pattern":"^[A-Za-z]{3}$"},"amount":{"type":"number","default":1,"minimum":0}}},"responseSchema":{"type":"json","example":{"to":"EUR","from":"USD","rate":0.8908686,"amount":100,"notice":"These reference rates are published free of charge by the European Central Bank at https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html. They are for information purposes only, not for transactions.","source":"European Central Bank euro foreign exchange reference rates","converted":89.08685969,"rate_date":"2026-10-02","requested_date":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__FLxkFibmJmDFtZa3NLNU","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":"Returns the exchange rate (and optionally converted amount) between two currencies for a given date, paid per-call via x402 USDC.","exampleAgentPrompt":"What's the exchange rate from USD to EUR for 2025-04-10, and how much would 250 USD be in euros?","exampleUseCases":[{"title":"Historical invoice currency conversion","prompt":"I need to convert 1500 GBP to USD using the rate from 2025-03-28 — can you look that up for me?"},{"title":"Travel budget planning","prompt":"What's the exchange rate from USD to JPY for today, and how much would 2000 dollars convert to in yen?"},{"title":"Financial report FX reconciliation","prompt":"Pull the EUR to CAD exchange rate for 2025-01-15 so I can reconcile a cross-currency transaction in our books."}],"resultDescription":"Returns the exchange rate between the specified currency pair for the requested date, along with the converted amount if an input amount was provided. Weekend dates resolve to the previous business day's rate.","failureModes":["Invalid 3-letter currency code returns an error","Date outside the 90-day lookback window is rejected","Weekend date without a prior business day rate may fail or auto-resolve","Payment failure via x402 if insufficient USDC balance","Malformed date format (not YYYY-MM-DD) causes a validation error","Unsupported or exotic currency pair may return no data"],"whenToPreferThis":"Choose this endpoint when you need a quick, accountless, pay-per-use FX rate lookup for a specific currency pair and recent date (within 90 days), especially in contexts where setting up a traditional API subscription is impractical. Ideal for agents doing one-off or occasional currency conversions without requiring registration or an API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:39:50.779Z","isFirstParty":false,"canonicalSlug":"currency-exchange-rates-95bd7f7e"}