# Top-of-Book Data for specific tickers https://api.tiingo.com/tiingo/crypto/top?tickers=btcusd,fldcbtc # Real-time (Latest) Data for specific tickers https://api.tiingo.com/tiingo/crypto/prices?tickers=btcusd,fldcbtc # Historical Prices https://api.tiingo.com/tiingo/crypto/prices?tickers=btcusd,fldcbtc&startDate=2019-01-02&resampleFreq=5min
Just remember, you will need your token in order to connect. Keep it safe.
Tiingo connects to a variety of cryptocurrency exchanges to create a consolidated top-of-book feed.
The Benefits of Tiingo Crypto
You can find out about the full product offering on the Product - Crypto page.
# Intraday data for current day or last business day https://api.tiingo.com/tiingo/crypto/prices # Historical intraday data https://api.tiingo.com/tiingo/crypto/prices?tickers=<ticker>&startDate=2019-01-02&resampleFreq=5min
The Crypto Prices endpoint returns meta information about the crypto pair along with the price data related to that pair. This is different tham the other APIs and helps with crypto currency ambiguity.
Check out the table below to see the top-level fields returned from the prices crypto API.
ticker
baseCurrency
quoteCurrency
priceData
exchangeData
To see what fields are returned in the "priceData" field, please see the table below.
date
open
high
low
close
tradesDone
volume
volumeNotional
volumeNotional = close * volume
# To request meta data for all tickers, use the following REST endpoint https://api.tiingo.com/tiingo/crypto # To request meta data for a specific tickers, use the following REST endpoint https://api.tiingo.com/tiingo/crypto?tickers=<ticker>
ticker
baseCurrency
quoteCurrency
name
description
# Top-of-book data https://api.tiingo.com/tiingo/crypto/top?tickers=<ticker>
The Crypto Top-of-Book endpoint returns meta information about the crypto pair along with the top-of-book data related to that pair. This is different tham the other APIs and helps with crypto currency ambiguity.
Check out the table below to see the top-level fields returned from the top-of-book crypto API.
Deprecation Warning: After much consideration, we have made the decision to deprecate the top-of-book endpoint. This is the first endpoint we've fully deprecated in our firm's eight year history, and we do not make this decision lightly. Right now the crypto exchange feeds have been found unreliable to properly construct the best bid/ask in a way that's consistent. Some feeds remain inconsistent, timestamps are sometimes incorrectly stated, and other times it appears as if the messages may not be consistently ordered where the best bid/ask can be constructed. While this task can be done, we believe it must be done with a subset of specific exchanges and encourage clients who need full order-book construction to build this in-house with exchanges that are relevant to you. If you need last price, that is available on the /prices endpoint described in the above section. Our philosophy is that no data is better than bad data, and we believe for now, the below task remains too onerous to be done with all 60+ exchanges we cover in a way that properly handles each exchange's potential quirks, let alone when the quirks are constantly changing. We believe Crypto exchanges will eventually converge to equity/futures level reliability, but right now the technology remains early. We will constantly be monitoring and deciding if we want to re-enable the top-of-book endpoint.
ticker
baseCurrency
quoteCurrency
topOfBookData
exchangeData
To see what fields are returned in the "topOfBookData" field, please see the table below.
quoteTimestamp
lastSaleTimestamp
lastPrice
lastSize
lastSizeNotional
lastSizeNotional = lastPrice * lastSize
lastExchange
bidSize
bidPrice
bidExchange
askSize
askPrice
askExchange