# Sonic ERC-20 Token Info

> Sonic ERC-20 Token Info is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns the name, symbol, decimals, and total supply of an ERC-20 token contract on the Sonic blockchain, looked up live from the contract.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/sonic/token-info?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-sonic-erc-20-token-info-16ebbc5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hcfVsn9d9ILLA7eGpneRw

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 agent-data-tools-revmesh2074-workers-dev-sonic-erc-20-token-info-16ebbc5e
```

Example prompt: What's the name, symbol, and total supply of the USDC token on Sonic — can you look it up live from the contract?

## When to prefer this

Use this endpoint when you need on-chain ERC-20 metadata (name, symbol, decimals, total supply) specifically on the Sonic blockchain. Prefer it over generic multi-chain tools when your target chain is Sonic. Use it to identify unknown token addresses or to get decimals needed to format raw balances. For a token holder's balance, use the companion sonic_token_balance endpoint instead. For total supply across Ethereum, Base, Arbitrum, Optimism, or Polygon, use the multi-chain token supply endpoint.

## Known failure modes

- 422 returned if the provided contract address is not an ERC-20 contract on Sonic (no charge)
- Unrecognized ticker symbols may fail if not mapped in the service's internal registry
- Network or RPC latency on the Sonic chain may occasionally cause timeouts
- Malformed 0x addresses will return an error

## How this service works

566 pay-per-call tools for AI agents over HTTP or MCP, from $0.002 a call, most at $0.01. Every caller gets 25 free calls; then pay per call in USDC via x402 (Base, Polygon, Arbitrum, Solana) or by card with prepaid credits from /credits. No account needed; failed calls are never charged; per-tool reliability is public at /status. Crypto: token prices and wallet portfolios from Uniswap v3, chain reads on Base, Ethereum, Arbitrum, Optimism and Polygon, OFAC sanctions screening. Web: Read public static documentation, pages, PDFs and RSS feeds as clean text, plus link previews and sitemaps. Business: company profiles, domain and email checks. Also Bitcoin, FX, weather, holidays, geocoding, AI text, and JSON, date and validation utilities.

## Output

A JSON object containing the token's on-chain name, symbol, number of decimals, total supply (human-readable string and raw big-integer string), the chain name ('sonic'), and the Sonic chain ID. If the address is not a valid ERC-20 contract, returns a 422 error at no charge.

## 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",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "examples": [
        "0x29219dd400f2Bf60E5a23d13Be72B486D4038894"
       ],
       "description": "Token: a ticker such as USDC or WETH, or the 0x ERC-20 contract address"
      }
     }
    }
   },
   "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"
      },
      "chainId": {
       "type": "number"
      },
      "decimals": {
       "type": "number"
      },
      "totalSupply": {
       "type": "string"
      },
      "totalSupplyRaw": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "USD Coin",
  "chain": "Sonic",
  "token": "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
  "symbol": "USDC",
  "chainId": 146,
  "decimals": 6,
  "totalSupply": "1000000000.0",
  "totalSupplyRaw": "1000000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-sonic-erc-20-token-info-16ebbc5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
