Stacks API

Stacks is a layer that brings smart contracts and decentralized apps to Bitcoin. Launched in 2021, it settles on the Bitcoin blockchain and uses a Proof of Transfer consensus, letting developers build DeFi, NFTs, and apps secured by Bitcoin.

Networks Mainnet, Testnet
Released 2021
Consensus Proof of Transfer
Smart contracts Yes
Block time ~10 minutes (Bitcoin-anchored)
Smart contract language(s) supported Clarity
Get access to Stacks APIs using our unified endpoints. Get blockchain data, blockchain events, automations and more.

The Stacks API — build without running a node

Access Stacks blockchain data through one unified REST API: transaction and address data, balances, block data, and real-time webhooks for on-chain events — with no Stacks node to run and maintain. Start free and scale as you grow.

Blockchain data

Read Stacks transactions, addresses, balances, UTXOs, and block data through one REST API.

Real-time webhooks

Subscribe to on-chain events — incoming and outgoing transactions, confirmations, and mined blocks.

No node to run

Skip the infrastructure — managed, always-synced access with no node to operate or maintain.

Building a full wallet? Explore Wallet as a Service.

Need prices too? See the crypto price API, or run your own Stacks RPC nodes.

Smart contracts secured by Bitcoin

Stacks anchors its blocks to Bitcoin through Proof of Transfer, inheriting Bitcoin's security while adding a smart-contract layer. Its Clarity language is decidable and predictable by design, enabling DeFi and apps that read and react to Bitcoin state.