Stacks Blockchain 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?
Popular Endpoints
Get recent transactions
→Retrieve data about transactions on Stacks.
Call smart contracts
→Call a read-only public function on a smart contract.
Guides
Transactions 101
→Learn how transactions work on Stacks.
Working with clarity values
→Use Clarity values when calling public functions in smart contracts.
Related Tools
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.