Skip to main content
A Claude skill packages instructions Claude loads on demand. Drop the one below into your skills directory and Claude can answer on-chain questions by calling BlockDB.

Create the skill

Save as blockdb/SKILL.md:
---
name: blockdb
description: Query Ethereum / EVM on-chain data (blocks, transactions, transfers, DEX swaps, pools, prices, TVL) via the BlockDB REST API. Use whenever the user asks for on-chain or DeFi data.
---

# BlockDB

Call the BlockDB REST API to answer on-chain data questions.

## Rules
- Base URL: `https://api.blockdb.io/v1`
- Auth: send `Authorization: Bearer <BLOCKDB_API_KEY>` on every request (key from env).
- All endpoints are `POST` + JSON body (filters in the body). Exception: `GET /usage`.
- Response: `{ "data": [...], "cursor": "<string|null>", "page_count": <number> }`.
  Paginate by resending the body with `cursor` until it is null.
- Always include `chain_id` (Ethereum = 1). Prefer `from_block`/`to_block`.
- Never invent chain_id, exchange_id, pool_type_id, or addresses. Resolve IDs from
  https://docs.blockdb.io/api-reference/enumerations/overview.

## Picking an endpoint
- Raw chain data β†’ /api-reference/evm/primitives/overview
- Transfers β†’ /api-reference/evm/transfers/token-transfers
- Swaps β†’ /api-reference/evm/swaps/overview
- Prices β†’ /api-reference/evm/prices/overview
- Full index β†’ /api-reference/evm/overview

## Example
POST https://api.blockdb.io/v1/evm/transfers/token-transfers
{ "chain_id": 1, "from_block": 19000000, "to_block": 19001000, "limit": 250 }

Example prompts

Once the skill is available, ask Claude directly:
β€œWhat were the top 10 largest USDC transfers on Ethereum between blocks 19000000 and 19010000?”
β€œPull Uniswap v3 WETH/USDC swaps for yesterday and chart hourly volume.”

No-key path

For historical research, the free datasets need no API key β€” tell Claude to read the Parquet files from Hugging Face.
Last modified on June 5, 2026