The Graph's Subgraph Gateways now support x402 payments, enabling pay-per-query access using USDC on Base.
Key features:
- Query blockchain data across dozens of networks without API keys or accounts
- Payment serves as authentication in a single HTTP round trip
- Client receives 402 response with price, signs USDC payment, retries and receives data
- Existing API-key access remains unchanged
Technical implementation:
- x402 endpoints available at
/api/x402/.​.​.​ - Compatible clients can install via
npm install @graphprotocol/client-x402 - Works on Base mainnet and Base Sepolia testnet
This payment model is particularly useful for AI agents and applications needing on-chain data like DEX activity, positions, governance, or protocol metrics without managing authentication infrastructure.
If you're building an AI agent that needs onchain data like DEX activity, positions, governance, or protocol activity, the Subgraph Gateway now accepts x402 payments. One HTTP request. USDC on @base or Base Sepolia. No accounts, no keys. Docs: thegraph.com/docs/en/subgra…
x402 support is now live on The Graph's Subgraph Gateways. Any x402-compatible client can pay per query in USDC and access Subgraph data across dozens of supported networks. Existing API-key access is unchanged. x402 is an additional path. Docs: thegraph.com/docs/en/subgra…
The Graph Gateway now supports x402 payments. Any agent or application can query Subgraph data by paying per request in USDC. No API key, no account, no session. Here's what that means and how to use it 🧵
Docs: thegraph.com/docs/en/subgra… Package: npm install @graphprotocol/client-x402 Try it today. Pay with USDC on @base or Base Sepolia. Let us know what you think.
Subgraph gateways now have x402 endpoints under /api/x402/... Your client hits the endpoint → gets a 402 response with the price → signs a USDC payment on Base → retries → gets the data. One round trip. Payment is the authentication.
Agent0 Subgraphs Launch Across Five Major Blockchains with The Graph Protocol
**Agent0 Subgraphs are now live** across Base, BNB Chain, Ethereum, Monad, and Polygon, providing real-time indexing for ERC-8004 agents. **What's being indexed:** - Agent identity and capabilities - Reputation scores and validation data - Cross-chain agent activity **Key features:** - Single GraphQL query replaces complex RPC calls - Millisecond response times across all five chains - Already processed over 1M queries - Built as a public good with The Graph Protocol **Practical applications:** - Agent marketplaces and discovery - Real-time reputation dashboards - Cross-chain analytics - Agent-to-agent interactions Developers can now access comprehensive agent data without building custom indexers. The unified schema works across all supported chains with a simple parameter change. [Explore Agent0 Subgraphs](https://thegraph.com/explorer?search=agent0) | [Read the docs](https://thegraph.com/docs/en/subgraphs/guides/agent0/)
Graph Protocol Launches x402 Payment Package with Three Integration Options
**The Graph Protocol** has released a dedicated x402 package (`@graphprotocol/client-x402`) offering developers three integration methods: - **CLI one-liner** for quick implementation - **Programmatic API** for flexible integration - **Typed SDK** with complete type safety The package supports **USDC payments** on Base and Base Sepolia networks. Developers can install via npm and access full documentation at thegraph.com/docs. [Install package](https://www.npmjs.com/package/@graphprotocol/client-x402)
🔓 The Graph Drops API Key Requirement for Network Access
**The Graph Network is removing a major friction point for developers.** Previously, accessing Subgraph data required a Subgraph Studio account and API key - a setup that worked fine for traditional apps but created barriers for: - Autonomous agents - Serverless functions - Ephemeral workloads that spin up and down This change makes The Graph more accessible for modern, dynamic infrastructure patterns without requiring persistent credentials.
Agent0 Subgraphs Now Live Across Five Mainnets with Unified GraphQL Schema
**Agent0 Subgraphs are now operational across five major blockchain networks** - Base, BNB Chain, Ethereum, Monad, and Polygon - using a single GraphQL schema. **Key features:** - Real-time indexing of every ERC-8004 agent across all chains - No code rewrites needed when switching between networks - Already processed over 1 million queries - Accessible via [Graph Explorer](https://thegraph.com/explorer?search=agent0) **What this enables:** - Developers can query agent data with a single GraphQL request instead of scanning thousands of blocks - AI agents can discover, hire, and interact with each other using structured blockchain data - Machine-scale data access for agents that operate continuously The infrastructure indexes agent identities, capabilities, reputation, and validation data in milliseconds. Developers building ERC-8004 agents can now access comprehensive onchain data without building custom indexers.