# FastX402 ERC-20 Token Info Lookup

> FastX402 ERC-20 Token Info Lookup is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Fetches on-chain metadata for an ERC-20 token contract (name, symbol, decimals, total supply) on Base or Ethereum.

## Facts

- Endpoint: GET https://fastx402.tools/erc20-info?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-erc-20-token-info-lookup-3933d983
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ra5LcGOYG7bLUN1v35aLu

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 fastx402-erc-20-token-info-lookup-3933d983
```

Example prompt: What's the name, symbol, decimals, and total supply of the ERC-20 token at contract address 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base?

## When to prefer this

Use this endpoint when you need on-chain ERC-20 token metadata (name, symbol, decimals, total supply) for a known contract address on Base or Ethereum, especially in a no-account, no-API-key, pay-per-call context via x402. Prefer this over general blockchain explorers when you need structured JSON output for agent pipelines, or when you want micropayment-based access without registration overhead.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty response
- Contract address exists but is not an ERC-20 token (e.g. NFT or EOA) may return unexpected data or error
- Unsupported chain value (anything other than 'base' or 'ethereum') results in a validation error
- Network or RPC congestion may cause slow or failed lookups
- Payment failure via x402 protocol blocks the request before execution

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing the token's name, symbol, number of decimals, human-readable total supply, raw total supply integer string, and the chain it was queried on. Example: {"name":"USD Coin","chain":"base","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","symbol":"USDC","decimals":6,"total_supply":"4403879551.831094","total_supply_raw":"4403879551831094"}.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "base or ethereum (default base)"
      },
      "token": {
       "type": "string",
       "description": "Token contract address (0x + 40 hex)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "token": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "decimals": {
       "type": "integer"
      },
      "total_supply": {
       "type": "string"
      },
      "total_supply_raw": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "USD Coin",
  "chain": "base",
  "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "symbol": "USDC",
  "decimals": 6,
  "total_supply": "4403879551.831094",
  "total_supply_raw": "4403879551831094"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-erc-20-token-info-lookup-3933d983/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
