Cryptocurrency Data Collection
Description of data retrieval and processing of cryptocurrency data

Trading Data

The raw trading data is the basis of all further derived quantities such as prices and circulating supply numbers for all cryptocurrency exchanges. We retrieve and store trading data from as close to the data source as possible and with the highest precision possible.

Centralized Cryptocurrency Exchanges

All trading data is retrieved through Rest APIs or websocket APIs which are developed and maintained by the respective trading platform. See the below table for detailed information. We remark that by the very nature of a websocket API, there is no retrieval frequency but instead, trading data comes in continuously as it is produced.
Exchange
API Type
API Link
Retrieval Period
Binance
Rest
1 sec.
BitBay
Websocket
-
Bitfinex
Websocket
-
BitMax
Websocket
-
Bittrex
Rest
7 sec.
Coinbase
Websocket
-
CREX24
Websocket
-
GateIO
Websocket
-
HitBTC
Websocket
-
Huobi
Websocket
-
Kraken
Rest
3 min.
KuCoin
Websocket API
-
LBank
Websocket API
-
OKEx
Websocket API
-
Quoine
Rest API
1.5 sec.
STEX
Rest API
1 min.
ZB
Websocket API
-

Decentralized Cryptocurrency Exchanges (DEXes)

In contrast to centralized exchanges, in decentralized exchanges it is possible to retrieve trading data directly from the respective blockchain.
In order to supply data to our community as quickly as possible, we retrieved the trading data through different types of APIs for now (see table below). However, we remark that we are currently implementing data retrieval through the blockchain directly in order to reduce unnecessary dependencies. This concerns all decentralized exchanges.
Exchange
Data Retrieval
API Link
Blockchain
Retrieval Period
0x
Ethereum
-
Balancer
Ethereum
-
Bancor
Rest API
Ethereum
2 min.
CurveFi
Ethereum
-
DForce
Ethereum
-
Gnosis
Ethereum
-
Kyber
Ethereum
-
Loopring
Websocket API
Ethereum
2 min.
PancakeSwap
Ethereum
-
SushiSwap
Ethereum
-
Uniswap V2
Ethereum
-
Uniswap V3
Ethereum
Coming soon:
Maker
Rest API
Ethereum
1 min.

Lending/Borrowing Data

We retrieve and store lending and borrowing rates such as locked volumes from as close to the data source as possible and with the highest precision possible. All lending/borrowing protocols in our database are decentralized and hence accessible directly through the respective blockchain.
In order to supply data to our community as quickly as possible, we retrieved lending and borrowing data through different types of APIs for now (see table below). However, we remark that we are currently implementing data retrieval through the blockchain directly in order to reduce unnecessary dependencies. This concerns all decentralized lending/borrowing protocols.
Protocol
Data Retrieval
API Link
Blockchain
Retrieval Period
AAVE
Thegraph API
Ethereum
1 min.
bZx
Smart Contract
Ethereum
1 min.
Compound
Smart Contract
Ethereum
1 min.
CREAM
Smart Contract
Ethereum
1 min.
DDEX
Rest API
Ethereum
1 min.
DY/DX
Rest API
Ethereum
1 min.
Fortube
Smart Contract
Ethereum
1 min.
NUO
Rest API
-
Ethereum
1 min.
Last modified 4mo ago