/fx/ohlc/time-series

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
[A-Z0-9]{3,6}/?[A-Z0-9]{3,6}

Trading pair, such as EURUSD

[0-9]{4}-[0-9]{2}-[0-9]{2}

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.


UTC/GMT date YYYY-MM-DD

[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.


UTC/GMT date YYYY-MM-DD

string
enum

Desired datetime response format. Defaults to match your request. Can be [ISO] ISO8601 datetime including timezone offset, [TSP] UNIX Timestamp in milliseconds, or [UTCYMD] 'YYYY-MM-DD HH:MM:SS' (UTC).

Allowed:
string

ISO8601 duration, such as P1D (daily). Defaults to P1D. Options are P1D, PT1H, PT1M.

number
1 to 100

Maximum number of data points to return. Default varies upon duration.

Responses

400

Bad Request

401

Not Authorized

403

Forbidden

429

Rate limit exceeded

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json