Skip to main content

SubQuery

Intro

SubQuery is a leading blockchain data indexer that provides developers with fast, flexible, universal, open source and decentralised APIs for web3 projects. SubQuery SDK allows developers to get rich indexed data and build intuitive and immersive decentralised applications in a faster and more efficient way. SubQuery supports 100+ ecosystems including Osmosis, Cosmos, Ethereum, Polygon, Polkadot, Algorand, NEAR, and Avalanche.

Another one of SubQuery's competitive advantages is the ability to aggregate data not only within a chain but across multiple blockchains all within a single project. This allows the creation of feature-rich dashboard analytics, multi-chain block scanners, or projects that index IBC transactions across zones.

Other advantages include superior performance with multiple RPC endpoint configurations, multi-worker capabilities and a configurable caching architecture. To find out more, visit our documentation.

Useful resources

Getting started

Take a look at this SubQuery starter project that indexes all swaps on Osmosis' on-chain DEX.

You can also follow along with this step-by-step guide to get familiar with SubQuery.

Running and Hosting your Osmosis SubQuery APIs

SubQuery is open-source, meaning you have the freedom to run it in the following three ways:

  1. Locally on your own computer (or a cloud provider of your choosing), view the instructions on how to run SubQuery Locally.
  2. By publishing it to SubQuery's enterprise-level Managed Service, where we'll host your SubQuery project in production-ready services for mission-critical data with zero-downtime blue/green deployments. There even is a generous free tier. Find out how.
  3. By publishing it to the decentralised SubQuery Network, the most open, performant, reliable, and scalable data service for dApp developers. The SubQuery Network indexes and services data to the global community in an incentivised and verifiable way and supports Osmosis from launch.