# Tollkit Chain Token Lookup

> Tollkit Chain Token Lookup is a paid API for AI agents from data.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Looks up on-chain token metadata for a given ERC-20 contract address (Base or Ethereum) or SPL mint (Solana), paid per-call via x402 micropayment in USDC.

## Facts

- Endpoint: POST https://data.tollkit.dev/chain/token?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-chain-token-lookup-ec477baf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QqLfdZjC3_azNrsyyFq3a

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 tollkit-chain-token-lookup-ec477baf -d '<json body>'
```

Example prompt: Look up the token details for the Base contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I need the name, symbol, and decimals.

## When to prefer this

Use this endpoint when you need on-chain token metadata for a specific ERC-20 or SPL token and want to avoid setting up an account or managing API keys — payment is handled inline via x402 USDC micropayments. Ideal for lightweight, ad-hoc token lookups on Base, Ethereum, or Solana in agentic or automated workflows where traditional API key management is impractical.

## Known failure modes

- Invalid contract address format returns a validation error
- Token address not found on the specified chain returns a 404 or empty result
- Incorrect chain specified for the address type (e.g., Solana address on Base) causes a mismatch error
- Payment failure or insufficient USDC balance causes a 402 Payment Required response
- Network or RPC node errors for the specified chain may cause timeouts

## How this service works

Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.

## Output

Returns on-chain token metadata for the specified contract or mint address, including details such as token name, symbol, decimals, and other chain-specific attributes available for that token on the requested blockchain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "solana"
   ],
   "type": "string",
   "default": "base",
   "description": "Which chain to read: \"base\" (default), \"ethereum\" or \"solana\"."
  },
  "token": {
   "type": "string",
   "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
   "description": "ERC-20 contract, or SPL mint on Solana."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-chain-token-lookup-ec477baf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.tollkit.dev](https://www.zero.xyz/host/data.tollkit.dev/llms.txt)
