82trust / 100

X402 Spend Report

by denk.halowerk.com in Onchain & crypto

x402 APIPassing, checked 1 h ago

Report the USDC or EURC outflows of an agent wallet on Base for the last 1–72 hours, grouped by recipient and UTC day. Queries Transfer events from the wallet on Base mainnet via public RPC in 10,000-block windows and sums them by recipient and by UTC day. Timestamps are derived from block numbers using the fixed 2-second Base block time, anchored at the latest block (or at to_block for a fixed historical window). Covers token transfers only (no ETH gas).

POST
https://denk.halowerk.com/v1/x402-spend-report
Price
$0.003
per call in USDC
Uptime
98.3%
last 30 days
Response time
151 ms
258 ms slowest 5%
Last check
Passed
1 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://denk.halowerk.com/v1/x402-spend-report

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://denk.halowerk.com/v1/x402-spend-report
content-type: application/json

{
  "hours": 24,
  "wallet": "0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"
}

Parameters

ParameterTypeRequiredDescription
assetstringNo One of: USDC, EURC. Default: "USDC".
hoursintegerNo Default: 24.
to_blockintegerNo
walletstringYes

Example response

The provider's example. We can't check it without paying.

Example response, 103 lines
{
  "result": {
    "asset": "USDC",
    "by_day": [
      {
        "amount": "0.21",
        "day": "2026-11-18"
      },
      {
        "amount": "0.223",
        "day": "2026-11-19"
      }
    ],
    "by_recipient": [
      {
        "amount": "0.433",
        "count": 103,
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e"
      }
    ],
    "from_block": 59512223,
    "hours": 24,
    "method": "eth_getLogs in 10,000-block windows; time = latest block time minus 2 s per block",
    "to_block": 59555423,
    "total": "0.433",
    "transfers": [
      {
        "amount": "0.005",
        "block": 59513241,
        "time": "2026-11-18T15:51:36.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0xb6d4e8e2a2e541ef3c50a9b377195a998b06a0db45ebd38b82e9e8dd9b8935b7"
      },
      {
        "amount": "0.005",
        "block": 59513241,
        "time": "2026-11-18T15:51:36.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0x0676b2ab5d528c74ea3161b677a98a1480bacd333be901480fc74cffb3083b33"
      },
      {
        "amount": "0.005",
        "block": 59513256,
        "time": "2026-11-18T15:52:06.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0xc83fff5d7bef07eb4cf713b60d6556c0dd26910889a14f06827f7224a8c336c3"
      },
      {
        "amount": "0.005",
        "block": 59513257,
        "time": "2026-11-18T15:52:08.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0x08fd39ef9161369688cd3a04c2f9a4a83259f80a266d285aca410e94814782c0"
      },
      {
        "amount": "0.005",
        "block": 59513268,
        "time": "2026-11-18T15:52:30.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0x5a8e6edbac321e51b06e3bbec3cbc835fb48cf62a509b146670df5c8fe787a45"
      },
      {
        "amount": "0.005",
        "block": 59513279,
        "time": "2026-11-18T15:52:52.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0xfbdfedd9b4f8deb14c9b30185ee919c7fd55f9bf10b4184ea3e04de8d8d7fe94"
      },
      {
        "amount": "0.005",
        "block": 59516239,
        "time": "2026-11-18T17:31:32.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0xcddb78adf5f101a287d3487fc8963f290d6ac2783a5dedf532070af449f33762"
      },
      {
        "amount": "0.005",
        "block": 59516250,
        "time": "2026-11-18T17:31:54.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0xff5cc6a83e016d4b906c3908fa589a455bef6bb92af70e7b680e08e7be2184e3"
      },
      {
        "amount": "0.005",
        "block": 59516259,
        "time": "2026-11-18T17:32:12.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0x826edc64dd50393a9152013495af1a93539e16d8769b069d730fade7675521c1"
      },
      {
        "amount": "0.005",
        "block": 59516268,
        "time": "2026-11-18T17:32:30.000Z",
        "to": "0x2880edfff13100677bf97a3cbdf3bc34771c4e5e",
        "tx_hash": "0x0d8241b57fccd3d42fa7d0ceecb32337e0d0d9b2b2f1cc3996f6f21812bb185b"
      }
    ],
    "transfers_count": 103,
    "wallet": "0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"
  },
  "service": "x402-spend-report",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://denk.halowerk.com/v1/x402-spend-report' \
  -H 'content-type: application/json' \
  --data-raw '{"hours":24,"wallet":"0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://denk.halowerk.com/v1/x402-spend-report' \
  -H 'content-type: application/json' \
  --data-raw '{"hours":24,"wallet":"0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdenk.halowerk.com%2Fv1%2Fx402-spend-report&method=POST
const res = await pay("https://denk.halowerk.com/v1/x402-spend-report", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "hours": 24,
    "wallet": "0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://denk.halowerk.com/v1/x402-spend-report",
        json={
            "hours": 24,
            "wallet": "0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402131 ms$0.003
15 h agoPassed402122 ms$0.003
3 days agoTimed out---
4 days agoPassed402127 ms$0.003
4 days agoPassed402140 ms$0.003
Show 10 older checks
5 days agoPassed402124 ms$0.003
5 days agoPassed402128 ms$0.003
6 days agoPassed402131 ms$0.003
6 days agoPassed402131 ms$0.003
6 days agoPassed402157 ms$0.003
7 days agoPassed402556 ms$0.003
7 days agoPassed402141 ms$0.003
7 days agoPassed402131 ms$0.003
7 days agoPassed402206 ms$0.003
8 days agoPassed402125 ms$0.003