Uniswap API: v1 to v4 trades on eight chains, one schema
One endpoint for every Uniswap swap, pool, position and price, from the first trade in November 2018 to the block that just landed. No subgraph per version, no indexer per chain.
{
EVM(network: eth, dataset: realtime) {
DEXTrades(
limit: { count: 10 }
orderBy: { descending: Block_Time }
where: {
Trade: {
Dex: { SmartContract:
{ is: "0x000000000004444c5dc75cb358380d2e3de08a90" } }
}
}
) {
Block { Time }
Trade {
PoolId
Buy { Currency { Symbol } Amount }
Sell { Currency { Symbol } Amount }
}
Transaction { From Hash }
}
}
}A "uniswap_v2" label is not Uniswap.
Most APIs name a DEX after the code its pools run. Forks run the same code, so they carry the same name, and filtering on the label brings them along. Here is what that costs, measured in Bitquery's own data for 18 September 2026.
Everything Uniswap emits, in one schema.
Swaps, pools, positions and prices come back from the same endpoint, with the same field names on every chain and every version.
Every swap, with its factory
Amounts, price, counterparties, protocol version and the contract that deployed the pool.
Read the docs →PricesCandles and USD prices
Open, high, low, close and volume at any interval, with a USD price on the trade rather than a joined feed.
Read the docs →PoolsPairs, pools and hooks
v2 pairs, v3 pools, and v4 pool creation carrying its hook contract, fee and tick spacing.
Read the docs →LiquidityPositions and liquidity
v3 position NFTs, and v4 position NFTs joined to the PoolManager's liquidity changes.
Read the docs →TradersWho actually traded
Rank wallets by volume, PnL or trade count, keyed on the account that sent the swap.
Read the docs →StreamsReal time
WebSocket and gRPC subscriptions on self-service plans, fixed-cost Kafka on Enterprise.
Read the docs →Eight chains, every version.
Uniswap v1 only ever ran on Ethereum. The rest carry v2, v3 and v4, counted through Uniswap's own factories and PoolManager rather than the protocol label.
What people build on this.
Each one is a filter on the same indexed data, queried or streamed.
New pool alerts
Stream v4 Initialize events as pools are created, with the hook contract, fee and tick spacing, and act on the first trade.
Read the docs →PositionsLP position tracking
Follow a position NFT from mint to burn, and join v4 positions to the PoolManager's liquidity changes by pool.
Read the docs →ChartsCharts and price feeds
Build candles for any pair at any interval, with a USD price that comes from the trade rather than an outside feed.
Read the docs →The same query, the rest of the market.
Move between the eight EVM chains by changing the network argument. Point the filter at another factory and the same query returns PancakeSwap or SushiSwap. Solana sits under its own root, where the buy and sell sides are written from the trader's point of view instead of the pool's, so those queries differ in shape.
What teams say about our data
"We did a thorough search of the market for the best onchain data. Bitquery came out on top and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."
Bitquery does the hard work of parsing blockchain transaction data into a usable form so that we don't have to. We use their interface to diagnose issues with complex transactions and their analytics as a starting point for our own.
They proved they had the technology to deliver sophisticated data solutions. We extended our support through the Binance X fellowship — building an open-source library of visualization widgets on their blockchain data.
The complex raw data is available at different levels of detail and from different viewpoints — whether we need simple aggregated transfers or parameters for failed contract calls. The support is responsive, friendly and quick.
Partnering with Bitquery has been highly cost-effective — leveraging their established infrastructure rather than building our own let us rapidly expand our blockchain support and reach a much broader segment of on-chain users.
Bitquery's products are very intuitive and easy to use. We currently use their products to obtain DEX-related trading and liquidity information, which saves us the manpower and tedious technical details required to develop our own system. Their excellent technical team deserves special praise; they provide near-24/7 support and resolve issues quickly. I greatly appreciate their products and work ethic.
Bitquery provides the infrastructure we rely on every day. Fast, reliable, and comprehensive across the chains that matter to our business.
Pricing
Start free. Scale when you ship.
Self-service plans cover 10 core chains with flat-rate add-ons: no surprise invoices. Every paid plan starts with a 7-day free trial.
Personal
For side projects, learning & testing. Personal use only, no commercial use.
billed annually ($468/yr) · save 20%
- 100k API points / mo ≈ 20k calls
- 30 req/min · 3 simultaneous
- Full GraphQL & REST schema
- Real-time data · 10 core chains 30-day trades · 4–8h on-chain
- API only, no streams
- Community support
Pro
For trading bots, alerts & dashboards on live onchain and DEX data.
billed annually ($948/yr) · save 20%
- 1M API points / mo ≈ 200k calls
- 90 req/min · 6 simultaneous
- 100k stream-minutes + 5 GB
- 100 concurrent streams
- All streams onchain + mempool
- Commercial-use license
- Real-time data · 10 core chains 30-day trades · 4–8h on-chain
- Community + Telegram support
Scale
For production real-time apps: every stream, scale on demand.
billed annually ($2,868/yr) · save 20%
- 5M API points / mo ≈ 1M calls
- 240 req/min · 12 simultaneous
- 2M stream-minutes + 50 GB
- 1,000 concurrent streams
- All streams onchain + mempool
- Commercial-use license
- Dedicated Slack support
Enterprise
Full history, unlimited streams & bulk delivery at scale.
flat platform fee, no metering
- Complete history · 40+ chains
- Unlimited WebSocket streaming no stream-min or GB limit
- Custom points & rate limits
- Kafka fixed-cost · S3 bulk export
- Coinpath® money flow
- SLA · SSO · dedicated support
Flat-rate add-ons: $40 / 1M points on every self-service plan · $40 / 200k stream-minutes and $40 / 5 GB on Pro and Scale (bought yearly · save 20%). Billed only for what you add, with volume packs that cut the rate as you scale.
Historical data is sold separately: self-service plans are real-time only. Per-chain archive packs start at $100/mo ($70/mo billed yearly); transfers, balances & holders are $150/mo ($120/mo yearly) on most chains. EVM and Tron trading and transfers packs include calls and events. See historical add-ons →
Uniswap data questions, answered.
Does filtering by protocol name return only Uniswap?
Which chains does Bitquery cover Uniswap on?
How far back does Uniswap data go?
Can I see Uniswap v4 hooks?
Why can't I filter Uniswap v4 swaps by pool address?
Can I stream Uniswap trades in real time?
Query Uniswap in the next five minutes.
A free key and the IDE, open in a browser tab. The queries on this page run as written.