Aggregate wallet stats (tx count, volume, unique recipients) for any x402 sender address — $0.01 per query.
What it does
This endpoint returns aggregate statistics for a specific wallet (sender) address within the x402 payment ecosystem. Given a wallet address, it returns metrics such as transaction count, total transfer amount, and unique recipients. The data can be filtered by chain (Base or Solana) and by timeframe (1, 7, 14, or 30 days lookback). It is part of the x402scan analytics platform built by Merit Systems.
The endpoint is x402-gated at a fixed price of $0.01 per request, payable in USDC. x402scan indexes on-chain x402 micropayment transfers across Base and Solana, covering facilitators like Coinbase, PayAI, and Meridian. The broader x402scan API suite includes endpoints for merchant stats, buyer/seller leaderboards, facilitator analytics, resource search, and a registry for discovering x402-protected resources.
Note: the probe returned HTTP 404 for this specific URL path (`/api/data/wallets/{address}/stats`), while the OpenAPI spec documents the endpoint at `/api/x402/wallets/{address}/stats`. The listed endpoint URL likely uses an outdated or incorrect path prefix (`/api/data/` instead of `/api/x402/`). The canonical endpoint per the OpenAPI spec is `https://www.x402scan.com/api/x402/wallets/{address}/stats`.
Capabilities
Use cases
- —Retrieve aggregate payment statistics for a specific x402 buyer/sender wallet
- —Monitor how much a wallet has spent via x402 micropayments over a given timeframe
- —Identify unique merchants a wallet has transacted with on Base or Solana
- —Build dashboards tracking x402 ecosystem participation per wallet
- —Audit agent spending across x402-gated APIs
Fit
Best for
- —Agents or dashboards needing per-wallet x402 spending summaries
- —Analytics pipelines tracking x402 protocol adoption
- —Developers building wallet-level reporting for x402 micropayments
Not for
- —General-purpose blockchain explorer queries (non-x402 transactions)
- —Real-time streaming of individual transactions (use the transactions endpoint instead)
- —Wallets on chains other than Base and Solana
Quick start
curl -H "X-Payment: <x402-payment-header>" \
"https://www.x402scan.com/api/x402/wallets/0xc80e842bebfc0d826fadd0dd4767ef3cdad8c17b/stats?chain=base&timeframe=7"Endpoint
Quality
The OpenAPI spec is detailed with clear parameter definitions and pricing, but the actual listed endpoint URL (/api/data/...) returned 404 while the spec documents /api/x402/... paths. No response schema or example responses are provided. The endpoint is likely live at the canonical /api/x402/ path but the cataloged URL appears incorrect.
Warnings
- —The listed endpoint path /api/data/wallets/{address}/stats returned HTTP 404; the OpenAPI spec documents the endpoint at /api/x402/wallets/{address}/stats instead.
- —No response schema or example response is documented in the OpenAPI spec.
- —No dedicated documentation page exists (x402scan.com/docs returns 404).
Citations
- —The endpoint is documented as GET /api/x402/wallets/{address}/stats with a fixed price of $0.01 USDhttps://www.x402scan.com
- —x402scan is described as a payment data explorer and registry for the x402 protocol, built by Merit Systemshttps://www.x402scan.com
- —Supported chains are Base and Solana; timeframe options are 1, 7, 14, or 30 dayshttps://www.x402scan.com
- —The probe returned 404 on both POST and GET for the /api/data/ path varianthttps://www.x402scan.com/api/data/wallets/0xc80e842bebfc0d826fadd0dd4767ef3cdad8c17b/stats