- Tools
- Bitcoin Indexer
Bitcoin Indexer
Run your own Bitcoin metaprotocol indexer with built-in support for Ordinals, Runes, and BRC-20 tokens.
Overview
The Bitcoin Indexer is a high-performance, reorg-aware indexing engine that tracks Bitcoin metaprotocols and serves API endpoints for Ordinals, Runes, and BRC-20 tokens. Unlike basic indexers, it automatically handles blockchain reorganizations, ensuring your data stays accurate without manual intervention.
The indexer connects to your Bitcoin node, processes blocks in real-time, stores metaprotocol data in PostgreSQL, and serves REST APIs for each protocol.
Key features
- Metaprotocol indexing - Built-in support for Ordinals, Runes, and BRC-20 with extensible architecture
- Reorg-aware processing - Automatically handles chain forks and reorganizations
- REST API endpoints - Production-ready APIs for Ordinals and Runes
- Archive bootstrapping - Quick sync from Hiro archives instead of full indexing
Installation
$git clone https://github.com/hirosystems/bitcoin-indexer.git$cd bitcoin-indexer && cargo build --release
Docker images are also available:
$docker pull hirosystems/bitcoin-indexer:latest
Next steps
Node installation→
Configure and sync a Bitcoin Core node optimized for the Bitcoin Indexer.
Full sync→
Run the indexer from scratch
Reach out to us on the #ordinals channel on Discord under the Hiro Developer Tools section. There's also a weekly office hours call every Wednesday at 1pm ET.