What Is The Graph? The Decentralized Query Layer Powering Web3 dApps, Explained

How The Graph indexes on-chain data into subgraphs, its GRT tokenomics, the 2025 Horizon upgrade, and why most major dApps rely on it.

By Web3Wagmi Team9 min read
Table of contents

Almost every serious dApp you've used — a DEX showing your trade history, an NFT marketplace listing floor prices, a governance dashboard tallying votes — is quietly reading its data through The Graph. Blockchains are superb at writing state and terrible at reading it: there's no "SELECT * WHERE wallet = 0x…" against Ethereum. The Graph fixes that. It's the decentralized indexing protocol that turns unstructured on-chain events into fast, queryable APIs, and after the December 2025 Horizon upgrade it's no longer just an indexing network — it's positioning itself as the entire data backbone of the on-chain economy. Here's how it works, what GRT actually does, and where the real risks sit.

What The Graph is and who built it

The Graph is a decentralized protocol that indexes and queries blockchain data. Its core primitive is the subgraph: an open API, defined by a developer, that describes which smart-contract events to watch and how to organize the resulting data into a GraphQL schema. Once published, anyone can query that subgraph and get structured answers in milliseconds — the sort of relational, historical lookups a raw node can't do without you building an indexer yourself. The shorthand everyone uses is fair: it's a search-and-query engine for blockchains.

It was founded in 2018 by Yaniv Tal, Brandon Ramirez, and Jannis Pohlmann, under the studio now known as Edge & Node. The network's mainnet launched on December 17, 2020, alongside the GRT token — a launch that saw GRT rip more than 400% in its first days and cross a $900M market cap within a week. Crucially, The Graph is not a one-company project anymore. It's built by multiple independent core developer teams: Edge & Node, StreamingFast (which built the Firehose and Substreams technology), Semiotic, GraphOps, and Pinax among them, with governance handled by The Graph Council and The Graph Foundation.

For its first years, most developers used a free, centralized hosted service run by the founding team. The genuinely hard part of the project was retiring that crutch and moving everyone onto the decentralized network — a multi-phase migration (Sunbeam, Sunrise) that finished in 2024, when the hosted service endpoints were fully sunset and The Graph became a truly decentralized protocol in practice, not just in theory.

How it works: subgraphs, Indexers, and the query market

