# x402 Base Tools – ERC-20 Token Info

> x402 Base Tools – ERC-20 Token Info is a paid API for AI agents from base.kagurazaka.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Returns the name, symbol, decimals, total supply, and Basescan link for any ERC-20 token on Base, identified by contract address or well-known symbol.

## Facts

- Endpoint: GET https://base.kagurazaka.dev/v1/token?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-base-tools-erc-20-token-info-4f018372
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sVoqZuZMu5MabVhWXQgas

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 x402-base-tools-erc-20-token-info-4f018372
```

Example prompt: What are the full ERC-20 details for USDC on Base — give me the name, symbol, decimals, total supply, and its Basescan link.

## When to prefer this

Use this endpoint when you need authoritative ERC-20 metadata (name, symbol, decimals, total supply) for a token on the Base network, especially when you have only a contract address or a ticker symbol. Prefer it over generic blockchain explorers when you need a structured JSON response suitable for programmatic use or when you need to enrich token data in an automated pipeline.

## Known failure modes

- Unknown or unrecognized token symbol returns an error or empty result
- Invalid contract address format causes a validation error
- Token exists on a different chain but not on Base — returns not found
- Address is a contract but not an ERC-20 token — metadata fields unavailable
- Network or RPC timeout causes a delayed or failed response

## How this service works

Name, symbol, decimals and total supply of an ERC-20 token on Base, by address or well-known symbol, with its Basescan link.

## Output

A JSON object containing the token's canonical name, symbol, checksummed contract address on Base, number of decimals, formatted total supply, and a Basescan URL for the token.

## 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": {
      "token": {
       "type": "string",
       "description": "token address or symbol"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "name": {},
      "symbol": {},
      "address": {},
      "decimals": {},
      "total_supply": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "USD Coin",
  "symbol": "USDC",
  "address": "0x8335...",
  "decimals": 6,
  "total_supply": "4000000000.000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-base-tools-erc-20-token-info-4f018372/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base.kagurazaka.dev](https://www.zero.xyz/host/base.kagurazaka.dev/llms.txt)
