# Routheus Token Metadata API

> Routheus Token Metadata API is a paid API for AI agents from routheus.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Fetches on-chain token metadata (name, symbol, decimals, storage slot) for a given EVM token address on a specified chain

## Facts

- Endpoint: GET https://routheus.xyz/%7Bchain%7D/api/tokens/metadata?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/routheus-token-metadata-api-d0daf534
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Q7Jt_B15IJLnSJrb-RMn

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 routheus-token-metadata-api-d0daf534
```

Example prompt: Look up the token metadata for 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I need the name, symbol, and decimals.

## When to prefer this

Choose this endpoint when you need authoritative on-chain token metadata (name, symbol, decimals, storage slot) for EVM tokens without requiring an API key or subscription — especially useful in DeFi automation pipelines, swap routing, and simulation workflows where balance slot data is needed for eth_call overrides. Prefer over generic blockchain RPC calls when you want structured, pre-validated metadata with pay-per-call USDC pricing via x402.

## Known failure modes

- Unknown or unindexed token address returns ok=false with an error field (no charge applied)
- Invalid chain identifier in path returns an error response
- Malformed token address (not a valid 0x hex address) returns a validation error
- Chain not among the 13+ supported EVM chains returns an error
- Network or upstream pool-state engine timeout may result in a transient 5xx error

## How this service works

Routheus: live DEX token prices and best-route swap quotes from a real-time pool-state engine, executable routes with calldata (Permit2), simulation-verified outputs, token metadata, search and pool data on 13+ EVM chains. Pay per call in USDC via x402 — no API keys, no subscription.

## Output

Returns a JSON object with ok=true and a data object containing the token's name, symbol, decimals, contract address, and balance_slot details (slot_type and slot_number for eth_call overrides). If the token is unknown, returns ok=false with an error string and no charge is applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string",
   "description": "Token address (0x…)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ok"
 ],
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "data": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "token": {
     "type": "string"
    },
    "symbol": {
     "type": "string"
    },
    "decimals": {
     "type": "integer"
    },
    "balance_slot": {
     "type": "object",
     "properties": {
      "slot_type": {
       "type": "string"
      },
      "slot_number": {
       "type": "integer"
      }
     },
     "description": "Storage slot info for eth_call balance overrides"
    }
   }
  },
  "error": {
   "type": "string",
   "description": "Set for unknown tokens (never charged)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/routheus-token-metadata-api-d0daf534/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from routheus.xyz](https://www.zero.xyz/host/routheus.xyz/llms.txt)
