Get Latest Price of a stablecoin in USD Real-time

Returns the latest DEX trade by token on Solana, where currency mint address is 2b1kV6…4GXo: transaction signature, amount in USD, trade amount, currency mint address, currency name, program address, protocol name and 7 more fields.

By gaurav · saved 15 August 2025 · Bitquery API v2

What it returns

Filters

The query

query {
  Solana { 
    DEXTradeByTokens(
      limit:{count:1}
      orderBy:{descending:Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo"}}}}
    ) {
      Transaction {
        Signature
      }
      Trade {
        AmountInUSD
        Amount
        Currency {
          MintAddress
          Name
        }
        Dex {
          ProgramAddress
          ProtocolName
        }
        Price
        PriceInUSD
        Side {
          Account {
            Address
          }
          AmountInUSD
          Amount
          Currency {
            Name
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries