Marketplace has launched, further enabling blockchain developers! Learn more

Free Stacks RPC
Documentation

Documentation for Algorand, Arbitrum, Arbitrum Nova, Avalanche, Binance Smart Chain, Celo, Ethereum, Fantom, Gnosis, Harmony, Optimism, Polygon, Solana, and Stacks RPCs across multiple software languages, libraries and SDKs including cURL, Python, Ruby and JavaScript.

Get started with Stacks development using these docs - send suggestions for improvements to [email protected]

Contents

QuickNode Stacks RPC Overview

At QuickNode, we run Stacks RPC endpoints. To see and learn more about the source code for Stacks, visit the official Github pages: github.com/stacks-network/stacks-blockchain and github.com/hirosystems/stacks-blockchain-api.

In aggregate we serve 100s of billions requests every month. To make it easier for developers to integrate with QuickNode, we've created this documentation that shows how to call RPC methods using libraries in Python, Ruby, JavaScript, cURL.

With QuickNode, you get access to our global network which always routes your API requests to the nearest available location, ensuring low latency and fastest speeds.

Authentication Options

Token Authentication - By default, all endpoints created on QuickNode are protected by a token in the URL which looks something like this:

Please note the / at the end of the URL. Without it, you will receive 404 errors.

Approved Referrer List - For endpoints on the shared network, you are able to add a list of approved referrers. This requires any HTTP request to send a Referrer header or any WebSocket request to send a Origin header populated with one of the referrers you entered into our user panel.

Disabling Token Authentication - You can also disable the token authentication completely in your security settings for a given endpoint. This will allow anyone to make requests to the endpoint without the token.

If you're running a dedicated endpoint, you cannot disable token authentication or roll your token - so be careful where you share your endpoint URL!

JWT (JSON Web Tokens) - For additional security, you can also enable JWT for each of your deployed endpoints. JWT allows for stateless authentication between you and your endpoint. Learn how to use JWT with QuickNode in this step-by-step guide.

Multiple Authentication Tokens - Create multiple authentication tokens for each of your deployed endpoints. This allows you to revoke any tokens that may be comprised, without needing to restart your non-compromised endpoint.

To roll an individual authentication token, create an additional token and then delete the previous token. Learn more about multiple authentication tokens in this QuickNode guide.

Installing Web3 SDKs

cURL

Most *nix based systems have cURL support out of the box. cURL is a command line tool and library for transferring data with URLs. Check if you have it by running the following:

curl -h

Network support

Network WSS HTTPS
MainnetBeta
TestnetBeta