fx

Historical daily exchange-rate series from the European...

Historical daily exchange-rate series from the European Central Bank (via Frankfurter), with computed summary statistics. Pass base = 3-letter ISO 4217 currency (default USD), start = YYYY-MM-DD, optional end = YYYY-MM-DD (default = latest available), optional symbols = comma-separated target codes (default all), optional amount to scale rates (default 1). Range is capped at 366 days. Returns, per target currency, first/last/min/max/mean rate plus absolute and percentage change over the window, alongside the full daily series. ECB publishes on business days only; weekends and holidays are omitted.

get/api/fx/timeseries

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/fx/timeseries
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

basestring

Base currency (3-letter ISO 4217). Default USD.

symbolsstring

Comma-separated target currency codes. Default: all available.

startstring required

Inclusive start date YYYY-MM-DD.

endstring

Inclusive end date YYYY-MM-DD. Default: latest available.

amountnumber

Amount of base currency to scale rates by. Default 1.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.