Skip to main content
POST /onchain-x402/address is the cheap reputation primitive: hand it any Base address and get back its full x402 footprint — total payments sent and received, USDC volume, recent activity in each direction, and (if the address is a facilitator) facilitator-level metadata. Pulled live from the decentralized x402 Base subgraph on The Graph Network, so the answer is verifiable, not vendor-derived.

What you get

Per-call payment in USDC on Base via x402.

Why derived over raw

You can read the same subgraph directly via the Graph gateway, but it would take three GraphQL queries plus a _meta call to assemble what this endpoint returns in one shot — and you still wouldn’t get the is_in_index boolean or the freshness indicators baked in. For agents using x402 footprint as a counterparty signal (“has this address ever been paid for anything?”, “is the wallet I’m about to interact with a known facilitator?”) this collapses the lookup into a single decision-grade call.

Request body

The address is normalized server-side; case-insensitive.

Response shape

Decision-grade fields

Sample: reputation gate

Use the response to decide whether to engage. A typical agent rule: as_recipient && as_recipient.totalPayments > 5 → “this address has been paid for things, treat as a real agent.”

Sample: facilitator detection

If facilitator is non-null, the address routes settlements for other agents. Use this to skip rep-scoring (facilitators always pass) or to apply distinct trust rules.

Errors

Why on-chain over a centralized DB

The data is the same as what powers /ask, but the read path is different. /ask reads a Cloudflare R2 parquet snapshot — cheap, fast, indexed by Graph Advocate. /onchain-x402/address reads the canonical Graph Network subgraph deployment Cb56epg3EvQ6JRpPfknbkM54QxpzTvLa7mwKNQQfUyoj directly. If your agent needs decentralization-grade verifiability for the answer (a counterparty check, an attestation, a reputation claim it will later defend), this is the right endpoint. If it just needs the number, /ask is cheaper for aggregate questions.

Free tier

There is no free tier for /onchain-x402/address. To inspect routing without paying, send the plain-English question to POST / (A2A JSON-RPC) and Graph Advocate will name this endpoint and hand back the exact paid curl, without charging.