DEX trades GraphQL queries
4,189 public GraphQL queries that read DEX trades, saved by 830 authors and ready to run in the Bitquery IDE: on Ethereum (1,759), BNB Chain (1,054), Solana (864), Arbitrum (128) and Polygon (113).
DEX trades on Ethereum
- Latest trade of a token – Returns the latest DEX trade on Ethereum, where base currency is 0xf4d2…421e: quote price, timestamp time, block height, trade index, protocol, full name, address address and 8 more fields.
- latest trades for a token - both buy and sell – Returns the latest 10 DEX trades on Ethereum, where buy currency smart contract is 0x5283…8b44: block number, block time, from, to, transaction hash, buy amount, buy buyer and 12 more fields.
- Token Price in USDT Template – This API provides the latest USDT token price in USD for Ethereum blockchain using DEXs like Uniswap, Balancer. You can also get the price of USDT Token at any previous date or time. You can also specify a specific exchange to get the price from using the filter.
- New Token Pairs on DEXs – Returns 10 DEX trades on Ethereum, where DEX protocol family is Uniswap, block date since 2023-02-23 and log index is 0: block date, sell amount, sell currency name, sell protocol name, sell price, sell seller, buy buyer and 6 more fields.
- [Uniswap] [Streaming] Get all liquidity pools for a token – Returns 10 DEX trades on Ethereum, where buy currency smart contract is 0xdAC1…1ec7: protocol name, owner address, protocol version, smart contract, pair name, pair symbol, buy currency name and 3 more fields.
DEX trades on BNB Chain
- Trades for any wallet address – Returns the latest DEX trade on Ethereum and BNB Chain, where maker or taker is 0xeF1F…0E1e, exchange name is Pancake or Pancake v2 and date after 2021-04-28: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.
- Latest Price of a Token – Trades for a specific token on the Pancake DEX
- CAKE/USDT Current Price – Cake Currency Price using Cake-USDT Pair
- 24 Hour Volume for a Token on PancakeSwap V2 – Returns 24 DEX trades on Ethereum and BNB Chain, where base currency is 0x799e…6910, exchange name is Pancake v2 and date since 2021-06-03, sorted by time interval hour, highest first: count, trade amount and hour.
- Price of a Token in USD – Returns DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4C…095c, quote currency is 0xe9e7…7d56 and date since 2021-01-01: base currency symbol, quote currency symbol, quote amount and trade amount.
DEX trades on Solana
- pumpfun tokens which crossed 10k marketcap – All pumpfun tokens which crossed 10k marketcap
- Solana dextrades – Returns the latest 20 DEX trades on Solana: protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name, buy currency mint address and 11 more fields.
- Realtime solana dex trades websocket – Streams DEX trades on Solana as they happen: program address, protocol family, protocol name, buy amount, buy account address, buy metadata address, buy currency key and 27 more fields.
- search solana tokens – Returns the latest 100 DEX trades on Solana, where buy currency name contains pe: buy price, buy price in USD, buy currency name, buy currency symbol, buy currency mint address, sell currency name, sell currency symbol and sell currency mint address.
- get first 100 buyers of a token – Returns 100 DEX trades on Solana, where buy currency mint address is 2Z4FzK…pump, sorted by block time: buy amount and buy token owner.
DEX trades on Arbitrum
- arbitrum data-1 – arbitrum data
- details of tokens in a pair – this query returns details of token used in the pool
- arbitrum data – Returns the latest 5 DEX trades on Arbitrum, where transaction to is 0xec8b…03e4 and transaction from is 0x29b5…963e: block time, from, to, transaction hash, transaction value, buy amount, buy buyer and 16 more fields.
- [ARB] [Streaming] Get Latest Trades from Uniswap on Arbitrum – Returns the latest 10 DEX trades on Arbitrum, where DEX protocol name is uniswap_v3 and block date after 2023-09-11: block time, buy amount, buy buyer, buy currency name, buy smart contract, buy price, protocol name and 8 more fields.
- Subscription Token Trades – Streams the latest 10 DEX trades on Arbitrum as they happen: block time, block number, chain ID, buy currency symbol, buy smart contract, buy amount, sell currency symbol and 7 more fields.
DEX trades on Polygon
- dex exchanges by pair – Returns DEX trades on Ethereum and Polygon, where base currency is 0x0d50…1270, sell currency is 0xc213…8e8F and date since 2022-10-11: full name, exchange name, address address and trade amount.
- DEX Token Price Discovery – Returns 7 DEX trades on Ethereum and Polygon, where buy currency is 0x623a…3665 or 0xb763…43e5, sell currency is not 0x623a…3665 or 0xb763…43e5 and sell currency is 0x623a…3665 or 0xb763…43e5, sorted by date year date month date day of month, highest first: day of month, month, year, buy currency ad
- Polygon Mempool trades – Streams DEX trades on Polygon as they happen: buy buyer, buy seller, buy amount, buy currency name, buy currency symbol, buy smart contract, buy price and 4 more fields.
- matic_DEXTrades – Ethereum dextrades
- all exchanges from a chain – Returns DEX trades on Ethereum and Polygon, where date since 2023-01-18: full name, exchange name, address address, annotation, full name with ID and trade amount.