Historic Crypto Trades

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

Get historic trade ticks for a cryptocurrency pair.

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

The "from" symbol of the crypto pair.

The "to" symbol of the crypto pair.

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/crypto/{from}/{to}/{date}?apiKey=*
Response Attributes
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.


symbol*string

The symbol pair that was evaluated from the request.


ticks*array
c*array [integer]

A list of condition codes.


i*string

The Trade ID which uniquely identifies a trade. These are unique per combination of ticker, exchange, and TRF. For example: A trade for AAPL executed on NYSE and a trade for AAPL executed on NASDAQ could potentially have the same Trade ID.


p*number

The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00.


s*number

The size of a trade (also known as volume).


t*integer

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


x*integer

The exchange that this crypto trade happened on.
See Exchanges for a mapping of exchanges to IDs.


Was this helpful?
Help us improve
Response Object
{
  "day": "2020-10-14T00:00:00.000Z",
  "map": {
    "c": "conditions",
    "p": "price",
    "s": "size",
    "t": "timestamp",
    "x": "exchange"
  },
  "msLatency": 1,
  "status": "success",
  "symbol": "BTC-USD",
  "ticks": [
    {
      "c": [
        2
      ],
      "p": 15482.89,
      "s": 0.00188217,
      "t": 1604880000067,
      "x": 1
    },
    {
      "c": [
        2
      ],
      "p": 15482.11,
      "s": 0.00161739,
      "t": 1604880000167,
      "x": 1
    }
  ],
  "type": "crypto"
}
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