Skip to main content

zenZEC API - Latest Trades, Price, Volume on Solana

Track ZenZEC token trades, live prices, and DEX volume on Solana using the Bitquery streaming GraphQL API.

note

To query data via GraphQL outside the Bitquery IDE, you need to generate an API access token.

Follow the steps here to create one: How to generate Bitquery API token ➤

note

Different Endpoint Required

This query uses a different endpoint: https://streaming.bitquery.io/graphql

Make sure to use this endpoint when querying ZenZEC data.


Table of Contents


Get Latest Trades for ZenZEC Token

Pull the 50 most recent DEX trades involving the ZenZEC token on Solana. Each trade includes the USD price, trade size, market address, and the DEX protocol (e.g., Raydium, Orca) that executed it.

Variations: Raise limit for a larger trade feed, add a Block_Time filter to target a specific time window, or swap the MintAddress to query any other Solana token. See query features for sorting and filtering.

Try ZenZEC Latest Trades Query ➤

Click to expand GraphQL query
query LatestTrades {
Solana(network: solana) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 50}
where: {Trade: {Currency: {MintAddress: {is: "JDt9rRGaieF6aN1cJkXFeUmsy7ZE4yY3CZb8tVMXVroS"}}}}
) {
Block {
Time
}
Transaction {
Signature
}
Trade {
Market {
MarketAddress
}
Dex {
ProtocolName
ProtocolFamily
}
AmountInUSD
PriceInUSD
Amount
Currency {
Name
}
Side {
Type
Currency {
Symbol
MintAddress
Name
}
AmountInUSD
Amount
}
}
}
}
}
tip

Need More Solana Token Data?

Check out our other Solana examples: