{"uid":"cap_0hqf6G3ptt85sr0UCZslJ","slug":"api-lastlookdata-com-aaf97d5a","name":"LastLook Data – Historical Daily G10 FX Rate Series","description":"LastLook Data — historical daily exchange rates for a G10 currency pair.","url":"https://api.lastlookdata.com/api/fx/series","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":["pair","days"],"properties":{"days":{"enum":["30","90","365"],"type":"string","description":"30, 90, or 365 days of history"},"pair":{"enum":["EURUSD","GBPUSD","USDJPY","USDCHF","USDCAD","AUDUSD","NZDUSD","USDSEK","USDNOK"],"type":"string","description":"G10 currency pair"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"days":"30","pair":"EURUSD"}}},"response":{"end":"2026-05-29","days":30,"note":"Source: Frankfurter (European Central Bank)","pair":"EURUSD","count":21,"label":"Euro / US Dollar","start":"2026-04-30","service":"LastLook Data","observations":[{"date":"2026-04-30","value":1.1702},{"date":"2026-05-04","value":1.17},{"date":"2026-05-05","value":1.1686},{"date":"2026-05-06","value":1.1762},{"date":"2026-05-07","value":1.177},{"date":"2026-05-08","value":1.1761},{"date":"2026-05-11","value":1.1765},{"date":"2026-05-12","value":1.1738},{"date":"2026-05-13","value":1.1715},{"date":"2026-05-14","value":1.1702},{"date":"2026-05-15","value":1.1628},{"date":"2026-05-18","value":1.1648},{"date":"2026-05-19","value":1.162},{"date":"2026-05-20","value":1.16},{"date":"2026-05-21","value":1.1599},{"date":"2026-05-22","value":1.1595},{"date":"2026-05-25","value":1.1643},{"date":"2026-05-26","value":1.1634},{"date":"2026-05-27","value":1.1637},{"date":"2026-05-28","value":1.1617},{"date":"2026-05-29","value":1.1644}]}},"exampleRequest":{"days":"30","pair":"EURUSD"},"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zn34ZQzB13rJvblkJW55z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical daily exchange rates for a specified G10 currency pair over 30, 90, or 365 days.","exampleAgentPrompt":"Can you pull the daily EURUSD exchange rates for the last 365 days so I can see how the euro has moved against the dollar over the past year?","exampleUseCases":[{"title":"Risk exposure analysis over quarters","prompt":"I need to see the daily GBPUSD rates for the last 90 days—we're evaluating our sterling exposure across Q3 and want to understand volatility trends before finalizing our hedge positions."},{"title":"Trending analysis for trading strategy","prompt":"Pull the past year of daily USDJPY exchange rates so I can identify seasonal patterns and breakout levels for our FX trading desk's upcoming strategy review."},{"title":"Payment settlement cost forecasting","prompt":"Can you get me the daily USDCHF rates over the last 30 days? We're settling invoices in Swiss francs next month and need recent volatility data to budget for FX conversion costs."}],"resultDescription":"A time series of daily exchange rate values for the requested G10 currency pair, covering the specified historical window (30, 90, or 365 days), sourced from the European Central Bank via LastLook Data.","failureModes":["Unsupported currency pair (not in the G10 enum) returns an error","Invalid days value (not 30, 90, or 365) returns a validation error","Missing required query parameters (pair or days) returns a 400 error","Payment failure (insufficient USDC balance) returns a 402 response","Network timeout or upstream ECB data unavailability may return a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a historical daily time series of G10 FX rates — not just a single date or the current rate. It supports exactly 30, 90, or 365 day windows. Prefer it over the single-date or current-rate endpoints when you need trend analysis, charting, or statistical computation over time. Best for G10 pairs only (EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD, AUDUSD, NZDUSD, USDSEK, USDNOK).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:39.888Z","isFirstParty":false}