# DESK LEAD x402 – Token Metadata Lookup

> DESK LEAD x402 – Token Metadata Lookup is a paid API for AI agents from desk-x402.desk-x402-gh.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns ERC-20 token metadata (symbol, decimals) for a given token contract address on BSC or Base networks

## Facts

- Endpoint: GET https://desk-x402.desk-x402-gh.workers.dev/v1/token-meta
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/desk-lead-x402-token-metadata-lookup-1de70199
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y_9BTMisZpg5T3ujhaDz3

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 desk-lead-x402-token-metadata-lookup-1de70199
```

Example prompt: What's the symbol and decimal precision for the token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base?

## When to prefer this

Use this endpoint when you need fast, on-chain ERC-20 token metadata (symbol and decimals) for a specific contract address on BSC or Base, especially in micropayment-native agent workflows using x402. Prefer it over manual RPC calls when you want a simple REST interface without setting up a full blockchain node client.

## Known failure modes

- Invalid or malformed contract address (not a valid 0x hex address) — likely returns an error or empty meta
- Unsupported network (only 'bsc' and 'base' are accepted) — request will be rejected
- Contract address exists but is not an ERC-20 token — metadata may be missing or incomplete
- Payment not provided or invalid x402 payment headers — returns HTTP 402 Payment Required
- Rate limiting or worker unavailability — returns 5xx error

## How this service works

Micropay research APIs (x402 v2 + bazaar). Free catalog at /.well-known/x402.json. Primary v2 accepts: Base eip155:8453 only. Legacy X-PAYMENT-TX still supports bsc|base via acceptsV1. Headers: X-PAYMENT-TX, X-PAYMENT-NETWORK, PAYMENT-SIGNATURE. No financial advice.

## Output

A JSON object with an 'ok' boolean, a 'meta' object containing the token's symbol (e.g. 'USDC') and decimals (e.g. 18), and a 'product' field identifying the endpoint type as 'token_meta'.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token",
      "network"
     ],
     "properties": {
      "token": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "network": {
       "enum": [
        "bsc",
        "base"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "meta": {
   "symbol": "USDC",
   "decimals": 18
  },
  "product": "token_meta"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/desk-lead-x402-token-metadata-lookup-1de70199/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from desk-x402.desk-x402-gh.workers.dev](https://www.zero.xyz/host/desk-x402.desk-x402-gh.workers.dev/llms.txt)
