# AllTheBot Base ERC-20 Allowance

> AllTheBot Base ERC-20 Allowance is a paid API for AI agents from velux.taild4d007.ts.net:8443, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Returns the ERC-20 token allowance granted by an owner address to a spender address on the Base network

## Facts

- Endpoint: GET https://velux.taild4d007.ts.net:8443/x402/base/allowance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-base-erc-20-allowance-92439643
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rpJjuoBZpul5T2Pg7q9GU

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 allthebot-base-erc-20-allowance-92439643
```

Example prompt: Check how much USDC (0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA) the Uniswap router (0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24) is allowed to spend from my wallet 0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234 on Base.

## When to prefer this

Use this endpoint when you need a live, on-chain read of an ERC-20 allowance on Base L2 specifically, pay-per-call with no API key or account setup. Prefer it for one-off agent tasks, DeFi security checks, or when you want to verify approvals programmatically without setting up an RPC provider. If you need allowance data on other chains (Ethereum mainnet, Polygon, etc.) you will need a different service.

## Known failure modes

- Invalid Ethereum address format (not matching 0x + 40 hex chars) returns a validation error
- Token address is not a valid ERC-20 contract on Base — may return zero or an RPC error
- Owner or spender address is valid format but has no on-chain history — returns zero allowance
- Base RPC node temporarily unavailable — service returns a timeout or 5xx error
- Missing required fields (owner, token, or spender) causes a 400 bad request

## How this service works

ERC-20 allowance / token approval check on Base: how much a spender can spend for an owner, with unlimited-approval detection.

## Output

A JSON object containing the current ERC-20 allowance amount that the owner has granted to the spender for the specified token on the Base network, along with the network identifier and the queried addresses.

## 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",
     "required": [
      "owner",
      "spender",
      "token"
     ],
     "properties": {
      "owner": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      },
      "spender": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "...": "...",
  "network": "base"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-base-erc-20-allowance-92439643/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from velux.taild4d007.ts.net:8443](https://www.zero.xyz/host/velux.taild4d007.ts.net%3A8443/llms.txt)
