Quickstart
Index any smart contract log and transaction data in 5 minutes
Query APIs and IPFS
Enrich the indexed data with third-party API and IPFS queries
GraphQL subscriptions
Live query updates with GraphQL subscriptions
Production aliases
Switch between versions with zero downtime
Index Substrate data
The most advanced SDK for indexing Substrate-based chains
WASM smart contracts
Index WASM contracts developed with Ink!
Subsquid vs The Graph
Compare the feature set and the architecture
Subsquid Academy
Step-by-step video tutorials covering the most powerful Subsquid features
Show me the code!
Dive into our SDK samples and indexing templates on GitHub
What is a squid?
A squid is a project that extracts and transforms on-chain data in order to present it as a GraphQL API. Squids are developed using the Subsquid SDK, which provides extensive tooling to define data schemas, data transfomation rules, and the shape of the resulting API.
Why should I use Subsquid?
The latency of serving app data with a squid is much lower compared to direct node access via gRPC. This means significantly better UX for your application. The flexibility of the Subsquid SDK gives developers the full power to access and manipulate historical on-chain data and build complex and responsive dApps with familiar tools. Finally, by using the Aquarium cloud service, developers no longer have to care about indexing infrastructure maintenance costs and hassle.
How much does Subsquid cost?
The Squid SDK is open source. Data access to the Subsquid Network (and Archives) is free as it is incentivized by the networks, thus for self-hosted or locally ran squids Subsquid services are free of charge. For managed squids we offer free and Premium plans. See Aquarium Pricing.
What is an Archive?
Archives ingest and store the full log of historical on-chain data in a normalized format. Designed to be data sources for squids, Archives serve on-chain data as an API that supports batching over multiple blocks.
What is Aquarium?
Aquarium is a cloud service for hosting squids. This service is managed by Subsquid Labs. Subsquid's CLI provides a convenient way to deploy squids to the Aquarium and manage them once they are hosted.