Approval Risk Checker
$0.01/reqPOST /services/approval-risk
Lists ERC-20 spender approvals for a wallet via Moralis (preferred) or bounded Alchemy log analysis, flags unlimited and stale approvals, and recommends what to revoke.
call it — the quote comes back in one round trip
curl -X POST https://api.1cent.sivaram.dev/services/approval-risk \
-H 'content-type: application/json' \
-d '{"chainId":1,"walletAddress":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}'This returns 402 Payment Required with exact terms. Clients like @x402/fetch sign the quote and retry automatically, paying $0.01 — no other setup exists.
Providers
- Moralis Token Approvalsprimary
- Alchemy (log analysis)fallback
Every response names the providers it consulted, with per-call status, so you can weigh the evidence.
Response fields
- approvals
- unlimitedCount
- recommendations
- coverage
- warnings
Guardrails
- read-only
- ERC-20 approvals only in V1
- bounded block range on the Alchemy path
Pricing note
Requires a Moralis or Alchemy key. The Alchemy fallback scans a bounded recent block range, so coverage is partial.
machine-readable detail: GET /services/approval-risk