# Bot Bazaar ERC-20 Allowance Risk Evaluator

> Bot Bazaar ERC-20 Allowance Risk Evaluator is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Evaluates an ERC-20 token allowance amount to assess unlimited-approval exposure risk compared with zero-allowance EIP-3009 authorizations

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/erc20-allowance-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-erc-20-allowance-risk-evaluator-1ad6ac0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fiMzm6nrhP_y7iGy_deMx

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 bot-bazaar-erc-20-allowance-risk-evaluator-1ad6ac0a
```

Example prompt: Can you check whether an ERC-20 allowance of 115792089237316195423570985008687907853269984665640564039457584007913129639935 atomic units is dangerously close to unlimited approval, and how that compares to a zero-allowance EIP-3009 setup?

## When to prefer this

Choose this endpoint when an AI agent or DeFi application needs to programmatically evaluate whether a given ERC-20 token allowance is dangerously large (i.e., effectively unlimited) versus a minimal EIP-3009 zero-allowance pattern, particularly before executing on-chain transactions or auditing wallet approvals. Prefer this over manual inspection when automating approval risk gates in agent workflows or when building a risk dashboard for Base/EVM wallet activity.

## Known failure modes

- Missing or malformed allowance_atomic query parameter returns validation error
- Non-numeric or negative allowance value causes parse failure
- Payment not included or insufficient USDC causes 402 Payment Required response
- Network timeout on fly.dev infrastructure returns 5xx error
- Allowance value exceeding uint256 bounds triggers overflow error

## How this service works

Evaluate an ERC-20 token allowance amount and spender for unlimited-approval exposure compared with zero-allowance EIP-3009 authorizations.

## Output

Returns a risk evaluation of the provided ERC-20 allowance amount in atomic units, indicating whether the allowance represents unlimited-approval exposure, how it compares to zero-allowance EIP-3009 authorizations, and a structured risk assessment the agent can act on to warn users or block transactions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "allowance_atomic": {
       "type": "string",
       "description": "Approved allowance in atomic units"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-erc-20-allowance-risk-evaluator-1ad6ac0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
