Starter Queries
Below is a set of queries that are curated for you to get started with Bitquery.
Table of Contents
Solana Trade API
Solana Trades
This query gets the latest 10 trades on Solana. You can increase the limit to get more trades. This query only uses real-time data.
▶️ Solana Trades
Solana Trades of a Token
With this, you can query the trades of a token against another currency like WSOL or USDC.
▶️ Trades of a Token
Get OHLCV by Pair Address
You can get charting data easily with this query. Adjust the intervals as necessary. This query supports historical data.
▶️ Get OHLCV by Pair Address
Get Trades by Wallet Address
Get all trades related transactions (buy, sell) for a specific wallet address. ▶️ Get Swaps by Wallet Address
Get Swaps by Pair Address
Get all trades related transactions for a specific pair address. ▶️ Get Swaps by Pair Address
Solana Balance API
Get SPL Token Balances by Wallet
Gets the token balances owned by a given network and address. ▶️ Get SPL Token Balances by Wallet
Get Native and SPL Token Balance by Wallet
Gets the portfolio for an address. ▶️ Get Native and SPL Token Balance by Wallet
Solana Balance Update
This query returns Solana balance update info for any balance update event. It includes the address, amount, currency details, and the amount of tokens present in a particular address before and after the update.
▶️ Balance Update
Solana Pools API
Solana Pool Liquidity Changes
This query retrieves the latest changes to liquidity pools on Solana, including the change amount and the price at which the change happened. This query also uses only the real-time data set.
▶️ Solana Liquidity Changes
Solana Token API
Get Token Prices on Solana
Returns price information for multiple Solana tokens in a single request. ▶️ Get Multiple Token Prices on Solana
Get Token Metadata
Get the token metadata for contract (mint, standard, name, symbol). ▶️ Get Token Metadata
Get Top Token Holders
Get a list of top token holders for a specific Solana token address. ▶️ Get Top Token Holders
Get Token Pairs by Address
Get the supported pairs for a specific token address. ▶️ Get Token Pairs by Address
Get Token Pair Stats
Get the pair stats by using pair address. ▶️ Get Token Pair Stats
Get Aggregated Token Pair Stats
Get aggregated statistics across supported pairs of a token. ▶️ Get Aggregated Token Pair Stats
Get Multiple Token Analytics
Returns analytics data for multiple token addresses. ▶️ Get Multiple Token Analytics
Get Volume Stats for Solana Chain
Returns volume statistics, active wallets, and total transactions for Solana. ▶️ Get Volume Stats By Chain
Search Tokens
Search for tokens based on contract address, token name or token symbol. ▶️ Search Tokens based on token symbol ▶️ Search Tokens based on token name
Solana Transfers
This query gets the latest 10 transfers on Solana. You can increase the limit to get more transfers. This query only uses real-time data.
▶️ Solana Transfers
Solana Instructions
This query gets the latest 10 instructions executed on Solana. You can increase the limit to get more instructions. This query only uses the real-time dataset.
▶️ Solana Instructions
Solana Token Supply Updates
This query tracks the latest token supply updates to a particular token pair. You can modify the same query to a subscription and track these changes in real time.
▶️ Token Supply Updates
Solana Transactions
This query returns the Solana transaction info such as signature, signer, success, fees, time, etc.
▶️ Solana Transactions
Solana Rewards
This query returns Solana network rewards info such as the address that receives the reward, reward amount, type, and the time when the reward was received.
▶️ Solana Rewards
Solana Instruction Balance Updates
This query returns Solana balance update info for any balance update event, including the address, amount, currency details, and the details of the program responsible for this update.
▶️ Instruction Balance Updates
Solana Blocks
This query returns Solana block info such as block number, time, slot, rewards, and so on.
▶️ Solana Blocks
PumpFun - Pumpswap API
Get New Tokens for PumpFun
Returns a list of newly created tokens on the Pump Fun. ▶️ Get New Tokens for PumpFun
Get Bonding Curve Progress of a Token on Pump Fun
Returns Bonding Curve Percentage of a Token on the Pump Fun. ▶️ Bonding Curve Percentage of a Token on Pump Fun
Get Graduated Tokens by Exchange
Returns a list of tokens that have graduated (completed bonding phase) on Pump Fun to PumpSwap. ▶️ Get Graduated Tokens by Exchange
Top PumpFun Tokens by Marketcap
This query returns the top 10 PumpFun tokens based on market cap. You can increase the limit to get more tokens.
▶️ Top Tokens by Marketcap
Latest Trades in Real Time
This subscription query returns the latest PumpFun trades in real time.
▶️ Real-time Trades
Raydium API
Latest Trades on Launchpad
This query returns the 50 most recent trades on the Raydium launchpad. You can increase the limit to get more trades.
▶️ Launchpad Trades
Latest Price of a Token on Raydium
This query returns the latest price of a token when traded against another token on the Raydium launchpad.
▶️ Live Token Price
EVM
Get Wallet Transaction History
Retrieve the full transaction history of a specified wallet address, including sends, receives, token and NFT transfers.. ▶️ Get Wallet Transaction History
Get native transactions by wallet
Get native transactions ordered by block number in descending order. ▶️ Get native transactions by wallet
Get ERC20 token transfers by wallet
Get ERC20 token transactions ordered by block number in descending order. ▶️ Get ERC20 token transfers by wallet
Get NFT transfers by wallet
Get transfers of NFTs given the wallet and other parameters. ▶️ Get NFT transfers by wallet
Get NFT trades by wallet
Get trades of NFTs for a given wallet. ▶️ Get NFT trades by wallet
Get Native & ERC20 Token Balances by Wallet
Get token balances for a specific wallet address. ▶️ Get Native & ERC20 Token Balances by Wallet
Get ERC20 Token Balance by Wallet
Get token balances for a specific wallet address. ▶️ Get ERC20 Token Balance by Wallet
Get Native Balance by Wallet
Get the native balance for a specific wallet address. ▶️ Get Native Balance by Wallet
Get Native Balance for Multiple Wallets
Get the native balances for a set of specific addresses. ▶️ Get Native Balance for Multiple Wallets
Get NFTs by wallet
Get NFTs owned by a given address. ▶️ Get NFTs by wallet
Get Swaps by Wallet Address
Get all swap related transactions (buy, sell). ▶️ Get Swaps by Wallet Address
Get wallet net worth
Get the net worth of a wallet in USD. ▶️ Get wallet net worth
Get NFTs a specific wallet holds
Get NFTs owned by a given address. ▶️ Get NFTs by wallet
Get NFTs a contract holds
Get NFTs for a given contract address, including metadata for all NFTs (where available). ▶️ Get NFTs by contract
Get NFT metadata
Get NFT data, including metadata (where available), for the given NFT contract address. ▶️ Get NFT metadata
Get Metadata for Multiple NFT Contracts
Get the metadata for a given list of contract addresses. ▶️ Get Metadata for Multiple NFT Contracts
Get NFT transfers by wallet
Get transfers of NFTs given the wallet. ▶️ Get NFT transfers by wallet
Get NFT owners by contract
Get owners of NFTs for a given contract. ▶️ Get NFT owners by contract
Get NFT owners by token ID
Get owners of a specific NFT given the contract address and token ID. ▶️ Get NFT owners by token ID
Get NFT trades for a specific NFT contract on specific marketplace
Get trades of NFTs for a given contract and marketplace. ▶️ Get NFT trades by contract
Get NFT trades for a specific NFT contract and token ID
Get trades of NFTs for a given contract and token ID. ▶️ Get NFT trades by token
Get NFT trades by wallet
Get trades of NFTs for a given wallet. ▶️ Get NFT trades by wallet
Get all NFTs in a collection
Get all NFTs in a collection. ▶️ Get all NFTs in a collection
Get ERC20 Token Price
Get the token price denominated in the blockchain's native token and USD. ▶️ Get ERC20 Token Prices
Get Multiple ERC20 Token Prices
Returns an array of token prices denominated in the blockchain's native token and USD for a given token contract address ▶️ Get Multiple ERC20 Token Prices
Get OHLCV by Pair Address
Get the OHLCV candle stick by using pair address ▶️ Get OHLCV by Pair Address
Get blocks on a specific date
Get the blocks given the date. ▶️ Get block by date
Get transaction by hash
Get the contents of a transaction by the given transaction hash. ▶️ Get transaction by hash
Get transactions by wallet
Get transactions ordered by block number in descending order. ▶️ Get transactions by wallet
Get Latest Block Number
Returns the latest block number. ▶️ Get Latest Block Number
Ethereum Balance Update
This query returns the most recent balance updates that occurred on the Ethereum network.
▶️ Ethereum Balance Update
Ethereum DEX Trades
This query returns the latest trades on the Ethereum network where distinction of the buy and sell sides is present.
▶️ Ethereum DEX Trades
Ethereum Dex Trade By Tokens
This query returns the latest trades on the Ethereum network. This is useful when looking for trades of a token without worrying about the buy or sell side.
▶️ DexTrade By Tokens
Ethereum Transfers
This query returns transfers that occurred on the Ethereum network, including info such as amount of tokens transferred, sender, receiver, and currency details.
▶️ Ethereum Transfers
Ethereum Events
This query returns event info and logs for the Ethereum network. It includes arguments passed, transaction details, log info, block info, and more.
▶️ Ethereum Events
Ethereum Tokenholders
This query returns the top 100 token holders of a specific token on a particular date, sorted by the amount of tokens held. Note that this query uses the archive dataset and cannot retrieve current holders.
▶️ Token Holders
Ethereum Transactions
This query returns transaction info for the Ethereum network.
▶️ Ethereum Transactions
Ethereum Calls
Every interaction with any EVM network, from contract creation to fund transfer, is denoted by a call. This query returns the call data for the Ethereum network.
▶️ Ethereum Calls
Ethereum Miner Rewards
This query returns mining rewards info for Ethereum, including transaction fees, fees burnt, rewards received, and more.
▶️ Miner Rewards
NFT APIs
Latest Trades
This query gets the latest 10 NFT trades on Ethereum mainnet. You can increase the limit to whatever you like, up to 25,000. Currently, it only retrieves data from the real-time database. To include historical data, use dataset: combined
.
▶️ Latest NFT Trades
Top Traded NFTs in a Period
This query gets the top 10 traded NFTs based on the number of trades within a specified date range. You can change the filters such as the date range and limit.
▶️ Top Traded NFTs
Uniswap V3 API
Real-time Uniswap V3 Trades
This subscription query retrieves real-time trade data from Uniswap V3.
▶️ Uniswap V3 Trades
TRON
Tron Balance Updates
This query returns the most recent balance updates that occurred on the TRON network.
▶️ TRON Balance Updates
Tron DEX Trades
This query returns the latest trades on the TRON network where the buy and sell sides are distinguished.
▶️ TRON DEX Trades
Tron Dex Trade By Tokens
This query returns the latest token trades on the TRON network.
▶️ DexTrade By Tokens
TRON Transfers
This query returns the most recent transfers on the TRON network and includes details such as token amount transferred, sender, receiver, and token info.
▶️ TRON Transfers
TRON Transactions
This query returns the most recent transactions for the TRON network. It includes data such as transaction hash, time, and success status.
▶️ TRON Transactions
TRON Events
This query returns the most recent events and logs for the TRON network. It includes arguments entered (if any), transaction details, log signatures, block info, and more.
▶️ TRON Events
More APIs
You will find more APIs and detailed information about them in relevant sections.