S

Spend Permission Auditor · Spend Audit

by Spend Permission Auditor

GETBasePolygon

$0.05

per call · USD Coin on Base

🆕 Base Account spend permissions let an app or agent spend a scoped, recurring allowance from a wallet — the primitive behind autonomous agent payments on Base. This reconstructs a wallet's ACTIVE spend permissions from onchain approve/revoke events and flags the dangerous ones: unlimited allowance, no expiry, unrecognized spender. The Base-native, agent-era drain check that ERC-20 approval tools can't see.

Endpoint

GET https://402.com.tr/api/x402/spend-audit

4

Calls / 30d

1

Unique payers / 30d

Sep 5

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://402.com.tr/api/x402/spend-audit", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://402.com.tr/api/x402/spend-audit?wallet=0x973a31858f4d2125f48c880542da11a2796f12d6" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "activeCount": 0,
  "checkedAt": "2026-09-05T10:06:57.270Z",
  "highRiskCount": 0,
  "permissionsCount": 0,
  "verdict": "none",
  "wallet": "0x973a31858f4d2125f48c880542da11a2796f12d6"
}

Payment details

Pay to0x973a31858f4d2125f48c880542da11a2796f12d6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Polygon
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Spend Permission Auditor & similar services