Trading (all chains) GraphQL queries
1,053 public GraphQL queries on Trading (all chains), saved by 55 authors and ready to run in the Bitquery IDE: pairs (366), trades (357), tokens (292), currencies (41) and DEX trades by token (3).
Pairs on Trading (all chains)
- Top PumpFun Tokens by Marketcap – Top Pump.fun and PumpSwap tokens on Solana over the last hour, ranked by USD volume. Ranked by volume rather than market cap on purpose: Solana market caps in the cube saturate against whatever ceiling you filter on, so sorting by them surfaces tokens with broken supply figures. `Supply.MarketCap` i
- 1 second crypto price stream – For a live ticker, use the Crypto Price API stream. Trading cube - MEV-filtered trades with USD prices on every row.
- Real Time Marektcap and price for Four meme tokens – Streams pairs as they happen, where market protocol is fourmeme_v1, market network is Binance Smart Chain and time duration is 1: token name, token symbol, token address, protocol, program, network, market name and 16 more fields.
- Get Latest Price of SOL in USD Real-time – Get Latest Price of SOL in USD Real-time. Uses the Trading cube. Change the token address in the `where` clause to use it. Trading cube - MEV-filtered trades with USD prices on every row.
- Real-Time Token Prices in USD on Solana – Stream live OHLC (Open, High, Low, Close) price and volume data for all tokens on Solana, quoted directly in USD. Useful for dashboards, analytics, or bots that need stable fiat-based prices. Trading cube - MEV-filtered trades with USD prices on every row.
Trades on Trading (all chains)
- Pumpswap Trades Stream – This stream returns the real time trades on Pumpswap exchange. This stream could be modified to get real time trades for a particular token or trades by a particular trader. Trading cube - MEV-filtered trades with USD prices on every row.
- Get Solana pair trades data just like dexcsreener – Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. Trading cube - MEV-filtered trades with USD prices on every row.
- Four Meme Trades Stream – This stream returns the latest trades happening on `Four Meme` on BSC Network in real time. Trading cube - MEV-filtered trades with USD prices on every row.
- Real-time Trades on Tron – This stream returns all the real time DEX trades happening on the Tron network. You can modify this stream to get DEX trades on a particular DEX or trades of a particular token or trades by a particular trader. Built from raw DEX trades, so it carries per-swap detail the Trading cube normalises away
- Pumpfun DEX Trades stream – Use a `Trading.Trades` subscription filtered by `ProtocolName: "pump"` to stream live Pump.fun trades including buy/sell sides, amounts, accounts, and methods. For gRPC or Kafka, see Pump.fun gRPC Streams. Trading cube - MEV-filtered trades with USD prices on every row.
Tokens on Trading (all chains)
- Latest bitcoin price on across chains – Aggregated Price of all tokens in real time on one chain in 60 60-second time period
- 5 minute price change api – Returns 10 tokens, where volume USD is above 100000 and time duration is 300, sorted by change, highest first: token address, did, token ID, is native, token name, network, token symbol and 21 more fields.
- 1 minute price change api – Returns 10 tokens, where volume USD is above 100000 and time duration is 60, sorted by change, highest first: token address, did, token ID, is native, token name, network, token symbol and 20 more fields.
- last 1 hour price change problem – Returns 10 tokens, where time duration is 1, sorted by change, highest first: token address, did, token ID, is native, token name, network, token symbol and 22 more fields.
- specific solana token latest marketcap – Returns the latest token, where time duration is above 1: token name, token ID, token address, token symbol, block time, total supply, fully diluted valuation USD and 10 more fields.
Currencies on Trading (all chains)
- OHLC of a currency on multiple blockchains – Returns the latest currencie, where currency ID is bid:bitcoin and time duration is 60: currency ID, currency name, currency symbol, block date, block time, timestamp, start and 16 more fields.
- Stream Bitcoin Price Across Chains – Streams currencies as they happen, where currency ID is bid:bitcoin and time duration is 1: currency ID, currency name, currency symbol, block date, block time, timestamp, start and 16 more fields.
- four meme token price – Returns the latest 10 currencies, where currency ID contains bid:bsc:0x3cb895d018439703d56321418ac8cad1de414444 and time duration is 1: is quoted in USD and mean.
- marketcap and supply – Returns 100 currencies, where since relative round is hours and time duration is 3600, sorted by USD, highest first: currency ID, currency name, currency symbol, market cap, total supply, close, mean and 3 more fields.
- pyusd mcap – Returns the latest currencie, where currency ID is pyusd: total supply, market cap, fully diluted valuation USD, circulating supply, open, low, high and 5 more fields.
DEX trades by token on Trading (all chains)
- zeyou<>Bitquery metrics query – Returns one DEX trade by token on BNB Chain, where currency smart contract is 0x7cba…4444, token address is 0x7cba…4444 and market network is Binance Smart Chain, sorted by interval time start, highest first: block time, sum of trade side amount in USD, unique of balance update address, mean and cal
- compare token count on solana crypto price API – compare token count on solana crypto price API to dextrades
- latest price and decimal of token – Returns the latest pair on Solana, where token address is HeLp6N…8jwC, currency mint address is HeLp6N…8jwC and token network is Solana: token address, token ID, is native, token name, network, token symbol, block date and 21 more fields.