Aggregate wallet stats (tx count, volume, unique recipients) from the x402scan payment explorer for $0.01 per call.
What it does
This endpoint returns aggregate statistics for a specific wallet address within the x402 protocol ecosystem. Given a wallet address, it reports metrics such as transaction count, total transfer amount, and unique recipients. The data covers x402 micropayment transfers on both 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 micropayment transfers made through x402-compatible facilitators (Coinbase, PayAI, Meridian, and others). The specific URL in this listing is parameterized with a fixed wallet address (0x47b31f12352c03feb5960e3f2327a7d9bf875bd0), but the same pattern applies to any wallet address via `/api/x402/wallets/{address}/stats`.
Payment is handled via the x402 protocol itself: each call costs $0.01 USD, paid as a USDC micropayment attached in the X-Payment header. No API key or subscription is required. The OpenAPI spec documents the endpoint clearly, though response schemas are not provided — only a 200 success and 402 payment-required status are documented.
Capabilities
Use cases
- —Retrieve aggregate spending stats for a wallet participating in x402 micropayments
- —Monitor a wallet's transaction count and volume over configurable timeframes
- —Compare wallet activity across Base and Solana chains
- —Build dashboards tracking x402 protocol adoption per wallet
Fit
Best for
- —Agents needing on-chain x402 payment analytics for a specific wallet
- —Developers building x402 ecosystem monitoring tools
- —Researchers analyzing micropayment protocol usage patterns
Not for
- —General-purpose blockchain explorers (only covers x402 USDC transfers, not all on-chain activity)
- —Wallets or addresses not participating in the x402 protocol
Quick start
curl -X GET "https://www.x402scan.com/api/data/wallets/0x47b31f12352c03feb5960e3f2327a7d9bf875bd0/stats?chain=base&timeframe=7" \
-H "X-Payment: <x402_payment_token>"Endpoint
Quality
The OpenAPI spec documents the wallet stats endpoint well with parameters and pricing, but the probed URL (/api/data/wallets/...) returned 404 on both GET and POST — it differs from the documented path (/api/x402/wallets/.../stats), suggesting the listing URL may be stale or an alternate route. No response schema or example responses are provided. No dedicated docs page exists.
Warnings
- —The probed endpoint at /api/data/wallets/{address}/stats returned 404 on both GET and POST. The OpenAPI spec documents the equivalent endpoint at /api/x402/wallets/{address}/stats instead — the listing URL may use a deprecated or incorrect path prefix.
- —No response schema is documented in the OpenAPI spec; the shape of the returned JSON is unknown.
- —No example responses are available from the probe or crawl material.
Citations
- —The endpoint costs $0.01 per call via x402 micropaymenthttps://www.x402scan.com
- —x402scan is described as a payment data explorer and registry for the x402 protocol, built by Merit Systemshttps://www.x402scan.com
- —Wallet stats endpoint supports chain (base, solana) and timeframe (1, 7, 14, 30 days) query parametershttps://www.x402scan.com
- —The OpenAPI-documented path is /api/x402/wallets/{address}/stats, not /api/data/wallets/{address}/statshttps://www.x402scan.com