Simple rest APIs to get Uniswap data (DEX Data APIs)

DEX API DATA

2020 is the DEX year, in which DEX volume skyrocketed from $250 million to $15 billion and still growing.

DEX Volume

However, 90% is growth is came from the Uniswap.

On 30th August, Uniswap surpassed the Coinbase daily trading volume.

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.

dex protocol
DEX_API

 Note: You need to sign up on Bloxy to access these APIs.

 

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.

DEx API call

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”.

DEX Trades

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.

YFI DEX Trades
YFI DEX results

Understanding all parameters

The following image describes all the parameters of DEX trades APIs.

DEX parameters

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.

About Bitquery

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 hello@bitquery.io. Also, subscribe to our newsletter below, we will keep you updated with the latest in the cryptocurrency world.