bid/ask time-series data for a given FX trading pair and interval. Values are the closing bid/ask for the interval. Supports a range of datetime formats and timezone offsets. Datetime format in the response will try to match your request - unless specified explicitly.
Query parameters
A single FX trading pair, with or without a slash
Trading pair, such as EURUSD
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.
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.
Can be [ISO] ISO8601 datetime including timezone offset, [TSP] UNIX Timestamp in milliseconds, or [UTCYMD] 'YYYY-MM-DD HH:MM:SS' (UTC).
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).
ISO8601 Duration. https://en.wikipedia.org/wiki/ISO_8601#Durations
ISO8601 duration, such as P1D (daily). Defaults to P1D. Options are P1D, PT1H, PT1M.
Maximum number of data points to return. Default varies upon duration.
Response
Success
Example response
{
"start": "2021-01-26T15:30:00-05:00",
"end": "2021-01-26T15:30:00-05:00",
"results": [
{
"dtm": "2021-01-26T15:30:00-05:00"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.