Substreams Background
Substreams

Real-time onchain data streamed anywhere

Substreams Trading Application

Key use cases

Trading & Analytics

Trading & Analytics

Process data faster while cutting costs. Never miss transactions with cursor-managed reconnection.

AI Agents & Gaming

AI Agents & Gaming

Stream millisecond-latency data directly into your code. Ensure uninterrupted gameplay with fail-safe cursor management.

DeFi

DeFi

Sync contract data from genesis with faster processing. Eliminate unreliable RPCs while reducing infrastructure costs.

DePIN

DePIN

Capture every on-chain state change at scale. Handle high-frequency transactions through efficient pull-based streams.

Why Substreams

FASTER

Parallelized processing power

Substreams processes blockchain data up to 72,000% faster than traditional RPCs with parallelized back-processing technology, enabling entire blockchains to be processed within hours

Parallelized processing power visualization
CHEAP

Cost-effective data access

Users report infrastructure costs savings of up to $8,500 by eliminating expensive RPC calls and improving efficiency with Substreams' $25/TB pricing model

RELIABLE

Never miss a data point

Substreams is backed by a cursor-based system, simplifying the management of reorgs and disconnections

Check
2810457972024-04-14T08:03:17ZZ
Check
2810458122024-04-15T08:03:17ZZ
Check
2810459502024-04-16T08:03:17ZZ
Reconnecting
Spinner
2810461002024-04-17T08:03:17ZZ
Default
2810462002024-04-18T08:03:17ZZ
Default
2810463332024-04-19T08:03:17ZZ

Available on 35+ networks

How it works

RAW DATASlowest
200+ lines
Network
Flat files
Parallel processing
Substreams Engine
Application

Integration process

Get started in 3 easy steps

Step 1

Create and package

Write Rust code to extract and transform blockchain data in your Substreams package

Get an API key
Integration process step 1
Step 2

Configure data sink

Choose where your transformed data will go: database, API, subgraph, or file system

Integration process step 2
Step 3

Deploy and run

Launch the Substreams CLI to start extracting and processing live data

View Documentation
Amberdata logo
We previously didn't have a way to collect and index new blockchains or protocols quickly. This resulted in us being late to market when new protocols came online or extended to blockchains we didn't have support for. Today, we are able to lead the market by collecting information on new protocols right away and can add support for datasets on SF-supported blockchains in a matter of a day.
José Betancourt
Founder
Amberdata Case Study

Case Study: Amberdata Accelerates Blockchain Indexing by 72,000% with Substreams

0%
Cost reduction
0%
Faster indexing
0
Faster indexing
Get API Key Background

Get an API key and begin streaming blockchain data in minutes

First 1TB free, then pay as you scale

Developer resources

Getting started

A guide to help you consume ready-made Substreams packages or developing your own

Start building now

Package registry

Ready-made substreams are avaliable now for consumption

Explore packages

Sinks

Choose the destination to send extracted data to such as a SQL database.

Configure data flow

FAQ

StreamingFast Substreams frequently asked questions

Get answers