Aggregate wallet stats (tx count, volume, unique recipients) from the x402 protocol explorer.
What it does
This endpoint returns aggregate statistics for a specific wallet address within the x402 payment ecosystem. It is part of x402scan, a payment data explorer and analytics dashboard built by Merit Systems that indexes x402 protocol transfers on Base and Solana chains.
The wallet stats endpoint (`GET /api/x402/wallets/{address}/stats`) provides summary metrics such as transaction count, total transfer amount, and unique recipients for a given sender address. Results can be filtered by chain (Base or Solana) and by timeframe (1, 7, 14, or 30 days lookback). The endpoint costs $0.01 per call, paid via an x402 micropayment in the `X-Payment` header.
Note: The specific URL listed here hard-codes a particular wallet address (`0xd03795ae4984d922a2dee39f9cc7c9150ce8a253`). The probe returned 404 rather than the expected 402 challenge, which may indicate the URL path uses a slightly different routing pattern (`/api/data/wallets/` vs the documented `/api/x402/wallets/`). The OpenAPI spec documents the canonical path as `/api/x402/wallets/{address}/stats`. x402scan also offers companion endpoints for wallet transactions, merchant stats, facilitator analytics, resource search, and a USDC send function.
Capabilities
Use cases
- —Retrieve aggregate payment statistics for a specific x402 sender wallet
- —Monitor wallet activity over configurable time windows (1/7/14/30 days)
- —Compare wallet behavior across Base and Solana chains
- —Feed wallet-level metrics into agent dashboards or reporting pipelines
- —Audit x402 micropayment spending for a given address
Fit
Best for
- —AI agents needing on-chain x402 payment analytics
- —Developers building dashboards on x402 protocol data
- —Wallet owners wanting aggregate spending summaries
Not for
- —General-purpose blockchain explorers (only covers x402 protocol transfers)
- —Non-x402 token transfer lookups
- —Free/unauthenticated bulk data extraction
Quick start
curl -X GET \
'https://www.x402scan.com/api/x402/wallets/0xd03795ae4984d922a2dee39f9cc7c9150ce8a253/stats?chain=base&timeframe=7' \
-H 'X-Payment: <x402_payment_token>'Endpoint
Quality
Full OpenAPI spec with clear parameter definitions and pricing is available, but the specific probed URL returned 404 (path mismatch: /api/data/ vs /api/x402/). No response schema or example responses are documented. No crawled docs page exists.
Warnings
- —Probed endpoint path (/api/data/wallets/.../stats) returned 404; the OpenAPI spec documents the canonical path as /api/x402/wallets/{address}/stats — the listed URL may be incorrect or outdated.
- —No response schema or example responses are provided in the OpenAPI spec.
- —No dedicated documentation page found (x402scan.com/docs returns 404).
Citations
- —The endpoint costs $0.01 per call via x402 micropaymenthttps://www.x402scan.com
- —Wallet stats endpoint returns aggregate stats: tx count, total amount, unique recipientshttps://www.x402scan.com
- —Supports chain filter (base, solana) and timeframe filter (1, 7, 14, 30 days)https://www.x402scan.com
- —x402scan is built by Merit Systemshttps://www.x402scan.com
- —OpenAPI spec describes canonical path as /api/x402/wallets/{address}/statshttps://www.x402scan.com