Historic Forex Ticks

get
/v1/historic/forex/{from}/{to}/{date}

Get historic ticks for a forex currency pair.

This API is being deprecated on June 1, 2022View Current Docs
Parameters

The "from" symbol of the currency pair.

Example: For USD/JPY the from would be USD.

The "to" symbol of the currency pair.

Example: For USD/JPY the to would be JPY.

The date/day of the historic ticks to retrieve.

The timestamp offset, used for pagination. This is the offset at which to start the results. Using the timestamp of the last result as the offset will give you the next page of results.

Limit the size of the response, max 10000.

https://api.polygon.io/v1/historic/forex/{from}/{to}/{date}?apiKey=*
Response Attributes
status*string

The status of this request's response.


day*string

The date that was evaluated from the request.


map*object

A map for shortened result keys.

msLatency*integer

The milliseconds of latency for the query results.


pair*string

The currency pair that was evaluated from the request.


ticks*array
a*number

The ask price.


b*number

The bid price.


t*integer

The Unix Msec timestamp for the start of the aggregate window.


x*integer

The exchange ID. See Exchanges for Polygon.io's mapping of exchange IDs.


Was this helpful?
Help us improve
Response Object
{
  "day": "2020-10-14",
  "map": {
    "ap": "ask",
    "bp": "bid",
    "t": "timestamp"
  },
  "msLatency": "0",
  "pair": "AUD/USD",
  "status": "success",
  "ticks": [
    {
      "ap": 0.71703,
      "bp": 0.71701,
      "t": 1602633600000,
      "x": 48
    },
    {
      "ap": 0.71703,
      "bp": 0.717,
      "t": 1602633600000,
      "x": 48
    },
    {
      "ap": 0.71702,
      "bp": 0.717,
      "t": 1602633600000,
      "x": 48
    }
  ],
  "type": "forex"
}
All data provided on Polygon is provided for informational purposes only, and is not intended for trading or investing purposes. Polygon provides all information as is. You must not redistribute information displayed on or provided by Polygon. Stock prices displayed in the ticker are from a subset of exchanges, this price does not represent the real-time price from the SIP.

© Polygon.io, Inc