The architecture is a two-sided market with a few specialized roles. Walk it end to end:

  1. A developer defines a subgraph. The manifest points at contract addresses, lists the events and functions to track, and maps them to GraphQL entities via a mapping script (written in AssemblyScript). Publish it, and it becomes a public good anyone can query.
  2. Indexers do the work. Indexers are node operators who run the open-source graph-node software. They ingest chain data, keep it in sync, and serve GraphQL queries. Increasingly they don't read blocks the slow way — they consume Firehose, a high-throughput streaming format for chain data, and Substreams, a parallelized indexing engine that can process history dramatically faster than the classic sequential model. Both are open-source and have become the de facto standard for high-volume Web3 indexing, used even outside The Graph.
  3. Consumers pay to read. dApps and developers send GraphQL queries and pay small fees in GRT. Payments are handled through a scalable off-chain mechanism (state channels historically, unified under Horizon's payments layer now) so micro-queries don't each need an on-chain transaction.

Two more roles keep the market honest. Curators stake GRT on subgraphs they believe are valuable, using a bonding curve — signaling to Indexers where to allocate resources, and earning a share of query fees if they signal early on a subgraph that takes off. Delegators are passive participants: they stake GRT behind an Indexer they trust, without running any hardware, to earn a cut of that Indexer's rewards. It's a deliberate separation of concerns — capital, curation, and compute each have their own role and their own incentive.

Why this decentralized design matters is best seen by contrast. In a centralized model, one company runs the indexers, and if it goes down, gets acquired, changes pricing, or censors an app, every dApp reading through it inherits that single point of failure. The Graph spreads the same work across dozens of independent, economically-bonded operators who are slashed for serving bad data and paid for serving good data. The trade-off is complexity and, often, latency — but the payoff is that no single party can quietly turn off the data feed a protocol depends on. That's the pitch that keeps The Graph relevant even as faster centralized options exist.

The GRT token and its economics

GRT is a work token, not a governance-only coin — it's the medium that coordinates every role. The mechanics that matter:

  • Indexers must self-stake at least 100,000 GRT to participate, and their stake is subject to slashing for serving incorrect data. They can amplify their capacity by accepting delegation — up to 16x their self-stake — which is why Delegators exist.
  • Issuance and burns. Genesis supply was 10 billion GRT, with roughly 3% annual issuance paid out as indexing rewards. Against that, the protocol burns GRT: a portion of query fees, a ~1% curation tax, and a delegation tax. When query demand is healthy, burns offset most issuance and net inflation sits near neutral — even mildly deflationary. When usage slows, the 3% issuance dominates and GRT inflates. As of mid-2026, circulating supply is around 10.8 billion GRT.
  • Yields. Delegators have historically earned roughly 9–15% APY depending on the Indexer they choose; well-timed Curators on popular subgraphs have seen higher, though curation carries real bonding-curve risk.

The important 2026 nuance: Horizon expands what GRT is paid for. Where fees once came almost entirely from subgraph queries, they now flow from streaming, token APIs, and analytics too — the thesis being more diversified fee streams and stronger value accrual. A related mechanism to watch is the Rewards Eligibility Oracle (REO), which aims to tie indexer rewards to delivered value rather than passive staking, gradually reducing "issuance for its own sake."

The numbers: scale and market position

The scale is the strongest part of the story. As of early 2026, The Graph has served over 1.27 trillion queries to more than 75,000 projects, across 60+ networks, powered by 50+ independent Indexer nodes worldwide. The top four chains by query volume — Base, Ethereum, BNB Smart Chain, and Arbitrum — each handle hundreds of millions to over a billion queries per quarter, with a long tail of smaller chains contributing meaningfully. Few pieces of Web3 infrastructure can claim that kind of cumulative usage.

The token, by contrast, tells a soberer story. GRT trades around $0.019 in mid-2026, for a market cap roughly in the $200–210 million range depending on the tracker — far below its 2021 highs. And the operational metrics are mixed: Messari's Q4 2025 report showed Substreams delivering a breakout quarter while traditional subgraph query fees fell ~8.7% quarter-over-quarter in USD terms, with indexing rewards dropping from roughly 81.6M GRT in Q3 to 75.1M GRT in Q4, and USD-denominated indexer revenue hitting its lowest of the year. The read: usage is real and shifting toward the newer streaming products, but the classic query business is under price pressure.

The ecosystem and integrations

The Graph is infrastructure, so its "integrations" are effectively the dApps that read through it — and that list spans DeFi (DEX analytics, lending dashboards), NFT marketplaces, DAO tooling, wallets, and portfolio trackers. The product surface has widened well beyond subgraphs:

  • Subgraphs — the classic custom GraphQL APIs, still the workhorse for structured dApp data.
  • Substreams & Firehose — the high-throughput streaming stack for real-time price feeds, trading events, and large-scale analytics; Substreams is now the recommended path for high-volume new indexing.
  • Token API — a unified REST endpoint for token, balance, price, and NFT data, launched supporting around 10 major chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Unichain, Avalanche, Solana, and more) and expanding.
  • Amp — an enterprise-grade SQL analytics product with compliance features and audit trails, aimed at institutions.

A notable 2026 theme is AI: The Graph is explicitly courting AI agents and applications that need reliable, structured on-chain data to act on, pitching itself as the data layer for an emerging agentic economy. The logic is straightforward — an autonomous agent executing trades or rebalancing a portfolio needs clean, real-time, verifiable state, and a decentralized data network is a natural supplier. One published case study documented Substreams plus the Token API making multi-chain indexing roughly 24x faster than the classical approach for a high-volume workload. Whether that translates into sustained query volume is one of the year's open questions, but the strategic direction is clear.

How to actually use The Graph

For a developer, the path is short:

  1. Find or build a subgraph. Browse The Graph Explorer for an existing subgraph covering your protocol, or scaffold your own with the Graph CLI (graph init), which generates a project from a contract address and ABI.
  2. Define and deploy. Edit the manifest (which events to index), the GraphQL schema (your entities), and the AssemblyScript mappings (how events become entities). Deploy to Subgraph Studio, then publish to the decentralized network.
  3. Get an API key and query. Create an API key in Studio, add GRT (or a supported payment method) to cover query fees, and point your app's GraphQL client at the network endpoint. For high-throughput or real-time needs, reach for Substreams or the Token API instead.

For a token holder who wants to participate rather than build, the lowest-effort route is delegation: stake GRT behind a reputable Indexer through the Explorer to earn a share of rewards. It's not passive-risk-free — mind the delegation tax, undelegation cooldowns, and the Indexer's cut and reliability — but it requires no hardware.

Risks and what to watch

The clear-eyed view: The Graph's danger isn't a smart-contract exploit — it's competitive and economic.

  • Competition is fierce and often faster. Centralized indexers — Goldsky (150+ chains), Alchemy, QuickNode, and Envio's HyperIndex (among the fastest in benchmarks) — plus Subsquid, Dune, Chainbase, and Ponder are all fighting for the stack. Most are centralized and quicker to onboard. The Graph competes on decentralization and open standards, which is a real moat with institutions but not always with a developer who just wants data now.
  • Query-fee pressure. Falling subgraph query fees mean the token's core demand driver is soft. Growth is shifting to Substreams and enterprise products, but that transition has to outrun the decline.
  • Inflation vs. burn. With ~3% issuance, GRT only stays non-inflationary while query demand and burns keep pace. In a low-usage stretch, holders face structural dilution.
  • Execution risk on Horizon. A modular multi-service platform is more ambitious — and more complex — than an indexing network. New services, new payment flows, and REO all have to land well for the value-accrual thesis to hold.

