Fetch a set of OHLC time-series data points for a given FX trading pair and interval. Values are based on the BID price. Supports a range of datetime formats and timezone offsets. Datetime format in the response will try to match your request - unless specified explicitly.
Trading pair, such as EURUSD A single FX trading pair, with or without a slash
[A-Z0-9]{3,6}/?[A-Z0-9]{3,6}Time-series start. Supported formats: YYYY-MM-DD (UTC). YYYY-MM-DD HH:MM:SS (UTC), ISO8601 with timezone offset. Timestamp in milliseconds. Supply this or end. A datetime value. If no timezone offset supplied, UTC/GMT is assumed. If only a date is supplied, time is assumed to be 00:00:00 UTC.
[0-9]{4}-[0-9]{2}-[0-9]{2}Time-series end. Supported formats: YYYY-MM-DD (UTC). YYYY-MM-DD HH:MM:SS (UTC), ISO8601 with timezone offset. Timestamp in milliseconds. Supply this or start. A datetime value. If no timezone offset supplied, UTC/GMT is assumed. If only a date is supplied, time is assumed to be 00:00:00 UTC.
[0-9]{4}-[0-9]{2}-[0-9]{2}Can be [ISO] ISO8601 datetime including timezone offset, [TSP] UNIX Timestamp in milliseconds, or [UTCYMD] 'YYYY-MM-DD HH:MM:SS' (UTC).
ISO, TSP, UTCYMD ISO8601 duration, such as P1D (daily). Defaults to P1D. Options are P1D, PT1H, PT1M. ISO8601 Duration. https://en.wikipedia.org/wiki/ISO_8601#Durations
Maximum number of data points to return. Default varies upon duration.
1 <= x <= 100Success
A single FX trading pair, with or without a slash
[A-Z0-9]{3,6}/?[A-Z0-9]{3,6}ISO8601 Duration. https://en.wikipedia.org/wiki/ISO_8601#Durations
Can be [ISO] ISO8601 datetime including timezone offset, [TSP] UNIX Timestamp in milliseconds, or [UTCYMD] 'YYYY-MM-DD HH:MM:SS' (UTC).
ISO, TSP, UTCYMD A datetime value. If no timezone offset supplied, UTC/GMT is assumed.
[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}A datetime value. If no timezone offset supplied, UTC/GMT is assumed.
[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}Timezone offset. e.g. +00:00 or -05:00
Size of the quote is units of the base currency/symbol. Usually 1.
Server response time in milliseconds