{"uid":"cap_VSC2ToZHqTM1kna6bIpPC","slug":"saylor-innovations-fx-history-ae3abeca","name":"Saylor Innovations FX History","description":"Exchange rate history from ECB reference rates for up to 6 currencies - change, high and low with dates, mean, annualised volatility and a compact series","url":"https://saylorinnovations.com/api/fx/history?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":["base","symbols"],"properties":{"base":{"type":"string","description":"3-letter base currency"},"days":{"type":"string","description":"optional 5-365, default 30"},"symbols":{"type":"string","description":"1-6 comma-separated quote currencies"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["base","pairs"],"properties":{"end":{"type":"string","description":"Last date of the returned series"},"base":{"type":"string","description":"Base asset or base currency"},"note":{"type":"string","description":"Caveat or context for reading the result"},"pairs":{"type":"array","items":{"type":"object","properties":{"low":{"description":"Lowest value"},"high":{"description":"Highest value"},"mean":{"type":["number","null"],"description":"Mean rate over the period"},"pair":{"type":["string","null"],"description":"Currency pair"},"first":{"type":["number","null"],"description":"Rate at the start of the period"},"latest":{"description":"Most recent value or version"},"series":{"description":"Time series of values"},"low_date":{"description":"Low date"},"high_date":{"description":"High date"},"change_percent":{"description":"Change, as a percentage"},"annualised_volatility_percent":{"description":"Annualised volatility, as a percentage"}}},"description":"Trading pairs"},"start":{"type":"string","description":"First date of the returned series"},"source":{"type":"string","description":"Data source the values come from"},"observations":{"type":"number","description":"Observations in time order"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N61ELk2Pejt8bl_LU_Xiq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ECB reference rate history for up to 6 currency pairs including change, high/low with dates, mean, annualised volatility, and a compact time series","exampleAgentPrompt":"Pull the ECB reference rate history for EUR as the base against USD, GBP, and JPY over the last 90 days — I want to see the high, low, mean, change percent, and annualised volatility for each pair.","exampleUseCases":[{"title":"Portfolio FX risk assessment","prompt":"I need the ECB historical rates for EUR as the base against USD, GBP, CHF, and JPY for the last 60 days — give me the annualised volatility and change percent for each so I can assess currency risk in my portfolio."},{"title":"Monthly finance report currency summary","prompt":"For our monthly finance report, fetch the EUR/USD exchange rate history for the last 30 days from ECB data and tell me the period high with its date, the low with its date, and the mean rate."},{"title":"Multi-currency trend comparison","prompt":"Compare how the US dollar has moved against EUR, GBP, SEK, NOK, DKK, and CHF over the past 180 days using ECB reference rates — I want the compact series and the change percent for each pair."}],"resultDescription":"A JSON object containing the base currency, start and end dates of the series, number of observations, data source attribution (ECB), and an array of pair objects each including the currency pair label, first and latest rates, period high and low with their dates, mean rate, change percent, annualised volatility percent, and a compact time series of rates.","failureModes":["Invalid or unsupported base/quote currency codes return an error","Requesting more than 6 quote currencies may be rejected","Days value outside 5-365 range returns a validation error","ECB data may be unavailable for weekends/holidays, reducing observations","Currency pairs not covered by ECB reference rates will return missing data"],"whenToPreferThis":"Choose this endpoint when you need official ECB reference rate history with pre-computed statistics (volatility, high/low, mean, change) rather than raw tick data. Ideal for financial reporting, risk analysis, and dashboards that need authoritative European central bank FX data without doing your own statistical calculations. Best when you need up to 6 pairs in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T00:33:22.124Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-fx-history-ae3abeca"}