# Approval Risk Auditor — ERC20 Token Approval Risk Checker

> Approval Risk Auditor — ERC20 Token Approval Risk Checker is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Checks a wallet's outstanding ERC20 token approvals and flags high-risk unlimited approvals granted to unknown or suspicious contracts

## Facts

- Endpoint: POST https://httpay.xyz/api/approval-risk-auditor
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/approval-risk-auditor-erc20-token-approval-risk-checker-a1c45db2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Np_T80DhQ66JfyXM2DAbv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability approval-risk-auditor-erc20-token-approval-risk-checker-a1c45db2 -d '<json body>'
```

Example prompt: Can you audit the ERC20 token approval risks for my wallet 0xAbC1234...5678 on Base and tell me if any unlimited approvals to unknown contracts are flagged as high risk?

## When to prefer this

Use this endpoint when you need to audit a specific wallet's ERC20 token approval exposure on Base for security purposes — particularly to detect unlimited allowances granted to unknown or potentially malicious contracts. Prefer this over generic blockchain explorers when you want a structured, risk-scored output specifically designed for approval security review. Also useful in automated DeFi security workflows.

## Known failure modes

- Invalid wallet address format — returns error if address is not a valid 0x... Ethereum address
- Unsupported chain parameter — returns error if chain is not supported
- No approvals found — wallet may have no outstanding ERC20 approvals to audit
- Network or RPC timeout — on-chain data fetch may fail intermittently
- Payment not received — x402 payment flow failure results in 402 response

## How this service works

Approval Risk Auditor — checks a wallet's outstanding ERC20 token approvals for risk. Unlimited approvals to unknown contracts are flagged High risk. Params: ?address=0x...&chain=base. Demo: ?demo=true.

## Output

Returns a risk assessment of the wallet's outstanding ERC20 token approvals, including which approvals are flagged as High risk (e.g. unlimited allowances granted to unknown or unverified contracts), along with descriptions of each flagged approval and the associated contract details.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Approval Risk Auditor — checks a wallet's outstanding ERC20 token approvals for risk. Unlimited approvals to unknown contracts are flagged High risk. Params: ?address=0x...&chain=base. Demo: ?demo=true."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/approval-risk-auditor-erc20-token-approval-risk-checker-a1c45db2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
