Aggregate wallet stats (tx count, volume, unique recipients) from the x402 payment ecosystem for $0.01 per call.
What it does
This endpoint returns aggregate statistics for a specific wallet address within the x402 payment ecosystem. Given a wallet address (in this case 0x5d544dc3ee58ee05e0f2eba03b071a707bb9b48f), it returns metrics such as transaction count, total transfer volume, and unique recipients. The data covers x402 micropayment transfers on Base and Solana chains and can be filtered by chain and by a timeframe lookback of 1, 7, 14, or 30 days.
The endpoint is part of x402scan, an analytics dashboard and block explorer for the x402 protocol, built by Merit Systems. x402scan indexes on-chain USDC transfers that settle x402 micropayments and exposes them through a suite of paid data endpoints. Each data query costs $0.01–$0.02 in USDC via the x402 payment protocol. The wallet stats endpoint specifically costs $0.01 per request.
Note: the probe returned 404 rather than the expected 402 challenge, which may indicate the specific wallet address in the URL has no indexed data, or the endpoint path uses a different prefix than probed (the OpenAPI spec lists the path as /api/x402/wallets/{address}/stats while the registered endpoint uses /api/data/wallets/{address}/stats). The broader x402scan origin is live (root returns 200) and the OpenAPI spec is well-documented.
Capabilities
Use cases
- —Retrieve aggregate spending stats for a wallet participating in x402 micropayments
- —Monitor transaction volume and unique recipient counts for a specific address over configurable time windows
- —Build dashboards tracking x402 ecosystem wallet activity on Base or Solana
- —Audit an agent's x402 spending history programmatically
Fit
Best for
- —Agents or developers needing quick aggregate stats on x402 wallet activity
- —Analytics dashboards tracking x402 protocol adoption
- —Wallet-level spending audits across Base and Solana chains
Not for
- —General-purpose blockchain explorers unrelated to x402 payments
- —Querying non-USDC token transfers or arbitrary ERC-20 activity
- —Free or unauthenticated bulk data extraction
Quick start
curl -H "X-Payment: <x402-payment-header>" \
"https://www.x402scan.com/api/x402/wallets/0x5d544dc3ee58ee05e0f2eba03b071a707bb9b48f/stats?chain=base&timeframe=7"Endpoint
Quality
The OpenAPI spec is thorough with clear parameter definitions and pricing, but the probed endpoint returned 404 (path mismatch between /api/data/ and /api/x402/), no response schema or example responses are provided, and no dedicated documentation pages exist.
Warnings
- —Probe returned 404 on both GET and POST — the registered endpoint path (/api/data/wallets/.../stats) does not match the OpenAPI spec path (/api/x402/wallets/{address}/stats). The correct base path is likely /api/x402/.
- —No response schema or example responses are documented in the OpenAPI spec.
- —No dedicated docs page found (https://www.x402scan.com/docs returns 404).
Citations
- —The wallet stats endpoint costs $0.01 per call and accepts chain and timeframe query parameters.https://www.x402scan.com
- —x402scan is described as 'the x402 analytics dashboard and block explorer' built by Merit Systems.https://www.x402scan.com
- —Data endpoints require $0.01–$0.02 x402 micropayments; the OpenAPI spec lists /api/x402/wallets/{address}/stats with chain and timeframe filters.https://www.x402scan.com
- —The OpenAPI info section describes x402scan as querying indexed x402 payment data and sending USDC on Base and Solana.https://www.x402scan.com