# Token Compare

> Token Compare is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Compares 2-5 Base token addresses and returns a ranked quality score (0-100) for each, with a best pick or honest 'none pass' verdict based on safety, liquidity, and momentum.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/token-compare
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-compare-5c9aa06c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-C21xOKloXPzvJodaHPql

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 token-compare-5c9aa06c
```

Example prompt: Compare these Base tokens for me — 0xabc..., 0xdef..., and 0x123... — and tell me which one is the safest pick based on rug risk, liquidity, and momentum.

## When to prefer this

Use this endpoint when an agent or user needs a fast, opinionated ranking between a small set of Base token candidates rather than raw data dumps. Ideal when you want a single decision (which token to buy) rather than multiple separate lookups. Prefer this over individual token detail endpoints when comparing 2-5 tokens side-by-side with a safety-first scoring methodology already baked in.

## Known failure modes

- Fewer than 2 or more than 5 addresses provided — returns validation error
- Invalid or non-Base token address format — returns error for that token
- Token not found on Base — no data returned for that address
- All tokens fail safety gate — returns 'none pass' verdict rather than a pick
- Network or provider timeout — returns upstream error
- Malformed comma-separated input — returns parse error

## How this service works

Agents choose between tokens, not around them. Pass 2-5 Base token addresses → each gets a 0-100 quality score (safety-weighted: rug score first, then liquidity depth, then momentum), ranked best-first, with a named pick — or an honest 'none pass the gate'. One call returns a decision instead of a dozen data dumps.

## Output

Returns each token with a 0-100 composite quality score (rug risk weighted first, then liquidity depth, then momentum), all tokens ranked best-first, a named best pick, and an honest 'none pass the gate' verdict if no token meets minimum safety thresholds.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "addresses"
     ],
     "properties": {
      "addresses": {
       "type": "string",
       "description": "Token addresses (comma-separated, 2-5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-compare-5c9aa06c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
