API Overview

Query the Stacks blockchain, interact with smart contracts, and broadcast transactions with the Stacks Blockchain API, all via a familiar REST interface.

The Stacks Blockchain API expands the intentionally minimal RPC endpoints available in Stacks nodes and indexes, cleans, and enriches on-chain data to put everything you need at your fingertips. Who knew getting reliable blockchain data could be this easy?

RPC endpoints

Use our /v2 route to access the Stacks API node endpoints. For more information, see the Stacks Node RPC API documentation.

  • Hiro Archive: Bootstrap your own instance of the Stacks Blockchain API with the Hiro Archive and save days of setup time.
  • Token Metadata API: Fetch fungible and non-fungible token data on the Stacks blockchain.
  • Stacks Explorer: Looking for a front end to verify activity on the Stacks blockchain? Try the Stacks Explorer.

Need help building with the Stacks Blockchain API?

Reach out to us on the #api channel on Discord under the Hiro Developer Tools section. There's also a weekly office hours on Discord every Thursday at 11am ET.