None of these are existential today; the network is deeply entrenched. But they're the honest reasons GRT's price has lagged its usage.

Bottom line

The Graph is one of the few pieces of Web3 infrastructure that has genuinely won its category: the decentralized read layer that thousands of dApps depend on, with a trillion-plus queries to prove it. Subgraphs made blockchain data usable; Firehose and Substreams made it fast; Horizon is trying to make The Graph the platform for every kind of on-chain data service, not just queries. The open question is economic, not technical — whether it can convert that entrenched usage into growing GRT demand while faster, centralized rivals nip at the edges. If you're building, it's still the default answer for reliable, decentralized data. If you're holding GRT, watch query volume and Horizon adoption, not the price chart.

Not financial advice. GRT is volatile and network metrics change quarter to quarter — verify current figures on The Graph's official docs and independent trackers like Messari before acting.

Frequently asked questions

What is The Graph in simple terms?

The Graph is a decentralized indexing protocol that reads raw blockchain data and organizes it into fast, queryable APIs called subgraphs. It's often called "the Google of blockchains" because it lets developers ask questions like "show every trade this wallet made" without scanning the chain block by block. Instead of each dApp building and running its own indexing servers, they query The Graph's network — which has served over 1.27 trillion queries across 60+ networks.

How does The Graph actually work?

A developer writes a subgraph — a manifest that tells the network which contract events and data to index and how to organize it — and publishes it. Independent operators called Indexers run the open-source graph-node software, ingest that data (increasingly via Firehose and Substreams for speed), and serve GraphQL queries. Apps pay small query fees in GRT to read the data. Curators signal which subgraphs matter and Delegators stake behind Indexers, so the whole market is coordinated by the GRT token.

What is the GRT token used for?

GRT is the work token that coordinates the network. Indexers must self-stake at least 100,000 GRT to serve queries and earn fees plus issuance; Delegators stake GRT behind Indexers for a cut of rewards; Curators stake GRT on subgraphs they think deserve indexing; and Consumers pay query fees in GRT. Genesis supply was 10 billion with roughly 3% annual issuance, partly offset by burns from query fees and taxes on curation and delegation.

What was the Horizon upgrade?

Horizon, which went live on mainnet in December 2025, is the biggest architectural change in The Graph's history. It turned the protocol from a subgraph-only network into a modular platform: a shared staking layer secures any "data service," a unified payments system handles fees across all of them, and a framework lets builders add new services — streaming, token APIs, analytics, verifiability — without rebuilding infrastructure. The goal is more GRT fee flows from more service types than subgraph queries alone.

Is The Graph the only blockchain indexing option?

No, and this is its biggest challenge. Centralized rivals like Goldsky (150+ chains), Alchemy, QuickNode, and Envio's HyperIndex are often faster and easier to onboard, while Subsquid, Dune, Chainbase, and Ponder compete for parts of the stack. The Graph's differentiator is decentralization and open standards — Firehose and Substreams are the de facto format for high-throughput indexing — but it competes on trust and openness, not raw speed.

Is GRT a good investment in 2026?

This isn't investment advice, but the honest picture is mixed. The Graph is genuine, widely-used infrastructure with over a trillion queries served, and Horizon plus AI-agent demand are real growth vectors. Against that, traditional subgraph query fees fell about 8.7% quarter-over-quarter in Q4 2025, indexer rewards are declining in USD terms, and 3% issuance can outpace burns when usage softens. GRT's value hinges on query demand growing faster than emissions.

What blockchains does The Graph support?

The Graph indexes 60+ networks, including Ethereum, Base, BNB Smart Chain, Arbitrum, Polygon, Optimism, Avalanche, Unichain, and non-EVM chains like Solana. Its newer Token API — a unified REST endpoint for token, balance, price, and NFT data — launched supporting around 10 major chains and is expanding. Base, Ethereum, BNB Smart Chain, and Arbitrum are the highest-volume chains on the network.

Who created The Graph?

The Graph was founded in 2018 by Yaniv Tal, Brandon Ramirez, and Jannis Pohlmann, originally under the studio now known as Edge & Node. The mainnet launched on December 17, 2020. Today the protocol is built by multiple independent core developer teams — including Edge & Node, StreamingFast (which built Firehose and Substreams), Semiotic, GraphOps, and Pinax — and governed by The Graph Council and Foundation.

Sources & further reading