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. Given a wallet address, it reports metrics such as transaction count, total transfer volume, and unique recipients. The data covers x402 micropayment transfers where the queried wallet acted as the sender. 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, an analytics dashboard and block explorer for the x402 protocol, built by Merit Systems. x402scan indexes on-chain x402 payment activity across Base and Solana and exposes it through a suite of paid data endpoints. Each data query costs $0.01 in USDC, paid via the x402 micropayment protocol (HTTP 402 challenge/response with an X-Payment header). The specific endpoint listed here queries stats for wallet address 0x6B173bf632a7Ee9151e94E10585BdecCd47bDAAf, though the underlying API is parameterized by address.
Note: During probing, this endpoint returned HTTP 404 rather than the expected 402 payment challenge. The URL path uses `/api/data/wallets/` while the OpenAPI spec documents the path as `/api/x402/wallets/{address}/stats`. The listed endpoint may use a deprecated or incorrect path prefix. The canonical endpoint per the OpenAPI spec is `https://www.x402scan.com/api/x402/wallets/{address}/stats`.
Capabilities
Use cases
- —Retrieve aggregate spending stats for a wallet participating in x402 micropayments
- —Monitor how much a specific wallet has spent via x402 over a given timeframe
- —Identify unique merchants/recipients a wallet has transacted with
- —Compare wallet activity across Base and Solana chains
- —Build dashboards tracking x402 ecosystem participation
Fit
Best for
- —Agents that need to audit or summarize x402 spending for a wallet
- —Analytics pipelines monitoring x402 protocol adoption
- —Developers building x402-aware wallet UIs or dashboards
Not for
- —Querying non-x402 on-chain transactions (standard ERC-20 transfers, NFTs, etc.)
- —Free/unauthenticated access — requires x402 micropayment per call
- —High-frequency polling — each call costs $0.01
Quick start
# Canonical path per OpenAPI spec (the /api/data/ path may be stale)
curl -H "X-Payment: <x402-payment-token>" \
"https://www.x402scan.com/api/x402/wallets/0x6B173bf632a7Ee9151e94E10585BdecCd47bDAAf/stats?chain=base&timeframe=7"Endpoint
Quality
The probed endpoint URL (/api/data/wallets/…) returned 404, not the expected 402 challenge, suggesting the listed path is incorrect or deprecated. The OpenAPI spec documents the canonical path as /api/x402/wallets/{address}/stats. No response schema or example responses are provided in the spec. Pricing and parameters are well-documented via OpenAPI, but liveness of this specific URL is unconfirmed.
Warnings
- —Endpoint returned 404 on both GET and POST — the URL path /api/data/wallets/ does not match the OpenAPI-documented path /api/x402/wallets/{address}/stats. The listed URL may be incorrect or deprecated.
- —No response schema or example responses are available in the OpenAPI spec.
- —This listing is for a single hardcoded wallet address; the underlying API is parameterized by {address}.
Citations
- —The endpoint costs $0.01 per call, paid via x402 micropaymenthttps://www.x402scan.com
- —The canonical API path is /api/x402/wallets/{address}/stats with chain and timeframe query parametershttps://www.x402scan.com
- —x402scan is described as 'the x402 analytics dashboard and block explorer' built by Merit Systemshttps://www.x402scan.com
- —Supports filtering by chain (base, solana) and timeframe (1, 7, 14, or 30 days)https://www.x402scan.com
- —x402scan indexes x402 payment data across Base and Solana chainshttps://www.x402scan.com