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 transfer amount, and unique recipients. The data 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 on-chain x402 micropayment transfers across Base and Solana, tracking merchants, buyers, facilitators, and resources. The broader API suite includes endpoints for merchant stats, facilitator stats, transaction histories, resource search, and a registry for x402-protected resources.
Pricing is $0.01 per request, paid via the x402 micropayment protocol (USDC). Note that the specific URL in this listing embeds a hardcoded wallet address (0x2c37e76f1b34177acdf58aca960b0498e845c116); the general-purpose endpoint pattern is /api/x402/wallets/{address}/stats. The probe returned 404 for the exact URL tested, but the OpenAPI spec documents the parameterized path as a live endpoint. The 404 may indicate the specific address has no indexed data, or the URL path format differs slightly from the OpenAPI route (/api/x402/ vs /api/data/).
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 x402 protocol adoption per wallet
- —Audit an agent's cumulative x402 micropayment spend
Fit
Best for
- —Developers building analytics on x402 protocol usage
- —AI agents that need to check their own spending history
- —Researchers studying x402 micropayment adoption metrics
Not for
- —General-purpose blockchain explorers needing non-x402 transaction data
- —Querying wallets on chains other than Base or Solana
- —Free/unauthenticated bulk data export
Quick start
curl -H "X-Payment: <x402_payment_header>" \
"https://www.x402scan.com/api/x402/wallets/0x2c37e76f1b34177acdf58aca960b0498e845c116/stats?chain=base&timeframe=7"Endpoint
Quality
The OpenAPI spec is well-documented with clear parameters and pricing, but the probed endpoint returned 404 (possibly due to URL path mismatch: /api/data/ vs /api/x402/). No response schema or example responses are provided. No dedicated docs page exists.
Warnings
- —Probe returned 404 on both GET and POST — the listed URL uses /api/data/wallets/ but the OpenAPI spec documents /api/x402/wallets/{address}/stats. The correct base path may differ.
- —No response schema is documented in the OpenAPI spec; response structure must be inferred.
- —The hardcoded wallet address in the listing URL may not have indexed data, which could also explain the 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 a payment data explorer and registry for the x402 protocol, built by Merit Systemshttps://www.x402scan.com
- —The OpenAPI spec documents the endpoint as /api/x402/wallets/{address}/statshttps://www.x402scan.com