Back to Web3 Builder Hub: Developer Resources for Every Chain

ℹ Introduction To Stacks RPCs and RPC Nodes

Stacks provides powerful tools for developers to interact with the blockchain through Remote Procedure Call (RPC) APIs. These RPCs allow you to query blockchain data, interact with smart contracts, and even run your own decentralized infrastructure.

Use Cases for RPCs

  • Read blockchain data(accounts, transactions, contract state)
  • Broadcast transactions
  • Deploy and interact with smart contracts
  • Run local development with a self-hosted node

Whether you're a dApp developer, protocol researcher, or infrastructure provider, using Stacks RPCs gives you the freedom to build scalable, trust-minimized applications powered by Bitcoin.

There are two main types of APIs in the Stacks ecosystem:

1. Stacks Node RPC API

Every Stacks node exposes a native RPC API that developers can use to interact directly with the blockchain. This allows for a fully self-hosted, decentralized setup—ideal for builders who want full control over their node and data.

  • No authentication required
  • Base URL (Testnet):https://api.testnet.hiro.so/
  • Base URL (Mainnet):Replacetestnetwithmainnet
  • Local node access:http://localhost:20443/v2/info

This API gives low-level access to the Stacks protocol and is suitable for advanced users and developers running full nodes.

DIA provides oracle data for this chain

Asset prices sourced from 80+ exchanges, lending rates, and protocol-level data. Verifiable computation from source to chain, published through DIA's Lumina oracle network.