# Swift Bot Labs Toolbox – EVM Token Info

> Swift Bot Labs Toolbox – EVM Token Info is a paid API for AI agents from x402-toolbox.swiftbotlab.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Looks up ERC-20 token metadata (name, symbol, decimals, total supply) for a given contract address on a supported EVM chain

## Facts

- Endpoint: GET https://x402-toolbox.swiftbotlab.workers.dev/v1/evm/token?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swift-bot-labs-toolbox-evm-token-info-bd15ba4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H3Oq7WA5di5BUj7Vzssps

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 swift-bot-labs-toolbox-evm-token-info-bd15ba4d
```

Example prompt: What ERC-20 token is deployed at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — give me its name, symbol, decimals, and total supply.

## When to prefer this

Use this endpoint when you need fast, cheap, on-demand ERC-20 token metadata resolution without setting up a Web3 provider or RPC node. Ideal for AI agents that need to enrich a token address with human-readable info (name, symbol, decimals) across multiple EVM chains. Prefer it over running your own RPC calls when you want a simple HTTP GET, pay-per-call model with no API key overhead. Not suitable if you need real-time price data, historical balances, or non-ERC-20 contract inspection.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or ok:false
- Unsupported chain identifier causes a validation error
- Contract exists but does not implement ERC-20 standard — metadata fields may be missing
- Rate-limit or payment failure (x402 payment not completed) results in 402 response
- Malformed address (wrong checksum or length) returns a validation error

## How this service works

62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.

## Output

A JSON object containing: ok (true/false), tool name ('evm-token'), and a result object with the token's name, symbol, contract address, chain name, isErc20 boolean, decimals integer, and totalSupply as a decimal string. Returns an error if the address is not a recognized ERC-20 or if the chain is unsupported.

## 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"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "One of ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, base-sepolia, sepolia (or a chain id)"
      },
      "address": {
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "discoverable": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "evm-token",
  "result": {
   "name": "USD Coin",
   "chain": "base",
   "symbol": "USDC",
   "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "isErc20": true,
   "decimals": 6,
   "totalSupply": "4123456789.123456"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swift-bot-labs-toolbox-evm-token-info-bd15ba4d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.swiftbotlab.workers.dev](https://www.zero.xyz/host/x402-toolbox.swiftbotlab.workers.dev/llms.txt)
