Crypto

Etherscan API

by docs.etherscan.io

Crypto Added on November 9th, 2026
Visit docs.etherscan.io →

What it does

The Etherscan API reads balances, transactions, contracts and token data on Ethereum and other chains, for example to list the transfers of an address. Requests are GET calls with JSON answers. Free with a free API key for personal and research use, up to 3 calls a second and 100,000 a day on selected chains. An official MCP server at https://mcp.etherscan.io/mcp lets AI agents read chain data.
  • API
  • HTTP-GET
  • JSON
  • MCP
  • REST

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free with a free API key for personal and research use, up to 3 calls a second and 100,000 a day on selected chains.
Commercial use
Not on the free plan
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET, MCP
Provider
docs.etherscan.io

More information: https://docs.etherscan.io/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

Example request

curl

curl 'https://api.etherscan.io/v2/api?chainid=1&module=stats&action=ethprice&apikey=YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.etherscan.io/v2/api?chainid=1&module=stats&action=ethprice&apikey=YOUR_API_KEY");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.etherscan.io/v2/api?chainid=1&module=stats&action=ethprice&apikey=YOUR_API_KEY",
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Etherscan API.