Aggregate wallet stats (tx count, volume, unique recipients) from the x402 protocol 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 0x0738e28593841baae66e401932f2f0b8606cfc79), it provides metrics such as transaction count, total transfer volume, and unique recipients. The data covers x402 protocol micropayments on Base and Solana chains.
The endpoint is part of x402scan, an analytics dashboard and block explorer for the x402 protocol built by Merit Systems. It is one of several data endpoints that together cover wallets, merchants, facilitators, and resource discovery. Each data query costs $0.01 in USDC via the x402 micropayment protocol, except full-text search which costs $0.02. Optional query parameters let you filter by chain (base or solana) and timeframe (1, 7, 14, or 30 days lookback).
Note: The probe returned 404 for this specific URL, which uses the path pattern `/api/data/wallets/{address}/stats`. However, the OpenAPI spec documents the equivalent endpoint at `/api/x402/wallets/{address}/stats`. The listed URL may use a deprecated path prefix (`/api/data/` vs `/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 wallet participating in x402 micropayments
- —Monitor a wallet's x402 spending activity over configurable time windows (1, 7, 14, or 30 days)
- —Compare wallet activity across Base and Solana chains
- —Build dashboards tracking agent or buyer spending in the x402 ecosystem
- —Audit x402 micropayment outflows from a particular address
Fit
Best for
- —Developers building analytics on top of the x402 micropayment protocol
- —AI agents that need to inspect their own or others' x402 spending history
- —Researchers studying x402 ecosystem adoption and payment flows
Not for
- —General-purpose blockchain explorers — this only covers x402 protocol transfers
- —Looking up arbitrary ERC-20 or SOL token balances unrelated to x402
Quick start
curl -H 'X-Payment: <x402_payment_header>' \
'https://www.x402scan.com/api/x402/wallets/0x0738e28593841baae66e401932f2f0b8606cfc79/stats?chain=base&timeframe=7'Endpoint
Quality
The OpenAPI spec is well-documented with clear parameters, pricing, and guidance. However, the probed URL returned 404 (likely a stale /api/data/ path vs the canonical /api/x402/ path), no response schema is provided, and no example responses are available. The endpoint is likely live at the canonical path but could not be confirmed.
Warnings
- —Probed URL uses /api/data/wallets/ path which returned 404; the OpenAPI spec documents the endpoint at /api/x402/wallets/{address}/stats — the listed URL may be outdated or incorrect.
- —No response schema is documented in the OpenAPI spec — response structure must be inferred.
- —No example response data is available from crawl or probe.
Citations
- —The endpoint costs $0.01 per call via x402 micropaymenthttps://www.x402scan.com
- —x402scan is described as 'the x402 analytics dashboard and block explorer'https://www.x402scan.com
- —The OpenAPI spec documents wallet stats at /api/x402/wallets/{address}/stats with chain and timeframe parametershttps://www.x402scan.com
- —x402scan is built by Merit Systemshttps://www.x402scan.com