# ERC-20 Token Info Lookup on Base

> ERC-20 Token Info Lookup on Base is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns name, symbol, decimals, total supply, holder count, contract type, and USD rate for any ERC-20 token on the Base blockchain in a single call.

## Facts

- Endpoint: GET https://api.x-402.online/v1/chain/token?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-info-lookup-on-base-665b7ba7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bJwY3EEk9L4PeNHTtToRs

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 erc-20-token-info-lookup-on-base-665b7ba7
```

Example prompt: Can you pull up the full token info for the contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I need the name, symbol, decimals, total supply, holder count, and current USD rate.

## When to prefer this

Use this endpoint when you need comprehensive ERC-20 token metadata — including holder count and USD rate — from the Base blockchain in a single call, without needing to query multiple on-chain RPCs or aggregators. Ideal for AI agents that need to enrich token data quickly and cheaply ($0.005/call) without managing wallet infrastructure or blockchain node access.

## Known failure modes

- Contract address not found on Base — returns empty or error response
- Token not indexed by Blockscout — USD rate or holder count may be null or absent
- Malformed address format — API may return a validation error
- Token exists but USD rate unavailable — rate field returned as null
- Network or upstream Blockscout outage — request times out or returns 5xx

## How this service works

Get an ERC-20's name, symbol, decimals, total supply, holder count and USD rate in one call. An ERC-20 on Base in one call: name, symbol, decimals, total supply, holder count, contract type and USD rate when Blockscout knows it. Query: ?address=0x…

## Output

A JSON object containing the token's name, symbol, decimals, total supply, holder count, contract type classification, and USD exchange rate (when available from Blockscout), all for the queried ERC-20 contract on the Base 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-info-lookup-on-base-665b7ba7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
