However, getting DEX data is still hard when compared to centralized crypto exchange.
We at Bitquery (Bloxy) is all about blockchain data and provide APIs to access to on-chain data at scale.
Currently, our APIs provide data for more than 30 DEX protocols.
Table of Contents
DEX Data APIs
Currently, we provide multiple APIs to get DEX trade-related data.
Getting Uniswap Trade Data
Today we are going to show you how to get DEX data using Uniswap as an example.
Let’s see how we can get Uniswap DEX trades data using our APIs. For this, you need to use DEX Trades APIs.
You can call DEX trades API directly which provide you all the trade data for all DEX.
To get only Uniswap data, set parameter “Uniswap V2”.
Getting $YFI Trades on Uniswap
However, if you want to filter data, you can use API parameters.
For example, you want all the YFI trades from the Uniswap. You need to set the YFI token address in “Filter by Any token address.”
This will give you all trades related to YFI token on Uniswap.
Understanding all parameters
The following image describes all the parameters of DEX trades APIs.
DEX Trade API parameters described
If you have any questions, just hop in on our Telegram channel.
Build Applications on DEXs
We saw many successful trading, analytics apps getting built on centralized exchanges. Now it’s time to build applications on DEX.
As we showed above, we have multiple DEX related APIs such as arbitrage trades, deposits, withdrawal, active traders, etc.
We are eager to see what type of applications the Ethereum community built on top of DEXs.
Bitquery is a set of software tools that parse, index, access, search, and use information across blockchain networks in a unified way. Our products are:
- Coinpath® APIs provide blockchain money flow analysis for more than 24 blockchains. With Coinpath’s APIs, you can monitor blockchain transactions, investigate crypto crimes such as bitcoin money laundering, and create crypto forensics tools. Read this to get started with Coinpath®.
- Digital Assets API provides index information related to all major cryptocurrencies, coins, and tokens.
- DEX API provides real-time deposits and transactions, trades, and other related data on different DEX protocols like Uniswap, Kyber Network, Airswap, Matching Network, etc.
If you have any questions about our products, ask them on our Telegram channel or email us at firstname.lastname@example.org. Also, subscribe to our newsletter below, we will keep you updated with the latest in the cryptocurrency world.