Tools/crypto/history

crypto/history

Historical price series for a coin or token, optionally over a date range.

0.1 credits / call ($0.0001)
charged on success

What it does

Returns a coin or token's historical price series as a list of [timestamp, price] points, for charting, trends, or valuing a holding at a past date.

Primary use cases

  • Charting a coin's price over time.
  • Computing returns, highs, lows, or volatility from history.
  • Looking up the price on a past date.

Good to know

Identify the asset by symbol (e.g. BTC) or asset name (e.g. Bitcoin). Narrow the window with from and to, which are Unix timestamps in milliseconds; omit them for the full available history.

Parameters

tointegeroptional

Optional range end, Unix timestamp in milliseconds.

fromintegeroptional

Optional range start, Unix timestamp in milliseconds.

assetstringoptional

Coin/token name, e.g. Bitcoin, Ethereum. Use instead of, or with, symbol.

symbolstringoptional

Coin/token symbol, e.g. BTC, ETH.

blockchainstringoptional

Optional chain to disambiguate a multi-chain token.

crypto/history — Faro