Recipe 21 of 32
How much USDC was paid to an x402 server (AI-agent payments) on Base?
Pass the server's payTo address to /wallets/{address}?chain=base for the USD it received per window, and list the USDC payments themselves with /wallets/{address}/transactions.
An x402 server is paid in USDC sent to its payTo address. GET /v1/onchain/wallets/{address}?chain=base with that address
returns total_inflow in USD for 24h, 7d, 30d, 90d and all time. /wallets/{address}/transactions with the USDC
contract and direction=in lists the payments one by one. The example uses a payTo address taken from the public
x402 discovery listing. The parameters are on Wallet summary and Wallet transactions.
Quick answer
# USD received by an x402 server's payTo address on Base, per window
curl -H "X-API-Key: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xe9030014F5DAe217d0A152f02A043567b16c1aBf?chain=base"Example response
Captured from the live API on 2026-10-24 at 17:18 UTC, trimmed to 3 of the 5 windows.
total_inflow is the USD that arrived: $115.44 in the 24h window, $377.24 over 7 days and $1,562.52 over 30 days.
total_outflow of $8,001.00 over 30 days is money the operator moved out. tx_count counts transfers in both
directions, unpriced spam tokens included, so 7,141 is not the number of paid requests.
{
"chain": "base",
"30d": {
"total_volume": 9563.51632,
"total_inflow": 1562.51632,
"total_outflow": 8001.0,
"net_flow": -6438.48368,
"tx_count": 104611,
"tokens_traded": 152,
"first_seen": "2025-12-26",
"last_active": "2026-10-24"
},
"7d": {
"total_volume": 377.244725,
"total_inflow": 377.244725,
"total_outflow": 0.0,
"net_flow": 377.244725,
"tx_count": 24561,
"tokens_traded": 152,
"first_seen": "2025-12-26",
"last_active": "2026-10-24"
},
"24h": {
"total_volume": 115.438542,
"total_inflow": 115.438542,
"total_outflow": 0.0,
"net_flow": 115.438542,
"tx_count": 7141,
"tokens_traded": 152,
"first_seen": "2025-12-26",
"last_active": "2026-10-24"
}
}Variations
The payments themselves. List the USDC transfers into the address, newest first.
# the newest USDC payments to the server on Base
curl -H "X-API-Key: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xe9030014F5DAe217d0A152f02A043567b16c1aBf/transactions?chain=base&direction=in&token_address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913&days=30&limit=5"Captured from the live API on 2026-10-24 at 17:18 UTC, trimmed to 3 of 5 rows.
[
{
"time": "2026-10-24T17:13:09",
"tx_hash": "0xe76e48b96953a411f29e0c5e4f3d181efc68d12c515694686b3723df24a96a44",
"usd": 0.01908,
"block": 53036321,
"from_address": "0x74198a1cbff00d2c44957aa27e0fb0f66493a9f1",
"to_address": "0xe9030014f5dae217d0a152f02a043567b16c1abf",
"token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"direction": "in"
},
{
"time": "2026-10-24T17:04:07",
"tx_hash": "0x2ada8fd6eef5727d964a6dc334144a09672adfc4373120b0f3d2c110c20d7d42",
"usd": 0.002,
"block": 53036050,
"from_address": "0xcc8c44ad3dc2a58d841c3eb26131e49b22665ef8",
"to_address": "0xe9030014f5dae217d0a152f02a043567b16c1abf",
"token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"direction": "in"
},
{
"time": "2026-10-24T17:04:05",
"tx_hash": "0x0428a125277d55a997f5c79e3f1c3784b820e5de39fa914c06b550f20ace845e",
"usd": 0.011,
"block": 53036049,
"from_address": "0xcc8c44ad3dc2a58d841c3eb26131e49b22665ef8",
"to_address": "0xe9030014f5dae217d0a152f02a043567b16c1abf",
"token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"direction": "in"
}
]Only payments of 1 USD or more. min_usd drops the smaller transfers.
# USDC payments of at least 1 USD over 30 days
curl -H "X-API-Key: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xe9030014F5DAe217d0A152f02A043567b16c1aBf/transactions?chain=base&direction=in&token_address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913&min_usd=1&days=30&limit=500"Who pays the most. The counterparties ranking shows the biggest payers by USD, with received_usd from the server's side.
# the server's top counterparties on Base over 30 days
curl -H "X-API-Key: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xe9030014F5DAe217d0A152f02A043567b16c1aBf/counterparties?chain=base&window=30d&limit=20"Before you rely on it
Inflow counts every priced token from every sender
total_inflow sums every priced token the address received, not only USDC, and every sender, not only x402
clients. The API cannot tell an x402 payment from a plain USDC transfer to the same address. For USDC alone, use
the transfer list with token_address.
500 payments per call, newest first
The transfer list stops at 500 rows and has no cursor. This address counted 7,141 transfers in its 24h window, so 500 rows cover a few hours. Take totals from the summary and use the list for samples and payers.
24h means yesterday and today
Windows are counted in whole UTC calendar days. The 24h block runs from midnight UTC yesterday to now, and the 7d block covers today plus the 7 days before.
Ask your agent
Connected to the Vike MCP server (https://vike.io/mcp) in Claude, ChatGPT or Cursor, ask it in plain words.
The wallet_summary tool (2 credits) answers it, and wallet_transactions (2 credits) lists the payments.
How much USD did 0xe9030014F5DAe217d0A152f02A043567b16c1aBf receive on Base in the last 7 days?