Dex trade apis

Returns 100 DEX trades on Ethereum, where date since 2022-01-01: base currency symbol, base currency address, quote currency symbol, quote currency address, base amount, gas value, gas price and 4 more fields.

By gaurav · saved 26 January 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      date: {since: "2022-01-01"}
      options: {limit: 100}) {
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
      baseAmount
      transaction {
        gasValue
        gasPrice
        gas
        txFrom {
          address
        }
        to {
          address
        }
      }
      tradeAmount(in: USD)
    }
  }
}

Similar queries