The Graph launches x402 payment feature, supporting on-demand on-chain data queries using USDC

robot
Abstract generation in progress

BlockBeats News, May 12 — The Graph officially announced that its Graph Gateway now officially supports x402 Payments, allowing developers and AI Agents to access on-chain data via on-demand USDC payments without the need for API keys, accounts, or backend panels.

The Graph states that its network is responsible for indexing data from multiple blockchains, including token information, DEX trading pairs, governance updates, NFT metadata, and protocol activities. Previously, accessing related Subgraph data required registering with Subgraph Studio and applying for an API key, but x402 changes this access model.

According to the announcement, after an Agent or program accesses the interface, it will receive an HTTP 402 response containing price information. The user can then complete a signed payment using USDC on the Base network, and a subsequent request will retrieve the data — “payment itself is authentication.” This update includes:

  • A new /api/x402/ interface;

  • A new payment process SDK;

  • Support for any tools compatible with x402;

  • Support for USDC payments on the Base mainnet and Base Sepolia testnet;

  • The existing API key mode remains unchanged.

The Graph states that Subgraph data is now accessible directly by any program or Agent supporting HTTP and holding USDC.

GRT-2.53%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
Add a comment
Add a comment
No comments
  • Pin