Aggregate wallet stats (tx count, volume, unique recipients) for any x402 address, $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 the URL path, it returns metrics such as transaction count, total amount sent, and unique recipients. Results can be filtered by chain (Base or Solana) and by 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 USDC micropayment transfers across Base and Solana chains and exposes them via a suite of paid data endpoints. This particular wallet stats endpoint costs $0.01 per request, paid via the x402 micropayment protocol. The broader x402scan API also offers endpoints for merchant stats, transaction histories, facilitator analytics, resource registry, and full-text search across registered x402 resources.
Note: The probe returned 404 for this specific endpoint 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 legacy or alternate path prefix (`/api/data/` vs `/api/x402/`). The OpenAPI-documented path at `/api/x402/wallets/{address}/stats` is the canonical route and should be preferred.
Capabilities
Use cases
- —Retrieve aggregate payment statistics for a specific wallet address participating in x402 micropayments
- —Monitor a wallet's x402 spending activity over configurable time windows (1, 7, 14, or 30 days)
- —Filter wallet stats by chain (Base or Solana) to analyze cross-chain payment behavior
- —Build dashboards or alerts around x402 wallet activity metrics
Fit
Best for
- —Agents or apps that need quick aggregate stats on x402 wallet activity
- —Monitoring x402 micropayment spending patterns for a given address
- —Cross-chain analytics across Base and Solana x402 ecosystems
Not for
- —General-purpose blockchain explorer queries unrelated to x402 payments
- —Retrieving raw on-chain transaction data outside the x402 protocol
- —Wallets or addresses not participating in x402 micropayments
Quick start
curl -H "X-Payment: <x402_payment_header>" \
"https://www.x402scan.com/api/x402/wallets/0xb4ad6bb516725ff69594e46c3a7daedf7c473186/stats?chain=base&timeframe=7"Endpoint
Quality
The OpenAPI spec is well-documented with clear parameters, pricing, and endpoint descriptions. However, the probed URL returned 404 (path mismatch between /api/data/ and /api/x402/), no response schema is provided, and no example responses are available. The crawl yielded no dedicated docs page.
Warnings
- —The listed endpoint URL uses /api/data/wallets/ but the OpenAPI spec documents /api/x402/wallets/ — the probed URL returned 404, suggesting the canonical path is /api/x402/wallets/{address}/stats.
- —No response schema is documented in the OpenAPI spec — response structure must be inferred.
- —No example responses are available from the probe or crawl.
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 filter (base, solana) and timeframe filter (1, 7, 14, or 30 days)https://www.x402scan.com
- —The OpenAPI spec documents the wallet stats endpoint at /api/x402/wallets/{address}/statshttps://www.x402scan.com