# ScrapeMole Onchain: Top Token Holders

> ScrapeMole Onchain: Top Token Holders is a paid API for AI agents from onchain.scrapemole.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-22).

Returns the top holders of an ERC-20 token on Base or Ethereum, including ranked addresses, balances, and ownership share percentages.

## Facts

- Endpoint: GET https://onchain.scrapemole.workers.dev/v1/holders?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapemole-onchain-top-token-holders-84b929c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RiAKBA7VgrTO58ZbAXjpI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapemole-onchain-top-token-holders-84b929c3
```

Example prompt: Who are the top 20 holders of the USDT token at 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum? Show me their addresses, balances, and what share of the supply each one holds.

## When to prefer this

Use this endpoint when you need ranked ownership data for a specific ERC-20 token on Base or Ethereum, especially for whale analysis, token concentration checks, or due diligence on token distribution. Prefer this over generic blockchain RPC calls when you want pre-ranked, human-readable holder data with percentage shares and named labels for known entities like exchanges. The pay-per-call x402 model means no subscription is needed and failed calls are never charged.

## Known failure modes

- Invalid or non-existent contract address returns an error
- Address is not an ERC-20 token contract (e.g. EOA or non-token contract)
- Limit out of range (must be 1-50)
- Unsupported chain value (must be 'base' or 'ethereum')
- Payment failure via x402 results in no charge and no response
- Blockscout upstream unavailability may cause timeout or empty response

## How this service works

Pay-per-call on-chain data for agents on Base and Ethereum, read directly from chain state: Chainlink USD prices (crypto, stablecoins, FX, metals; 10 per call), ERC-20 token info, top token holders, wallet balances with USD values, transaction lookup with decoded ERC-20 transfers, ENS and Basename resolution (forward and reverse), gas and fee estimates in USD, and Uniswap v3 DEX prices for long-tail tokens (verify a payment arrived). USDC via x402; failed calls are never charged.

Payments: x402 v2, scheme "exact", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://onchain.scrapemole.workers.dev/terms

## Output

Returns a JSON object with the token name, symbol, decimals, chain, source explorer URL, total holder count, and a ranked list of up to 50 top holders. Each holder entry includes rank, address, optional label (e.g. 'Binance: Hot Wallet'), raw balance, human-readable formatted balance, and ownership share as a percentage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "default": "base",
       "examples": [
        "ethereum"
       ],
       "description": "Chain. The example address is on Ethereum, so it needs chain=ethereum."
      },
      "limit": {
       "type": "string",
       "default": "10",
       "description": "Max holders to return (1-50)."
      },
      "address": {
       "type": "string",
       "examples": [
        "0xdAC17F958D2ee523a2206206994597C13D831ec7"
       ],
       "description": "Token contract address (0x…) on the chosen chain. Example: USDT on Ethereum (use with chain=ethereum)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Tether USD",
  "chain": "ethereum",
  "count": 3,
  "token": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
  "source": "Ethereum Blockscout",
  "symbol": "USDT",
  "holders": [
   {
    "rank": 1,
    "label": "Binance: Hot Wallet 20",
    "address": "0xF977814e90dA44bFA03b6295A0616a897441aceC",
    "balance": "16000000001134208",
    "sharePercent": 18.12,
    "balanceFormatted": "16000000001.134208"
   }
  ],
  "decimals": 6,
  "sourceUrl": "https://eth.blockscout.com/api/v2/tokens/0xdAC17F958D2ee523a2206206994597C13D831ec7/holders"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-onchain-top-token-holders-84b929c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain.scrapemole.workers.dev](https://www.zero.xyz/host/onchain.scrapemole.workers.dev/llms.txt)
