# TokenSense resolveToken API

> TokenSense resolveToken API is a paid API for AI agents from x402.wach.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-19).

Resolves a token ticker symbol to its Base network contract address and metadata

## Facts

- Endpoint: GET https://x402.wach.ai/resolveToken
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokensense-resolvetoken-api-0fc4b254
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NUBAZyP0FPkGVde8NVyaK

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 tokensense-resolvetoken-api-0fc4b254
```

Example prompt: What is the contract address for ETH on Base — can you resolve it using TokenSense and also tell me if it's verified?

## When to prefer this

Use this endpoint when you need to resolve a token ticker symbol to a verified Base network contract address with full metadata (name, decimals, chain ID, verification status). Prefer this over generic blockchain explorers when you specifically need Base-chain token resolution with built-in verification signals and structured JSON output. Ideal for DeFi agents, token registry pipelines, and any workflow that must programmatically map human-readable tickers to on-chain contract addresses on Base.

## Known failure modes

- Ticker not found on Base network — returns success: false with no tokenAddress
- Invalid or empty ticker parameter — request may fail schema validation
- Token exists but is unverified — tokenIsVerified returns false
- Payment failure via x402 protocol — 402 response if USDC payment not completed
- Network or upstream data source unavailable — may return error response

## How this service works

x402-paid TokenSense routes, with parallel MPP routes under /mpp/*.

## Output

Returns a JSON object with the resolved token's Base network contract address, token name, token symbol, chain ID (8453 for Base), number of decimals, verification status, and API pricing information. Includes a success flag and the route path used.

## 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": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "minLength": 1,
       "description": "Token ticker symbol to resolve to a Base token contract address."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "route",
      "ticker",
      "tokenAddress",
      "apiPricing"
     ],
     "properties": {
      "route": {
       "type": "string"
      },
      "ticker": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "tokenName": {
       "type": [
        "string",
        "null"
       ]
      },
      "apiPricing": {
       "type": "object"
      },
      "tokenSymbol": {
       "type": [
        "string",
        "null"
       ]
      },
      "tokenAddress": {
       "type": "string"
      },
      "tokenChainId": {
       "type": [
        "number",
        "string"
       ]
      },
      "tokenDecimals": {
       "type": [
        "number",
        "null"
       ]
      },
      "tokenIsVerified": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "route": "/resolveToken",
  "ticker": "ETH",
  "success": true,
  "tokenName": "Wrapped Ether",
  "apiPricing": {
   "token": "USDC",
   "amount": "$0.01",
   "usdcAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  },
  "tokenSymbol": "WETH",
  "tokenAddress": "0x4200000000000000000000000000000000000006",
  "tokenChainId": 8453,
  "tokenDecimals": 18,
  "tokenIsVerified": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokensense-resolvetoken-api-0fc4b254/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.wach.ai](https://www.zero.xyz/host/x402.wach.ai/llms.txt)
