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 payment ecosystem. Given a wallet address, it reports metrics such as transaction count, total transfer amount, and unique recipients. The data covers x402 protocol USDC transfers 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, a payment data explorer and analytics dashboard for the x402 protocol built by Merit Systems. x402scan indexes on-chain x402 micropayment transfers and exposes them through a suite of paid API endpoints. This particular endpoint costs $0.01 per request, payable via the x402 micropayment protocol. The broader x402scan API also offers endpoints for merchant stats, buyer/seller leaderboards, facilitator analytics, resource registry, full-text resource search, and a USDC send function.
Note: The probe returned HTTP 404 for this specific URL path, which uses the 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 legacy or incorrect path prefix (`/api/data/` vs `/api/x402/`). Callers should use the `/api/x402/wallets/{address}/stats` path as documented in the OpenAPI specification.
Capabilities
Use cases
- —Retrieve aggregate payment statistics for a specific wallet address in the x402 ecosystem
- —Monitor a wallet's x402 spending activity over configurable time windows
- —Compare wallet activity across Base and Solana chains
- —Build dashboards tracking agent or user spending patterns on x402 APIs
Fit
Best for
- —Agents needing to audit their own x402 spending history
- —Analytics tools monitoring x402 protocol adoption per wallet
- —Developers building wallet-level reporting for x402 micropayments
Not for
- —General-purpose blockchain explorers (covers only x402 USDC transfers, not all on-chain activity)
- —Free or unauthenticated bulk data access (every call costs $0.01 via x402)
Quick start
curl -H "X-Payment: <x402_payment_header>" \
"https://www.x402scan.com/api/x402/wallets/0x7385b3de50a9839a7b22c4c4602168da9247706e/stats?chain=base&timeframe=7"Endpoint
Quality
The OpenAPI spec is thorough with clear parameter definitions and pricing, but the probed URL returned 404 (likely wrong path prefix /api/data/ vs /api/x402/). No response schema or example responses are documented. No dedicated docs page exists.
Warnings
- —Probed endpoint path /api/data/wallets/{address}/stats returned 404; the OpenAPI spec documents the endpoint at /api/x402/wallets/{address}/stats instead — the listed URL may be incorrect.
- —No response schema or example responses are provided in the OpenAPI spec.
- —No dedicated documentation page found (x402scan.com/docs returns 404).
Citations
- —Endpoint costs $0.01 per call via x402 micropaymenthttps://www.x402scan.com
- —Supports chain filter (base, solana) and timeframe filter (1, 7, 14, 30 days)https://www.x402scan.com
- —x402scan is described as a payment data explorer and registry for the x402 protocol, built by Merit Systemshttps://www.x402scan.com
- —OpenAPI spec documents the wallet stats endpoint at /api/x402/wallets/{address}/statshttps://www.x402scan.com