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 volume, and unique recipients. The data covers x402 micropayment activity on both Base and Solana chains, with optional filtering by chain and timeframe (1, 7, 14, or 30 days lookback).
The endpoint is part of x402scan, an analytics dashboard and block explorer for the x402 protocol built by Merit Systems. x402scan indexes on-chain x402 micropayment transfers and exposes them through a suite of paid data endpoints. This particular endpoint costs $0.01 per request, payable via the x402 protocol. The broader x402scan API also offers merchant stats, facilitator analytics, resource search, transaction history, and a registry for x402-protected resources.
Note: The probe returned HTTP 404 for this specific URL path, which uses the older `/api/data/wallets/` prefix. The OpenAPI spec documents the equivalent endpoint at `/api/x402/wallets/{address}/stats`. The listed URL may be a legacy path that has been superseded. Callers should prefer the `/api/x402/wallets/{address}/stats` path documented in the OpenAPI specification.
Capabilities
Use cases
- —Retrieve aggregate spending stats for a wallet participating in x402 micropayments
- —Monitor transaction volume and unique recipient counts for a given address over configurable timeframes
- —Build dashboards tracking x402 ecosystem wallet activity on Base or Solana
- —Audit a wallet's x402 micropayment history for compliance or reporting
Fit
Best for
- —Agents needing on-chain x402 micropayment analytics per wallet
- —Developers building x402 ecosystem monitoring tools
- —Researchers analyzing x402 protocol adoption and usage patterns
Not for
- —General-purpose blockchain explorers covering non-x402 transactions
- —Real-time streaming of individual transactions (use the transactions endpoint instead)
- —Wallets or addresses not participating in the x402 protocol
Quick start
curl -X GET "https://www.x402scan.com/api/x402/wallets/0x22fedf150ac33cfed8c74226f5ebc656955f3db2/stats?chain=base&timeframe=30" \
-H "X-Payment: <x402-payment-token>"Endpoint
Quality
The OpenAPI spec is thorough with clear parameter definitions and pricing, but the probed URL returned 404 (likely a legacy path vs. the documented /api/x402/ prefix). No response schema or example responses are provided. The endpoint is likely live at the canonical path but could not be confirmed at the listed URL.
Warnings
- —Probe returned HTTP 404 at the listed /api/data/wallets/ path; the OpenAPI spec documents the equivalent at /api/x402/wallets/{address}/stats — the listed URL may be deprecated or incorrect.
- —No response schema or example response is documented in the OpenAPI spec.
- —No dedicated docs page found (x402scan.com/docs returns 404).
Citations
- —The endpoint costs $0.01 per request via x402 micropaymenthttps://www.x402scan.com
- —Supports chain filter (base, solana) and timeframe filter (1, 7, 14, or 30 days)https://www.x402scan.com
- —x402scan is described as 'the x402 analytics dashboard and block explorer' built by Merit Systemshttps://www.x402scan.com
- —The canonical wallet stats endpoint is documented at /api/x402/wallets/{address}/stats in the OpenAPI spechttps://www.x402scan.com