Today, The Graph Foundation published the first of several posts on Subgraph Gateways: Subgraph Gateways: Expanding Access on The Graph Network | Blog | The Graph
This thread sets out how The Graph Foundation supports teams that want to run a Subgraph Gateway on The Graph Network. We will also use it as the running record of gateways that launch on the network, so operators, Indexers, and the community have one place to follow along.
Background
Since stepping up to run the existing Gateway, Subgraph Studio, Graph Explorer, and the Subgraph Service more generally, the Foundation’s gateway has been how most consumers reach the network. The Foundation plans to keep running their gateway for the foreseeable future. It stays the default in Studio and Explorer, and existing integrations are unaffected.
We also do not want the network’s access layer to depend on any single operator, including us. Subgraphs belong to the network and Indexers are independent. The access layer should be open in the same way, so that the redundancy Indexers provide at the data layer is not lost if one gateway has an outage. While there has been more than one gateway for several years, there was never clear alignment on how other gateways were to collaborate with each other or with the Foundation.
Several pieces of recent work have changed this. The Rewards Eligibility Oracle (REO) now ties indexing rewards to quality of service, so the Indexers that a new gateway routes to meet a higher quality of service threshold. Second, Subgraph Studio traffic is moving onto the network chain by chain (more than 860 BSC and Polygon Subgraphs so far, with Base moving now). Third, the Foundation and Council have outlined new collaboration and brand frameworks to work with other gateways. As a result, independent gateways are the next distribution channel.
What is available today
-
Documentation: the Subgraph Gateway docs cover what a gateway does, how it routes and pays for queries, the consumer side (pricing, payments, serving queries), the supply side, and how to operate a gateway: Subgraph Gateway | Docs | The Graph
-
Open-source software: the gateway, Graph Tally (receipts, aggregator, escrow manager), Indexer Selection, and Titorelli.
-
Setup support: limited support from the Foundation to get a new gateway to its first paid queries.
How the Foundation supports gateways
There are three tiers. The same terms apply to every gateway in a tier:
Enablement (open to anyone, no application)
-
Open-source software and docs
-
Lessons from running the Foundation’s gateway: pricing decisions, common practices, common errors
-
Limited setup support until a gateway is live
Endorsement (for gateways that meet published criteria)
-
“Powered by The Graph” branding, within the brand rules
-
A dedicated docs page
-
Acknowledgement on The Graph’s X, LinkedIn, Discord, and in this thread at launch
-
In return, the gateway meets the quality-of-service threshold and publishes the transparency data below
Expansion (negotiated, not offered by default)
- Deeper product and marketing collaboration under an agreement
Endorsement is acknowledgement, not a business relationship. There is no revenue share at the Endorsement tier, and neither side gets access to the other’s users, accounting, or IP.
Transparency data for Indexers
Gateways seeking endorsement publish data that gives Indexers a feedback loop on the demand each gateway sends them. These requirements apply to every gateway, the Foundation’s included:
-
A change log of production deploys: date, version, which areas changed (Indexer selection, eligibility, payments, reporting), and the minimum indexer-service and graph-node versions enforced
-
A public blocklist: blocked Indexers and POIs per deployment
-
Per-Indexer QoS data: attempts, outcomes, and latency per Indexer and deployment, public at launch
-
Chain names from the networks registry
-
Deployment IDs (Qm hashes) in published data
All five items cover traffic between a gateway and Indexers, so every Indexer can see them. Gateways are not asked to publish data about traffic between consumers and the gateway, because it would reveal consumer patterns to competitors. Source code, customer data, consumer pricing, and fee settings are not required either.
What this means for Indexers
-
New gateways need to be whitelisted in your tap.sender_aggregator_endpoints before their paid queries are served. You choose which gateways to accept.
-
When an operator asks to be whitelisted, it is reasonable to ask for confirmation of funded escrow and where it publishes the transparency data above.
-
Agora cost models let you set per-gateway pricing if you want to account for alternative pricing models.
-
Gateways select Indexers by quality and cost, so the service REO rewards is also the service that wins gateway traffic.
-
We will announce each new gateway here and in #indexers before public announcements where we can.
What this means for Delegators and Curators
Every gateway pays query fees through the Subgraph Service on Graph Horizon, whichever gateway sent the query. Each query fee payment is split as set out in GIP-0068, including the 1% protocol tax that is burned, the Delegator cut, and the Curator cut. Curation signal keeps working as it does today.
What is next
The first independent gateways launch over the coming days. Each has spent the past several months testing the software, the payment flow, and the transparency data with the Foundation’s support. We will post each one as a reply in this thread. A second blog post will cover what a Gateway Operator gets in more depth.
If you are planning a gateway, reply here or reach out in Discord. Questions and pushback on the framework are welcome in this thread, Discord or Graph Office Hours.