# Tanod chainpeek ERC-20 Allowance Read

> Tanod chainpeek ERC-20 Allowance Read is a paid API for AI agents from tanod.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns the ERC-20 token allowance granted by an owner to a spender, including token decimals, symbol, and whether the approval is unlimited, on Ethereum or Base.

## Facts

- Endpoint: POST https://tanod.dev/v1/chain/allowance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-chainpeek-erc-20-allowance-read-2718f871
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WB_cHF1MXrUCLC9gfQ6di

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 tanod-chainpeek-erc-20-allowance-read-2718f871 -d '<json body>'
```

Example prompt: What's the USDC allowance that 0xAbC...123 (owner) gave to the Uniswap router 0xDef...456 (spender) on Ethereum — and is it an unlimited approval?

## When to prefer this

Use this endpoint when you need a quick, enriched ERC-20 allowance lookup on Ethereum or Base that also returns token metadata (symbol, decimals) and the unlimited-approval flag in one call, without running your own blockchain node or constructing raw RPC calls. Prefer it over raw eth_call when you want the unlimited flag and human-readable amounts out of the box.

## Known failure modes

- Invalid address format (not 0x + 40 hex) returns a validation error
- Unsupported chain value returns an enum error
- Token address is not a valid ERC-20 contract (e.g., an EOA) may return zero or an RPC error
- RPC node unavailability on the selected chain can cause timeouts
- No allowance set returns zero rather than an error

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

Returns the numeric allowance (in both raw and human-readable decimal form), the token's symbol, the token's decimals, and a boolean flag indicating whether the allowance is effectively unlimited (i.e., set to max uint256).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "robinhood"
   ],
   "type": "string",
   "description": "Chain to read."
  },
  "owner": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "maxLength": 42,
   "description": "Token holder address (0x + 40 hex)."
  },
  "token": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "maxLength": 42,
   "description": "ERC-20 contract address (0x + 40 hex)."
  },
  "spender": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "maxLength": 42,
   "description": "Approved spender address (0x + 40 hex)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 52290472,
  "chain": "base",
  "owner": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "symbol": "USDC",
  "spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
  "decimals": 6,
  "allowance": "0",
  "unlimited": false,
  "allowance_raw": "0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-chainpeek-erc-20-allowance-read-2718f871/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
