Skip to main content
Chainbase provides multiple ways to query on-chain data. Choose the approach that fits your use case.

Quick Start: CLI

The fastest way to try Chainbase. Install the CLI and run a query in under a minute:
Get your API key at console.chainbase.com. For demo purposes, use the key “demo”.
Full CLI reference: CLI Documentation

Web3 API

REST API for structured queries — token metadata, balances, NFT ownership, ENS domains, and more.
Available API suites:
  • Basic API — Block and transaction queries
  • Token API — Price, holders, metadata, transfers
  • NFT API — Metadata, ownership, rarity, transfers
  • Balance API — Native and ERC-20 token balances
  • Domain API — ENS resolution and reverse lookup
  • Label API — Address classification (exchange, whale, contract)
Full reference: Web3 API Documentation | API Reference

SQL API

Run custom SQL queries against Chainbase’s indexed on-chain data warehouse for complex analytics.
Full reference: SQL API Documentation | API Reference

Tops API

Query crypto social intelligence — trending narratives, Twitter/X mentions, and sentiment signals. Free, no API key required.
Full reference: Tops API Reference

Next Steps