Stacks Blockchain API
The Stacks Blockchain API is a REST API developed and hosted by Hiro that extends the Stacks Node RPC API with additional indexed endpoints. While every Stacks node exposes a minimal set of RPC endpoints (account balances, contract calls, transaction broadcasting), the Blockchain API continuously ingests and indexes on-chain activity into a PostgreSQL database, making it possible to query transaction history, token transfers, smart contract events, and paginated lists of blocks — data that is not directly available from a Stacks node alone.
The public base URL is https://api.hiro.so. No infrastructure setup is required, so you can start querying immediately.
Key features
Real-time data ingestion -- Continuously indexes blockchain activity as it happens
Cached responses -- Optimized performance through intelligent caching strategies
Complete data access -- Transaction history, smart contracts, accounts, and blocks
Usage
curl -L 'https://api.hiro.so/extended' -H 'Accept: application/json'For more usage examples, see Usage.
All Stacks Blockchain API responses include rate limit headers that help you monitor your API usage.
Last updated
Was this helpful?