The complete API for OP data
Query OP balances, transactions, tokens, contracts, and logs using the same Etherscan API that powers OP Mainnet Etherscan, with one API key and chainid=10.
Why teams choose Etherscan API for OP data
Explorer-grade blockchain data for teams that need accuracy, coverage, scale, and a clear path to multichain data from day one.
The first-choice API for OP data
When teams need blockchain data they can defend in front of users, finance, or compliance, they start with the Etherscan API.
The reference layer for onchain data
Built with OP Mainnet Etherscan data, the API is used as a reference point to verify balances, transfers, internal transactions, and contract activity on OP.
Accuracy that holds up under scrutiny
Capture edge cases many providers miss and reduce time spent reconciling mismatched records across tools.
One integration, 60+ chains
Same endpoints, same structure, one API key across OP and other chains. Just set chainid=10 for Mainnet or chainid=11155420 for Testnet.
OP data through a familiar API
Use the same request parameters, response formats, and API conventions that power OP Mainnet Etherscan and other Etherscan-supported explorers.
The default for mission-critical data
If blockchain data is mission-critical, Etherscan API is the default choice for teams that need accuracy and reliability.
How to start querying OP with Etherscan API
Get an API key, set the OP chain ID, and call the same endpoint structure used across 60+ EVM chains.
Get your API key
Create an Etherscan API key and use it for OP Mainnet, Testnet, and other supported chains.
Set the OP chain ID
Pass chainid=10 for OP Mainnet or chainid=11155420 for OP Testnet in Etherscan API requests.
Call OP endpoints
Use familiar account, token, contract, transaction, and log endpoints to pull OP Mainnet Etherscan-grade indexed data into your app.
Single API to access all Endpoints & Metadata
Use Etherscan API with chainid=10 to query indexed OP data through a familiar endpoint structure.
All Etherscan API Endpoints
View all our available endpoints on Etherscan API documentation.What you can build with the OP API
Build OP wallets, accounting tools, security products, and analytics without operating a separate blockchain indexer.
Transaction Reconciliation
Match OP normal and internal transactions, token transfers, fees, timestamps, and execution status with ledger entries and imported wallet records.
Tax & Accounting
Turn OP activity into tax filings, accounting workflows, and audit reports with internal transactions, token transfers, historical balances, and address metadata.
Financial Reporting & Audit Evidence
Produce OP period-end balance checks, transaction schedules, exception reports, and traceable source records for financial review.
NFT & Digital Asset Reporting
Track OP ERC-721 and ERC-1155 transfers, token IDs, counterparties, timestamps, and related transactions for ownership and disposal records.
Multichain by Default
Turn your app to multichain with our API that supports over 60+ supported chains.
Start building on OP today
Choose an Etherscan API plan and start querying OP Mainnet data with chain ID 10.