# ChainRay Token Approval Checker

> ChainRay Token Approval Checker is a paid API for AI agents from chainray.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-08).

Retrieves token approval data for a given wallet or contract address on a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/token-approval/%7Baddress%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-token-approval-checker-ba7a5dac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W-pXAHrit72VK7dB4CVnH

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 chainray-token-approval-checker-ba7a5dac
```

Example prompt: Can you pull up all the token approvals for my wallet 0xAbC123...def on Ethereum — I want to see which contracts are approved to spend my tokens so I can figure out what to revoke.

## When to prefer this

Use this endpoint when you need to audit token spending permissions for a specific wallet address across any of the 46 supported chains. Ideal for security audits, DeFi risk assessment, or wallet hygiene checks. Prefer this over general blockchain explorers when you need structured, agent-readable approval data with pay-per-request pricing via x402.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain identifier results in a chain-not-found error
- Address with no approvals returns an empty list
- Rate limiting or payment failure (x402) if USDC payment is not attached
- Network timeout for slow or congested chains
- Address does not exist on specified chain

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

Returns a list of token approvals associated with the queried wallet or contract address, including approved spender contracts, token addresses, allowance amounts, and approval metadata for the specified blockchain network.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-token-approval-checker-ba7a5dac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
