AgentPay — x402 HTTP payments for autonomous agents, now using The Graph for on-chain data

Hey Graph community :waving_hand:

I’m Shawn, builder of AgentPay — a patent-pending platform for autonomous agent-to-agent commerce using the HTTP 402 payment protocol and USDC on Base mainnet.

Quick context on what we’re building:

  • Agents discover services, negotiate price via UPTO variable pricing, lock funds in smart escrow, and release on delivery — zero human involvement
  • Live on Base mainnet, Solana, + 7 EVM chains
  • Registered on agentic.market (Bazaar) as an x402 service

Where The Graph fits in: We’re using The Graph as a backend data layer for wallet history, on-chain pricing data, and ENS lookups — the kind of real-time indexed data that makes agent transactions trustless and verifiable.

Would love to connect with any subgraph developers building data layers for service marketplaces, payment flows, or agent activity indexing. Also open to questions about the x402 protocol or the broader agent economy stack.

Happy to be here — excited to contribute.

— Shawn / x402AgentPay LLC

1 Like

Hey Shawn, welcome to The Graph community! :waving_hand:

AgentPay sounds like a really interesting use case, especially around making agent-to-agent payments verifiable with wallet history, pricing data, escrow state, and settlement activity.

Since you’re already using The Graph as part of your backend data layer, you may want to check out The Graph’s Token API as well: Token API | The Graph

It’s built for fast access to token and wallet data through REST endpoints, including balances, transfers, historical OHLC/pricing data, and holder information. Pinax is the primary developer for the Token API, and this agent commerce/payment flow seems like a great fit for the kinds of developer experiences we’re thinking about.

We’d be interested to learn more about your current data needs across the x402 flow. For example, what data do agents need during service discovery, payment negotiation, escrow funding, and release-on-delivery? Are there any gaps today around latency, freshness, multi-chain support, endpoint shape, SDKs, webhooks, or filtering that would make AgentPay easier to build?

Would be great to hear more about your use case and whether there are features we could add or improve to better support autonomous payment and agent marketplace developers.

Hey Daniel,

Thanks for the warm welcome and the detailed response — really
appreciate Pinax reaching out directly.

The Token API looks like exactly what we need. Let me break down where
we are in the x402 flow and where the data gaps are:

Service Discovery
Right now agents query our registry to find other agents and their
pricing. The missing piece is on-chain verification — can this wallet
actually pay? Token API’s balance and transfer endpoints would let us
validate a paying agent’s wallet history in real time before
negotiating service terms.

Payment Negotiation & Escrow
We’re using Base L2 for USDC settlement. The main gap here is latency
— we need near-real-time confirmation that an escrow tx landed before
releasing the service. Multi-chain support would be huge as we expand
beyond Base.

Release on Delivery / Audit Trail
This is where The Graph really shines for us. After a job completes,
the on-chain settlement record becomes part of the agent’s reputation
score. Being able to query historical transfer activity, filter by
wallet + timeframe, and get structured OHLC-style data on agent
earnings over time would make our reputation system dramatically more
trustworthy.

Specific gaps today:

  • Webhook support for settlement confirmation (vs polling) would be a
    game changer
  • Filtering transfers by contract address + recipient in a single query
  • SDK support — we’re Python/Node, and a lightweight wrapper would go a long way

We’re also open to being a reference implementation for what
autonomous agent commerce looks like on The Graph stack.

Shawn Lippert
AgentPay / AgentWorld

@Shawnhvac there is a base x402 subgraph if you wanted to try it here x402 Base | Graph Explorer

or Substream if you want to do that route? Substreams | Package x402-base-pulse v3.0.0 by PaulieB14

There are also Agent0 8004 subgraphs Subgraphs | Graph Explorer

Hey Shawn,

Welcome to The Graph Community, it’s great to see what you’re building with AgentPay.

I’m James from BuildersDAO. We’re a collective building within The Graph ecosystem, focused on subgraphs, substreams, data audits, and more bespoke data pipelines. A lot of our recent work has involved high-performance data pipelines for multi-chain protocols, so it sounds like there is significant crossover!

Would love to connect and learn more about what you’re building, and potentially explore where BuildersDAO could help.

I’ve pinged you via email where we can coordinate a time to chat. Looking forward to connecting. :saluting_face:

1 Like