> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Web3 Data Skill

> Query on-chain data and crypto social intelligence using natural language in Claude Code

## Overview

The **Web3 Data Skill** is a [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill that covers two Chainbase services:

* **On-chain data** — query token holders, wallet balances, NFT ownership, ENS domains, address labels, transactions, and more across multiple EVM chains via the Chainbase API.
* **Crypto social intelligence** — discover trending crypto narratives, search topics, retrieve Twitter/X mentions, and monitor social signals via [Tops](https://tops.chainbase.com). No API key required.

## Installation

Install the skill via [skills.sh](https://skills.sh):

```bash theme={null}
npx skills add https://github.com/lxcong/web3-data-skill --skill web3-data
```

Or install via [ClawHub](https://clawhub.ai):

```bash theme={null}
npm i -g clawhub
clawhub install lxcong/web3-data
```

You can also clone the repository and install manually:

```bash theme={null}
git clone https://github.com/lxcong/web3-data-skill.git
cd web3-data-skill
claude skill install ./skills.sh
```

## Configuration

Set your Chainbase API key as an environment variable (required for on-chain data):

```bash theme={null}
export CHAINBASE_API_KEY="your_api_key_here"
```

You can obtain an API key from the [Chainbase Console](https://console.chainbase.com/).

<Note>
  The Tops social intelligence commands do not require an API key and are free to use.
</Note>

## On-Chain Data Queries

| Category             | Examples                                                                 |
| -------------------- | ------------------------------------------------------------------------ |
| **Token Analysis**   | Top holders, token price, price history, token metadata, token transfers |
| **Wallet & Balance** | ERC-20 balances, native token balances, NFTs owned by address            |
| **NFT**              | NFT metadata, collection owners, rarity scores, transfer history         |
| **Address Labels**   | Exchange, contract, whale, and other address tags                        |
| **ENS Domains**      | Resolve domains, reverse resolve, list domains by address                |
| **Transactions**     | Transaction details, account transaction history                         |

Supports all EVM-compatible chains available on Chainbase. See [Supported Networks](/resources/platform/supported-networks/supported-networks).

## Crypto Social Intelligence (Tops)

| Category             | Examples                                                         |
| -------------------- | ---------------------------------------------------------------- |
| **Trending Topics**  | What's trending in crypto right now, ranked by heat score        |
| **Topic Details**    | Summary, authors, representative tweets for a specific narrative |
| **Topic Posts**      | Raw Twitter/X posts under a topic for sentiment analysis         |
| **Narrative Search** | Find candidate topics by keyword (e.g. "RWA", "AI Agent")        |
| **Mention Search**   | Recent Twitter/X mentions for any project or keyword             |

## Usage Examples

Once installed, use natural language in Claude Code:

```
# On-chain data
> /web3-data top 10 holders of USDT on Ethereum
> /web3-data what is the price of ETH?
> /web3-data show NFTs owned by vitalik.eth
> /web3-data label the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

# Crypto social intelligence
> /web3-data what are the top trending crypto narratives right now?
> /web3-data find topics related to "AI Agent" and summarize the key themes
> /web3-data show me what people on Twitter are saying about Chainbase
> /web3-data search narrative candidates for "Restaking"
```

## Learn More

* [Chainbase API Reference](/api-reference/overview) — Full API documentation
* [Supported Networks](/resources/platform/supported-networks/supported-networks) — Complete list of supported chains
* [CLI Reference](/resources/ai/cli) — Full command reference for on-chain and Tops commands
* [GitHub Repository](https://github.com/lxcong/web3-data-skill) — Source code and contributions
