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 for the x402 protocol, built by Merit Systems. Given a wallet address in the URL path, the endpoint returns metrics such as transaction count, total transfer amount, and unique recipients for that wallet's outgoing x402 transfers.
The endpoint supports optional query parameters to filter by chain (Base or Solana) and timeframe (1, 7, 14, or 30 days lookback). It is a GET request that costs $0.01 per call, paid via the x402 micropayment protocol using USDC. The broader x402scan API offers a suite of similar data endpoints covering merchants, facilitators, resources, and full-text search across the x402 ecosystem.
Note: The specific URL being listed includes a hardcoded wallet address (0x87cb56dd002d423213811020e93fbb8632f3c6fd). The generic pattern is /api/x402/wallets/{address}/stats. During probing, this specific address returned 404, which may indicate the wallet has no indexed data or the path format differs from the OpenAPI-documented /api/x402/wallets/{address}/stats route (the probed URL uses /api/data/wallets/ instead of /api/x402/wallets/). The canonical endpoint documented in the OpenAPI spec is /api/x402/wallets/{address}/stats.
Capabilities
Use cases
- —Retrieve aggregate spending stats for a wallet participating in x402 payments
- —Monitor a wallet's x402 transaction count and volume over configurable timeframes
- —Compare wallet activity across Base and Solana chains
- —Build dashboards tracking x402 ecosystem wallet behavior
- —Audit outgoing x402 micropayments for a specific address
Fit
Best for
- —Agents needing on-chain x402 payment analytics per wallet
- —Developers building x402 ecosystem monitoring tools
- —Analysts tracking micropayment adoption across Base and Solana
Not for
- —General-purpose blockchain explorers (only covers x402 protocol transfers)
- —Querying non-x402 token transfers or NFT activity
- —Free/unauthenticated bulk data access (each call costs $0.01 via x402)
Quick start
curl -H "X-Payment: <x402_payment_header>" \
"https://www.x402scan.com/api/x402/wallets/0x87cb56dd002d423213811020e93fbb8632f3c6fd/stats?chain=base&timeframe=7"Endpoint
Quality
The OpenAPI spec is well-documented with clear parameters and pricing, but the probed endpoint URL (/api/data/wallets/...) returned 404 on both GET and POST, and differs from the OpenAPI-documented path (/api/x402/wallets/...). No response schema or example responses are provided. The endpoint may work at the canonical path but could not be confirmed live at the listed URL.
Warnings
- —The listed endpoint URL uses /api/data/wallets/ but the OpenAPI spec documents /api/x402/wallets/{address}/stats — the probed URL may be incorrect or deprecated.
- —Probe returned 404 on both GET and POST; the endpoint was not confirmed live at this specific URL.
- —No response schema or example response is available in the OpenAPI spec.
- —The listed URL contains a hardcoded wallet address; the generic endpoint pattern is /api/x402/wallets/{address}/stats.
Citations
- —The endpoint costs $0.01 per call via x402 micropaymenthttps://www.x402scan.com
- —Supports chain filter (base, solana) and timeframe (1, 7, 14, 30 days) query parametershttps://www.x402scan.com
- —x402scan is described as a payment data explorer and registry for the x402 protocol, built by Merit Systemshttps://www.x402scan.com
- —The OpenAPI-documented path is /api/x402/wallets/{address}/stats, not /api/data/wallets/{address}/statshttps://www.x402scan.com