Bitcoin

The fastest Bitcoin endpoints

Reliable access to blockchain data in seconds, at blazing fast speeds.

Services For Indexers

Get your indexes running faster and more reliably than ever before at a fraction of the cost.

The infrastructure we've been running across multiple independent data centers since 2018 is purpose-built for indexers & trusted by The Graph.

Firehose & Substreams are the latest technologies in blockchain data, don't be left behind. Get your indexes running on the stack of the future.

Firehose

Provides previously unseen capabilities and speeds for indexing blockchain data using a files-based and streaming-first approach.

Firehose Docs

Substreams

Substreams enables developers to write Rust modules, composing data streams alongside the community, and provides extremely high-performance indexing by virtue of parallelization, in a streaming-first fashion.

Substreams Docs

Quickstart

Connecting to our infrastructure is easy. Just follow these simple steps.

1. Obtain an API Key

Sign up and obtain an API key by clicking the button below.

Sign up

2. Request Your Authentication Token

Use your API Key to retrieve your JWT token using curl;

curl -s https://auth.pinax.network/v1/auth/issue --data-binary "{\"api_key": "your_api_key\"}"

3. Test Your Connection

You can test your connection using GRPCurl;

grpcurl -H 'Authorization: Bearer your_jwt_token' -d '{"service": "sf.firehose.v2.Stream"}' bitcoin.firehose.pinax.network:443 grpc.health.v1.Health/Check

Expected Response; "status": "SERVING"

4. Configure Your Bitcoin Graph Node

config.toml
1[chains.btc]
2shard = "primary"
3provider = [
4    # Firehose Configuration
5    { label = "firehose", details = { type = "firehose", url = "https://bitcoin.firehose.pinax.network:443", token = "$YOUR_JWT_TOKEN" }},
6    # Substreams Configuration
7    { label = "substreams", details = { type = "substreams", url = "https://bitcoin.substreams.pinax.network:443", token = "$YOUR_JWT_TOKEN" }},
8]

Join Our Newsletter

Signup today to learn about our beta programs for your chain.