NEW AI Studio is now available Try it now
Finance

Etherscan Scraper

Extract Ethereum blockchain transactions, token transfers, smart contract data, and gas prices from Etherscan. Powered by spider-browser .

Get Started Documentation
etherscan.io target
99.5% success rate
~4ms latency
Quick Start

Extract data in minutes

etherscan-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://etherscan.io/txs");
await page.content();

const data = await page.evaluate(`(() => {
  const txs = [];
  document.querySelectorAll("table tbody tr").forEach(el => {
    const hash = el.querySelector("td:nth-child(2) a")?.textContent?.trim();
    const block = el.querySelector("td:nth-child(4) a")?.textContent?.trim();
    const from = el.querySelector("td:nth-child(7) a")?.textContent?.trim();
    const to = el.querySelector("td:nth-child(9) a")?.textContent?.trim();
    const value = el.querySelector("td:nth-child(10)")?.textContent?.trim();
    if (hash) txs.push({ hash, block, from, to, value });
  });
  return JSON.stringify({ total: txs.length, transactions: txs.slice(0, 15) });
})()`);

console.log(JSON.parse(data));
await spider.close();
✓ ready to run | spider-browser | TypeScript
Fetch API

Structured data endpoint

Extract structured JSON from etherscan.io with a single POST request. AI-configured selectors, cached for fast repeat calls.

POST /fetch/etherscan.io/
Tx hashBlockFrom addressTo addressValue (ETH)Gas used
curl
curl -X POST https://api.spider.cloud/fetch/etherscan.io/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/etherscan.io/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/etherscan.io/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Data you can extract

Tx hashBlockFrom addressTo addressValue (ETH)Gas usedTx feeStatus
Data

Market data capture

Extract real-time quotes, charts, and financial metrics from etherscan.io.

Rendering

Dynamic charts

Full browser rendering for interactive charts, tables, and streaming tickers.

Scale

Bulk screening

Process thousands of tickers and financial instruments concurrently.

Related

More Finance scrapers

Start scraping etherscan.io

Get your API key and start extracting data in minutes.