Ethereum API - Complete Developer Guide
What is Bitquery?​
Bitquery is the leading blockchain data platform that provides comprehensive Ethereum API solutions for developers. Instead of running your own Ethereum node or building complex indexing infrastructure, you can use our pre-built Ethereum API to get the blockchain data you need in seconds.
Our Ethereum API provides comprehensive access to all Ethereum blockchain data including transactions, token balances, DEX trades, liquidity events, blocks, smart contract events, gas fees, mempool data, and NFT information. Available through GraphQL API with real-time streaming via GraphQL subscriptions and Kafka.
Getting Started​
New to Bitquery? Here's how to get started:
- Create a free account - Get instant access to our GraphQL IDE
- Generate your API key - Required for API access
- Run your first query - Learn the basics in 5 minutes
- Explore examples - Copy-paste ready queries
Free Trial: 100,000 API points for 1 month. No credit card required.
Need help crafting a query or subscription? Message us on support.
Why Choose Bitquery's Ethereum API?​
Unlike traditional Ethereum JSON-RPC providers, our Ethereum API stores, indexes, and enriches every Ethereum transaction, event, contract call, token transfer, balance update, and DEX trade. Our advanced Ethereum API allows you to query both historical and real-time Ethereum blockchain data from multiple dimensions without the complexity of running your own infrastructure.
Key Benefits of Our Ethereum API:​
- Complete Data Coverage: Access to all Ethereum blockchain data since genesis
- Real-time Updates: Live data streaming via GraphQL subscriptions and Kafka
- Advanced Analytics: Pre-computed metrics and enriched data
- Developer-Friendly: GraphQL interface with comprehensive documentation
- High Performance: Sub-second response times for complex queries
- Cost-Effective: Free tier with 1,000 API calls per day
How is it different from raw Ethereum RPC or Ethereum node API?​
Ethereum RPC
- Low‑level JSON‑RPC that returns raw node data
- No historical indexing, joins, or analytics out of the box
- Best for transaction submission and node-level introspection
Bitquery Ethereum API
- Pre‑indexed, enriched datasets exposed via GraphQL
- Powerful filtering, joins, aggregations, and subscriptions (Websockets / Webhooks)
- Ideal for building applications, analytics, monitoring, dashboards, and reporting without running infra
What can you build with it?​
Build powerful applications including:
- Trading Tools: Trading terminals, bots, and automated strategies
- Portfolio Trackers: Monitor wallet portfolios and token holders
- Compliance Tools: Tax reporting, auditing, and accounting products
- DeFi Analytics: Monitor DEX price/volume and liquidity events
- Network Analysis: Analyze gas usage, fees, and network health
- Real-time Monitoring: Stream mempool activity and pending transactions
- Business Intelligence: Compute KPIs over blocks/transactions for dashboards
Real-time Data & Streaming​
Get live Ethereum data through our streaming solutions:
- GraphQL Subscriptions: Convert any query to a live stream by changing
query
tosubscription
- Kafka Streaming: High-throughput streaming for enterprise applications
See examples and code snippets here for GraphQL subscription implementation, and learn about Kafka streaming for high-volume use cases.
Ethereum DEX Trades APIs​
- Ethereum DEX API
- Ethereum Token Trades APIs
- Trades of an Ethereum Address API
- Uniswap API
- Pancakeswap API
- DEXScreener (EVM)
Query and subscribe to on‑chain swaps, OHLCV, liquidity events, pools, and per‑wallet trading activity across major EVM DEXes.
Ethereum Token Holders API​
Track and analyze token holder distributions with comprehensive historical and real-time data. Get top holders by balance, monitor holder count changes, calculate distribution metrics like Gini coefficient and Nakamoto coefficient for decentralization analysis, identify new and active holders, and track first/last activity dates for any ERC-20 token on Ethereum.
Ethereum Balance API​
Get real‑time and historical token and native ETH balances for any Ethereum address. Track balance changes over time, calculate portfolio values in USD, and monitor wallet holdings across ERC20, ERC721, and ERC1155 tokens. Perfect for building portfolio trackers, tax tools, and wallet analytics.
Ethereum Token Transfers API​
Track comprehensive token transfer activity across Ethereum with support for all major ERC standards including ERC20, ERC721, ERC1155, and more. Monitor transfers for any Ethereum address or smart contract, analyze inflow and outflow patterns, and discover specific transfers across the entire blockchain for any token. Get enriched data with corresponding USD values, transfer volumes, and detailed transaction context to power portfolio tracking, Tax tools, compliance monitoring, and token analytics applications.
Ethereum Blocks API​
Access comprehensive Ethereum block data including block headers, timestamps, gas usage, miner/validator information, base fees, and transaction counts. Build time‑series analytics, monitor network health, track block production patterns, analyze fee dynamics, and compute blockchain metrics. Perfect for building block explorers, network monitoring tools, and blockchain analytics dashboards.
Ethereum Smart Contract Events API​
Access and analyze smart contract events across Ethereum with comprehensive filtering and decoding capabilities. Query contract logs by specific topics, parameters, addresses, and event signatures to track contract interactions, state changes, and protocol activity. Get decoded event data with parameter names and values, filter by block ranges or time periods, and monitor real-time contract events. Essential for building DeFi analytics, protocol monitoring tools, governance trackers, and smart contract auditing systems.
Ethereum Transaction Fees API​
Analyze comprehensive transaction fee data across Ethereum including gas usage patterns, base fee dynamics, priority fees, and transaction cost distributions. Track gas consumption by transaction type, monitor EIP-1559 fee market mechanics, calculate average gas prices over time, and analyze fee optimization strategies. Get detailed gas usage statistics, fee predictions, and cost analysis to power gas estimation tools, transaction optimization services, and fee market analytics dashboards.
Ethereum Mempool API​
Monitor and analyze Ethereum's mempool to track pending transactions before they are included in blocks. Get real-time insights into transaction queues, fee estimations, and network congestion patterns. Track pending transactions by address, value, gas price, and transaction type to build MEV strategies, optimize transaction timing, and provide better fee estimation services. Additionally, simulate mempool transactions to preview potential transfers, trades, and contract interactions before execution, enabling advanced analysis of transaction outcomes and state changes. Essential for building frontrunning protection, transaction monitoring tools, MEV detection systems, and advanced DeFi applications that need to react to pending on-chain activity.
Ethereum NFT API​
Access comprehensive NFT data across Ethereum including collections, ownership tracking, transfer history, marketplace trades, and metadata. Query NFT collections by contract address, track ownership changes and holder distributions, monitor NFT transfers and sales across major marketplaces like OpenSea and LooksRare, and retrieve detailed token metadata including images, attributes, and rarity information. Get enriched trading data with USD values, floor prices, and volume metrics to power NFT analytics dashboards, portfolio trackers, rarity tools, and marketplace monitoring applications.
Ethereum Transactions API​
Query detailed Ethereum transaction data including transaction hashes, from/to addresses, values transferred, gas prices, gas limits, gas used, nonce values, and transaction status. Access transaction input data, method signatures, internal transactions, and execution traces. Filter transactions by sender, receiver, value ranges, time periods, or transaction type to analyze payment flows, contract calls, and wallet behavior. Retrieve comprehensive transaction receipts with logs, events, and error details for both successful and failed transactions. Essential for transaction monitoring, forensic analysis, compliance reporting, and building comprehensive blockchain data applications.
Frequently Asked Questions​
What is an Ethereum API?​
An Ethereum API is a programming interface that allows developers to access Ethereum blockchain data without running their own node. Our Ethereum API provides comprehensive access to transactions, balances, smart contract events, and more.
How does your Ethereum API compare to other providers?​
Our Ethereum API offers several advantages:
- Complete historical data since Ethereum genesis
- Real-time streaming via GraphQL subscriptions and Kafka
- Enriched data with USD values and analytics
- GraphQL interface for flexible querying
What data can I access with your Ethereum API?​
Our Ethereum API provides access to:
- All Ethereum transactions and blocks
- Token balances and transfers (ERC-20, ERC-721, ERC-1155 and more)
- DEX trades and liquidity data
- Smart contract events and logs
- Gas fees and network statistics
- Mempool data for pending transactions
- NFT collections and trading data
Is there a free tier for your Ethereum API?​
Yes! We offer a free trial with 100,000 API points for 1 month. No credit card required to get started.
How fast is your Ethereum API?​
Our Ethereum API typically responds in under 1 second for most queries, with real-time data updates and high availability.
Can I use your Ethereum API for commercial projects?​
Yes, our Ethereum API is designed for both personal and commercial use. We offer various pricing tiers to suit different needs.