Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

subql

> 编程语言
Open source

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the f

18.8K stars0 likes5 views
WebsiteGitHub

About

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the f

Welcome to SubQuery!

Flexible, reliable, and decentralised APIs for your web3 project

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the future.

SubQuery allows teams across multiple blockchain architectures to process and query their data. The project is inspired by the growth of data protocols serving the application layer and its aim is to help web3 projects build better dApps by allowing anyone to reliably find and consume data faster. Today, anyone can query and extract blockchain data from various supported networks in only minutes and at no cost.

The future is multi-chain - SubQuery is no different. SubQuery is well on our way to support all leading blockchain networks with support for the following:

  • Polkadot (and all Substrate networks)
  • Ethereum (and all EVM-compatible networks)
  • Cosmos (and all CosmWasm and Ethermint networks)
  • Algorand
  • NEAR
  • Stellar (including Soroban)
  • Solana (Beta)
  • Starknet
  • Concordium

You can also use SubQuery to index data from multiple networks in any combination of the above SDKs. See our Multi-Chain Indexing Quickstart for more details.

Get Started

Create a SubQuery project

You can follow our Quick Start Guide to learn how to create, initialize, build, and publish a new SubQuery Project using the @subql/cli tool.

Learn and improve with our comprehensive documentation

Dig into every term, usecases, and best-practices that help you build a dApp which your users love. Take a look at our detailed technical documentation.

Publish your SubQuery Project to the SubQuery Network

Take advantage of the decentralized SubQuery Network to host your project without managing any infrastructure. By publishing to the SubQuery Network, you'll benefit from a reliable, scalable, cost-optimised, and censorship-resistant indexing service. Follow our comprehensive publishing guide to learn how to upload your project to the network and start leveraging its distributed infrastructure today.

Publish to managed hosting providers

If you prefer a managed hosting option for your indexer deployment, contact our managed hosting partners. Learn more.

Run your own Indexer and Query Service

Follow our guide to run your own SubQuery local node that you can use to debug, test, and run you own GraphQL server. You're going to need to a Postgres database, a node to extract chain data, and a moderately powerful computer to run the indexer in the background. You'll also use our custom-built GraphQL query service @subql/query to interact with your SubQuery project.

MCP (Beta)

You can also create, build and deploy SubQuery projects using MCP (Model Context Protocol). Our MCP integration provides all the same functionality as the CLI but works well with LLMs and AI IDEs such as Cursor.

Manual configuration

For adding SubQuery MCP into other tools, the following command needs be run by the client.

bash
npx -y @subql/cli mcp

An example manual configuration:

json
"subquery": {
  "command": "npx",
  "args": ["-y", "@subql/cli", "mcp"]
}

Components

This repository contains all the core components of the SubQuery SDK as well as the Substrate implementation. It includes the following packages:

  • @subql/cli - The command line interface for SubQuery, used to create, build, and publish SubQuery projects
  • @subql/node - The Substrate SubQuery SDK, which provides the indexing functionality for Substrate-based chains
  • @subql/node-core - Core indexing functionality that is chain agnostic
  • @subql/query - The GraphQL query service for SubQuery projects, allowing you to interact with your indexed data.
  • @subql/common - Common utilities and types used across SubQuery packages
  • @subql/common-substrate - Common utilities and types specifically for Substrate-based chains
  • @subql/types - Type definitions for Substrate-based chains and SubQuery projects, including the project manifest and data models

For more detail on the specific network implementations please see their respective repositories:

  • @subql/node-ethereum
  • @subql/node-cosmos
  • @subql/node-algorand
  • @subql/node-near
  • @subql/node-stellar
  • @subql/node-solana
  • @subql/node-starknet
  • @subql/node-concordium

Other Components:

  • @subql/query-subgraph - A Subgraph compatible query service for SubQuery projects.

Support

We have a vibrant community of developers and users who are always ready to help. If you have any questions, issues, or need assistance, please reach out to us through the following channels:

  • Discord - The best place to get help and discuss with the community
  • X
  • Telegram
  • YouTube

Contribute

We love contributions and feedback from the community. To contribute the code, we suggest starting by creating an issue in our main repository so we can give you support.

Copyright

SubQuery is a project built with love from the team at SubQuery all the way from New Zealand

Copyright © 2025 SubQuery Pte Ltd authors & contributors

Issues· 103 open

View all issuesOpen on GitHub
  • #3045

    E2E Reliability tests and comparison

    Updated Sep 30, 2026
  • #3036

    [Bug] `node-fetch` support broken in v5.4.0 - Cannot read properties of undefined (reading 'substring')

    Updated May 23, 2026
  • #1887

    [Reward Cancelled] Allow query historical data by block range

    Query ServiceNew FeaturecrucialDocumentation RequiredguildUpdated May 4, 2026
  • #3034

    Endpoint failover not working - Indexer stuck on unhealthy endpoint when multiple endpoints configured

    Updated Mar 30, 2026
  • #2863

    Can't create basic Injective project

    Updated Sep 23, 2025
  • #2899

    Using solana-dex-parser with mappings

    Updated Sep 3, 2025
  • #2641

    Running inside a mono repo typescript fails

    Updated Jul 13, 2025
  • #2747

    Cannot build using latest subql package versions

    Updated Jun 2, 2025
  • #2765

    Improve project validation

    Updated Apr 27, 2025
  • #2099

    [$300 in SQT] Dynamic Datasources destructor

    good first issueguildUpdated Apr 27, 2025

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言