# Webacy Token Approvals with Risk Flags

> Webacy Token Approvals with Risk Flags is a paid API for AI agents from api.webacy.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-31).

Returns a paginated list of active ERC-20/token approvals granted by a wallet address, annotating each spender with risk flags.

## Facts

- Endpoint: GET https://api.webacy.com/addresses/:address/approvals?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webacy-token-approvals-with-risk-flags-b56eba2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9FpiUOnxwCTedJL3aQE9C

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 webacy-token-approvals-with-risk-flags-b56eba2f
```

Example prompt: Can you pull up all the active token approvals for the Ethereum wallet 0xAbc123...def on the eth chain and flag any that have risky spenders?

## When to prefer this

Use this endpoint when you need to enumerate all active token allowances/approvals for a specific wallet and want built-in risk scoring on each spender — ideal for DeFi security audits, pre-transaction checks, or building revoke-approval workflows. Prefer over generic blockchain explorers when you need structured risk annotations rather than raw on-chain data.

## Known failure modes

- Invalid or malformed wallet address returns a 400 or empty result
- Unsupported chain identifier returns an error
- Missing required 'chain' query parameter returns a validation error
- Wallet with no approvals returns an empty list
- Rate limit or payment failure returns a 402 or 429 error
- Network timeout for slow chain RPC responses

## How this service works

Paginated list of active token approvals granted by a wallet address, with risk flags for risky spenders.

## Output

A paginated JSON list of active token approvals for the given wallet, including the approved spender address, token details, allowance amount, and risk flags indicating whether each spender is considered risky or potentially malicious.

## 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"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "address": {
       "type": "string",
       "description": "Wallet address to inspect"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain"
     ],
     "properties": {
      "page": {
       "type": "integer",
       "description": "Page number, 1-indexed"
      },
      "chain": {
       "type": "string",
       "description": "Blockchain network, e.g. eth, bsc, pol, arb, opt, base, sol"
      },
      "pageSize": {
       "type": "integer",
       "description": "Results per page"
      }
     }
    }
   },
   "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/webacy-token-approvals-with-risk-flags-b56eba2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webacy.com](https://www.zero.xyz/host/api.webacy.com/llms.txt)
