# B20 Token Info (Base ERC-20 Metadata + B20 Signals)

> B20 Token Info (Base ERC-20 Metadata + B20 Signals) is a paid API for AI agents from agent402.tools, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns ERC-20 metadata and B20-specific signals for any token address on Base, including name, symbol, decimals, total supply, paused/cap status, bytecode size, and whether the address carries the factory-issued 0xB200 prefix.

## Facts

- Endpoint: GET https://agent402.tools/api/b20-token-info
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/b20-token-info-base-erc-20-metadata-b20-signals-20ba5cad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dgA0l9CbyAr6-7_nPjUqR

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 b20-token-info-base-erc-20-metadata-b20-signals-20ba5cad
```

Example prompt: What are the ERC-20 details for the Base token at 0xB200abc123... — is it a B20 factory token, what's its name and symbol, and is it paused?

## When to prefer this

Use this endpoint when you need quick, single-call ERC-20 metadata for a Base network token address, especially when you also need B20-specific signals like the 0xB200 factory prefix check. Prefer this over generic blockchain explorers when you want structured JSON output optimized for agent consumption, including the isB20 classification alongside standard token properties.

## Known failure modes

- Invalid or non-contract address returns an error or empty metadata
- Address exists on a different chain (not Base) returns incorrect or no data
- Non-ERC-20 contract returns partial metadata with isB20 false
- Rate limiting or network timeout if Base RPC is congested
- Malformed 0x address format returns a validation error

## How this service works

ERC-20 metadata plus B20 signals for any Base address: name, symbol, decimals, total supply, best-effort paused/cap, bytecode size, and whether the address carries the factory-issued 0xB200 prefix. Works on plain ERC-20s too (isB20 comes back false). ?address=0x…

## Output

Returns a JSON object with the token's name, symbol, decimals, total supply, best-effort paused and cap fields, bytecode size, and an isB20 boolean indicating whether the address carries the factory-issued 0xB200 prefix.

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "0x token address on Base"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "address",
      "isB20",
      "prefixMatch",
      "name",
      "symbol",
      "decimals",
      "totalSupply",
      "totalSupplyFormatted"
     ],
     "properties": {
      "name": {
       "type": "string"
      },
      "isB20": {
       "type": "boolean"
      },
      "symbol": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "decimals": {
       "type": "integer"
      },
      "prefixMatch": {
       "type": "boolean"
      },
      "totalSupply": {
       "type": "string"
      },
      "totalSupplyFormatted": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "USD Coin",
  "isB20": false,
  "symbol": "USDC",
  "address": "0x8335…2913",
  "decimals": 6,
  "prefixMatch": false,
  "totalSupply": "…",
  "totalSupplyFormatted": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/b20-token-info-base-erc-20-metadata-b20-signals-20ba5cad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
