# NodeFlare Multi-Chain ERC-20 Allowances API

> NodeFlare Multi-Chain ERC-20 Allowances API is a paid API for AI agents from rpc.nodeflare.app, paid per call via x402, $0.0594/call, status unknown (last checked 2026-10-11).

Scans Approval event logs and reads live on-chain allowances for a wallet across up to 23 EVM chains, returning only active (non-revoked) approvals with unlimited-approval flags

## Facts

- Endpoint: POST https://rpc.nodeflare.app/data/allowances/x402?utm_source=zero.xyz
- Price: $0.0594/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nodeflare-multi-chain-erc-20-allowances-api-63bd60b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aYA61lSOlx-absBduu9Fm

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 nodeflare-multi-chain-erc-20-allowances-api-63bd60b3 -d '<json body>'
```

Example prompt: Can you pull all active ERC-20 token approvals for my wallet 0xAbc123... across all 23 chains you support — I want to see which spenders still have allowances, especially any unlimited ones, so I know what to revoke?

## When to prefer this

Choose this endpoint when you need multi-chain ERC-20 allowance coverage in a single call, especially when the target wallet may have activity on newer or less-supported EVM chains (Ink, Plasma, Robinhood chain) that tools like revoke.cash do not index. It is ideal for security audit agents, revoke workflows, and DeFi risk dashboards that need live on-chain allowance state (not cached), and for scenarios where no API key or account setup is feasible since it is pay-per-call via USDC x402.

## Known failure modes

- Invalid or non-checksummed wallet address returns a 400 error
- Insufficient USDC payment via x402 protocol returns a 402 Payment Required
- Chain RPC timeout for a specific chain may cause partial results or that chain being skipped
- Wallet with no Approval events returns an empty allowances list
- Network congestion on heavy chains like Ethereum mainnet may slow log scanning

## How this service works

Multi-chain ERC-20 allowances API: what a wallet has approved and for how much across up to 23 EVM chains (incl. young chains like Robinhood, Plasma, Ink that revoke.cash-style tools skip), with unlimited-approval flags. Scans Approval logs then reads the current on-chain allowance, dropping revoked ones. Built for revoke and security workflows. Pay per call in USDC, no account or API key - built for AI agents. Priced about $0.0033 per chain (heavy eth_getLogs scan).

## Output

A list of active (non-revoked) ERC-20 allowances per chain, each entry showing the token contract, spender address, current approved amount, and a boolean flag indicating whether the approval is unlimited (max uint256). Revoked or zeroed-out approvals are excluded. Results are grouped by chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "address": {
   "type": "string"
  },
  "includeUnlimited": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nodeflare-multi-chain-erc-20-allowances-api-63bd60b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rpc.nodeflare.app](https://www.zero.xyz/host/rpc.nodeflare.app/llms.txt)
