Skip to main content
GET
/
time-series
cURL
curl --request GET \
  --url 'https://api.fastforex.io/time-series?api_key='
{
  "start": "2021-01-24",
  "end": "2021-01-30",
  "interval": "P1D",
  "base": "USD",
  "results": {
    "GBP": {
      "2021-01-24": 1.14,
      "2021-01-25": 1.14,
      "2021-01-26": 1.15,
      "2021-01-27": 1.16,
      "2021-01-28": 1.14,
      "2021-01-29": 1.13,
      "2021-01-30": 1.14
    }
  }
}

Authorizations

api_key
string
query
required

Query Parameters

from
string

Base currency 3-letter symbol, defaults to USD Three-letter ISO 4217 currency code

Pattern: [A-Z]{3}
to
string
required

Target currency 3-letter symbol Three-letter ISO 4217 currency code

Pattern: [A-Z]{3}
start
string
required

UTC start date in YYYY-MM-DD format. As far back as Jan 1970, depending on the currency pair. UTC/GMT date YYYY-MM-DD

Pattern: [0-9]{4}-[0-9]{2}-[0-9]{2}
end
string
required

UTC end date in YYYY-MM-DD format. As far back as Jan 1970, depending on the currency pair. UTC/GMT date YYYY-MM-DD

Pattern: [0-9]{4}-[0-9]{2}-[0-9]{2}
interval
string

ISO8601 duration, such as P1D (daily). Defaults to P1D. Currently only supports daily. ISO8601 Duration. https://en.wikipedia.org/wiki/ISO_8601#Durations

Response

Success

start
string

UTC/GMT date YYYY-MM-DD

Pattern: [0-9]{4}-[0-9]{2}-[0-9]{2}
end
string

UTC/GMT date YYYY-MM-DD

Pattern: [0-9]{4}-[0-9]{2}-[0-9]{2}
base
string

Three-letter ISO 4217 currency code

Pattern: [A-Z]{3}
ms
number<int32>

Server response time in milliseconds

results
object