{"uid":"cap_xUkPwcsVcirVhZp45_QOm","slug":"fxrate-by-youraitools-d3c3540f","name":"FXRate by YourAITools","description":"Exchange rates API for AI agents. Every ECB reference rate for a base currency (or just the quotes you list) on the latest or a past date. Search intents: exchange rates api, fx rates table, currency rates today, usd exchange rates, ecb reference rates.","url":"https://api.youraitools.co/fx/v1/rates?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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"base":{"type":"string","description":"Base currency (default EUR): ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"},"date":{"type":"string","description":"Optional YYYY-MM-DD (default: latest). Weekends/holidays use the previous ECB rate."},"quotes":{"type":"string","description":"Optional comma-separated currency codes (default: all 30)"}},"description":"Search intents: exchange rates api, fx rates table, currency rates today, usd exchange rates, ecb reference rates"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["base","date","rates"],"properties":{"base":{"type":"string"},"date":{"type":"string"},"count":{"type":"integer"},"rates":{"type":"object","additionalProperties":{"type":"number"}},"source":{"type":"string"},"derived":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-23","count":3,"rates":{"EUR":0.89342,"GBP":0.74805,"JPY":156.8},"source":"Source: ECB statistics (euro foreign exchange reference rates), via the open-source Frankfurter API.","derived":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KiTv2KPoWbfc6BWQyz06n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ECB reference exchange rates for a base currency against up to 30 other currencies, for today or any past date","exampleAgentPrompt":"What are the current ECB reference exchange rates for USD against EUR, GBP, and JPY?","exampleUseCases":[{"title":"Daily FX snapshot for a finance bot","prompt":"Pull today's ECB reference rates for all currencies with USD as the base and give me the full table."},{"title":"Historical rate lookup for an invoice","prompt":"What was the EUR to USD exchange rate on March 15, 2024 according to ECB reference data?"},{"title":"Targeted pair rates for a travel planner","prompt":"I need the latest exchange rates from GBP to EUR, JPY, and CHF using ECB data — just those three pairs."}],"resultDescription":"A JSON object containing the base currency code, the effective date (adjusted to the nearest ECB business day if a weekend or holiday is requested), a count of returned rates, and a map of currency codes to their numeric exchange rates relative to the base. Also includes source attribution (ECB via Frankfurter) and a boolean indicating whether the rates were derived (cross-computed) from ECB euro rates.","failureModes":["Unsupported base currency: ECB only publishes rates for 31 currencies, so an unsupported ISO code returns an error","Weekend or holiday date: resolved silently to the previous ECB publication date — agent should check returned date","Invalid date format: must be YYYY-MM-DD or the API returns a validation error","Invalid quotes parameter: unrecognised currency codes in the comma-separated list may be silently dropped or return an error","Payment failure: x402 micropayment of $0.001 USDC required per call; missing or invalid payment returns a 402 response"],"whenToPreferThis":"Choose this endpoint when you need official ECB reference rates (not mid-market or broker rates) for a broad set of currency pairs, historical rate lookups, or when you want a structured rates table with a configurable base currency. Prefer it over general forex APIs when ECB provenance and a consistent 31-currency universe matter. It is especially useful when the agent needs to cross-compute derived rates or retrieve data for a specific past date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:16.681Z","isFirstParty":false,"canonicalSlug":"fxrate-by-youraitools-32f52329"}