# ERC20 Allowance Checker (Multi-Chain)

> ERC20 Allowance Checker (Multi-Chain) is a paid API for AI agents from api.axiomworks.co.uk, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-12).

Fetches ERC20 token allowance, unlimited flag, owner balance, and spendable amount for a given owner-spender pair on multiple EVM chains.

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/allowance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc20-allowance-checker-multi-chain-9e353e17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6FMIZfcvQ0J8smH_p9NtV

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 erc20-allowance-checker-multi-chain-9e353e17
```

Example prompt: Before I execute the swap, check whether the Uniswap router (0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD) is approved to spend my USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) on behalf of my wallet (0xAbCd...1234) on Ethereum, and tell me the allowance, whether it's unlimited, and how much I can actually spend right now.

## When to prefer this

Use this endpoint when an AI agent needs to check ERC20 approval status before executing transferFrom, Permit, or x402 payment flows, or when auditing existing approvals for security hygiene. It is especially useful for multi-chain DeFi workflows where knowing both the allowance and the spendable-now amount (min of allowance and balance) is needed in a single call. Prefer this over raw RPC calls when you need a normalized, human-readable response with the unlimited flag computed automatically.

## Known failure modes

- Invalid or non-checksummed address returns a 400 error
- Unsupported chain name returns a validation error
- Token address is not an ERC20 contract — call may fail or return zero allowance
- RPC node unavailability causes a timeout or 500 error
- Owner balance may be null if token contract does not support balanceOf standard

## How this service works

Use this before transferFrom/x402/Permit flows or for approval hygiene: ERC20 allowance owner→spender, unlimited flag, owner balance and spendable-now amount. Multi-chain. Example: {token, owner, spender, chain:"base"}. $0.002.

## Output

Returns the approved allowance as a human-readable string, a boolean flag indicating whether the allowance is effectively unlimited, the raw allowance in wei, the owner's token balance (if available), and the spendable-now amount (the minimum of allowance and balance).

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token",
      "owner",
      "spender"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "EVM chain (default base)"
      },
      "owner": {
       "type": "string",
       "description": "0x token holder"
      },
      "token": {
       "type": "string",
       "description": "0x ERC20 token"
      },
      "spender": {
       "type": "string",
       "description": "0x approved spender (router, Permit2, x402 facilitator…)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "allowance": {
       "type": "string"
      },
      "unlimited": {
       "type": "boolean"
      },
      "allowance_raw": {
       "type": "string"
      },
      "owner_balance": {
       "type": [
        "string",
        "null"
       ]
      },
      "spendable_now": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc20-allowance-checker-multi-chain-9e353e17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.axiomworks.co.uk](https://www.zero.xyz/host/api.axiomworks.co.uk/llms.txt)
