realtime tokens prices last 24 hours

Returns the latest DEX trade by token on NETWORK, where currency smart contract is TOKEN_ADDRESS_PLACEHOLDER: block time and trade price.

By gaurav · saved 10 November 2025 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: NETWORK) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "Block_Timefield"}
      where: {
        Block:{
          Time:{since_relative:{hours_ago:24}}
        }
        Trade: {Currency: {SmartContract: {is: "TOKEN_ADDRESS_PLACEHOLDER"}}}}
      limit: {count: 1}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      Trade {
        close: Price(maximum: Block_Number)
      }
    }
  }
}

Similar queries