{"uid":"cap_9FXtLz0GOoXA9zIb-9gA-","slug":"currency-api-latest-fiat-exchange-rates-77c72f57","name":"Currency API – Latest Fiat Exchange Rates","description":"Latest fiat exchange rates (ECB via Frankfurter) for a base currency; optionally restrict to specific target currency codes.","url":"https://currency-api-production-4a8d.up.railway.app/rates/latest","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","description":"Base currency ISO 4217 code, e.g. 'USD'. Defaults to USD if omitted."},"symbols":{"type":"array","items":{"type":"string"},"description":"Optional list of target currency codes to restrict the response, e.g. ['EUR', 'GBP', 'JPY']. Omit for all rates."}}},"responseSchema":null,"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_SoFq4_pETmQ8FuNuWoe2Y","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 latest ECB fiat exchange rates for a given base currency, optionally filtered to specific target currency codes.","exampleAgentPrompt":"What are the latest ECB exchange rates for USD — show me just EUR, GBP, and JPY?","exampleUseCases":[{"title":"Live forex rate dashboard","prompt":"Pull the latest ECB exchange rates for EUR and give me just the USD, GBP, CHF, and JPY rates."},{"title":"E-commerce multi-currency pricing","prompt":"I need to display current prices in GBP, CAD, and AUD on my checkout page — can you fetch the latest exchange rates using USD as the base?"},{"title":"Travel budget planning","prompt":"I'm heading to Japan, the UK, and Canada — what are the current exchange rates from USD to JPY, GBP, and CAD right now?"}],"resultDescription":"A JSON object containing the latest ECB-sourced exchange rates with the specified base currency. Each rate represents how much of the target currency one unit of the base currency buys. If target symbols are specified, only those pairs are returned; otherwise all available rates are included.","failureModes":["Invalid or unsupported ISO 4217 base currency code returns an error","Unknown symbols in the symbols array may be ignored or return an error","ECB data may lag by up to one business day (no weekend/holiday rates)","Network timeout or Railway service unavailability returns a 5xx error","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need the most recent ECB fiat exchange rates for a known base currency and want to optionally restrict results to specific target currencies. Prefer this over the historical rates endpoint when you need current rates, and over a full currency conversion endpoint when you only need raw rate values without computing a converted amount.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:37:13.630Z","isFirstParty":false}