Data API Overview
Use Alchemy Data to build and scale your business
Intro
The Data API gives you fast, reliable access to blockchain data without the need to run your own indexing infrastructure. Whether you’re building wallets, NFT platforms, analytics dashboards, or DeFi apps, the Data API saves you time and engineering costs by offering pre-transformed, production-ready data.
Components of Data API
- NFT API: query NFTs by owner, collection, floor price, and more.
- Transfers API: fetch historical token and NFT transfers for any address without running your own indexer.
- Token API: get token balances, metadata, and ownership details.
- Webhooks: subscribe to on-chain events like transfers, transactions, and balance changes.
- Portfolio APIs: build a complete portfolio view of a user’s wallet, across tokens and NFTs.
- Prices API: access real-time and historical prices for tokens.
- Simulation APIs: simulate a transaction and see its potential effects before you send it.
When Should I Use the Data API?
Use the Data API if:
- You need pre-indexed blockchain data without running your own nodes or infrastructure.
- You want to read user portfolios, token balances, transfer history, or NFT data.
- You’re sending transactions and not using Alchemy’s Smart Wallets.
- If you are using our wallets, check out the Wallet API, which supports:
sendUserOp
estimateUserOpGas
- and more account abstraction features
- If you are using our wallets, check out the Wallet API, which supports:
- You want to simulate or estimate transaction outcomes before sending them.
- You need to track wallet or contract activity with push notifications via Webhooks.
Data API Reference Tables
Token, NFT, Prices APIs
Webhooks
Data API Use Cases
1. Developer Tooling & Debugging
Perfect for advanced dev environments, simulation dashboards and infra teams
- Use endpoints like:
debug_traceTransaction
debug_getRawTrace
2. Help Users Write Transactions
Ideal for apps that generate transactions on behalf of users
Common Use Cases
- ERC-20 swaps
- NFT purchases and listings
- Wallets that send tokens or interact with contracts
- Portfolio apps that need to simulate or batch transactions
3. Help Users Read Transactions
Common Use Cases
- Wallets and portfolio trackers
- Token/NFT ownership queries
- Historical transfers and analytics dashboards
- Price feeds and on-chain trends
- Pre-indexed data to power all your frontend and backend logic.
- Use endpoints like:
getNftsForOwner
- Retrieves all NFTs currently owned by a specified address.alchemy_getTokenBalances
- Returns ERC-20 token balances for a given address.alchemy_getAssetTransfers
- Easily fetch historical transactions for any address across Ethereum and supported L2s including Polygon, Arbitrum, and Optimism.
Summary
The Data API is specifically meant to do the heavy lifting so that you can focus on your product needs.
We are not just the data provider, but also the infra layer behind the biggest names in web3. Alchemy is set apart by:
- Battle-tested scale: powering millions of wallets, swaps, and NFT marketplaces — from Fortune 500s to weekend and hackathon builders.
- Multi-chain support: Ethereum, Base, Polygon, Arbitrum, Optimism, and dozens of other chains supported out of the box.