{"uid":"cap_jRR02iCkE4Ko3w1ZUdC-_","slug":"fx-reference-rates-api-latest-rates-b37dab71","name":"FX Reference Rates API – Latest Rates","description":"Most recent ECB reference rates expressed in the requested base currency.","url":"https://fx-reference-rates.regnotes.workers.dev/v1/rates/latest?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","properties":{"base":{"type":"string","pattern":"^[A-Z]{3}$","description":"One of: AUD, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, SEK, SGD, THB, TRY, USD, ZAR"},"symbols":{"type":"string","description":"Comma-separated ISO 4217 codes"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","as_of":"2026-10-23","rates":{"CNY":6.67024,"EUR":0.8934155,"JPY":156.8034}}},"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_EjMsdIueSXgLxEDPPD6g5","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 the most recent ECB foreign exchange reference rates expressed in a requested base currency, optionally filtered to specific currency symbols.","exampleAgentPrompt":"What are the latest ECB reference rates with USD as the base currency, showing EUR, JPY, and GBP?","exampleUseCases":[{"title":"Multi-currency invoice pricing","prompt":"I need to price our SaaS invoices in EUR, GBP, and JPY — can you pull the latest ECB reference rates using USD as the base so I can set correct amounts for each region?"},{"title":"Portfolio FX exposure snapshot","prompt":"Can you get me today's ECB FX rates for CHF, JPY, CNY, and AUD all relative to EUR so I can see our fund's current currency exposure?"},{"title":"Travel budget conversion","prompt":"I'm heading to Japan, South Korea, and Thailand — what are the current ECB reference rates for JPY, KRW, and THB against GBP so I can figure out my travel budget?"}],"resultDescription":"A JSON object containing the base currency code, the date the rates were published (as_of), and a map of currency codes to their exchange rate values relative to the base currency. Example: {\"base\":\"USD\",\"as_of\":\"2026-10-23\",\"rates\":{\"EUR\":0.893,\"JPY\":156.8,\"CNY\":6.67}}.","failureModes":["Invalid base currency code (not matching ^[A-Z]{3}$ or not in supported list) returns an error","Unsupported symbol codes in the symbols filter may be silently ignored or return an error","ECB non-publication days (weekends/holidays) may return the most recent prior published rates","Payment failure (insufficient USDC balance) returns 402 Payment Required","Network timeout from the Cloudflare Worker edge node"],"whenToPreferThis":"Choose this endpoint when you need the latest available ECB official reference rates (as opposed to a specific historical date or a date range). It is ideal for real-time pricing, FX exposure checks, or currency conversion when only the most current rate matters. If you need rates for a specific past date or a time series, use the historical or date-specific sibling endpoints instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:34.544Z","isFirstParty":false,"canonicalSlug":"fx-reference-rates-api-latest-rates-b37dab71"}