# Token Risk Check

> Token Risk Check is a paid API for AI agents from ca-tax-api-mainnet.lxtap.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-24).

Returns a comprehensive risk score, flags, market data, and privileged-function analysis for a token contract on Base, Ethereum, Arbitrum, Optimism, Polygon, or Solana.

## Facts

- Endpoint: GET https://ca-tax-api-mainnet.lxtap.workers.dev/token?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-risk-check-e42dc2ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nq9-IF7v3JYjZLECI8y_q

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-risk-check-e42dc2ff
```

Example prompt: Can you run a rug check on the token at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base and tell me if it's safe to buy — I want to see the risk score, whether the owner can pause or mint, and the current liquidity?

## When to prefer this

Choose this endpoint when you need a structured, scored risk assessment of a specific token contract — including rug-pull signals, owner privilege flags, and liquidity depth — across Base, Ethereum, Arbitrum, Optimism, Polygon, or Solana, and want pay-per-call pricing without a subscription. Prefer it over general block explorers when you need a machine-readable risk verdict rather than raw contract data, and over manual audits when you need instant results at low cost. The watch fingerprint feature makes it especially useful for agents that need to detect changes in a token's risk profile over time.

## Known failure modes

- Invalid or malformed address returns a validation error
- Unrecognized chain enum value returns a 400 error
- Token contract not found on specified chain returns null or empty data
- Very new token with no liquidity pool returns noLiquidPool: true and limited market data
- Payment failure via x402 returns a 402 status before data is served
- Bytecode analysis may produce false positives or misses for privileged function detection

## How this service works

Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.

## Output

A JSON object containing: token name and symbol, risk level (low/medium/high) with numeric score and labeled reasons, boolean flags for canMint/canBlacklist/upgradeable/canPause/noLiquidPool/canChangeFees/thinLiquidity, owner address and ownership-renounced status, proxy/upgradeable details, privileged function breakdown, market data (price USD, FDV, DEX, pool address, paired asset, liquidity USD), native asset price, total supply, decimals, and a watch fingerprint for incremental change detection.

## 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": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "eth",
        "arbitrum",
        "optimism",
        "polygon",
        "solana"
       ],
       "type": "string",
       "description": "Chain the token is on; defaults to solana for base58 addresses, otherwise base"
      },
      "since": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,1000}$",
       "description": "watch.fingerprint from an earlier call; adds what changed since then"
      },
      "address": {
       "type": "string",
       "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
       "description": "Token contract (EVM) or mint (Solana) address"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Degen",
  "risk": {
   "level": "low",
   "score": 15,
   "reasons": [
    {
     "code": "can-pause",
     "text": "The owner can pause all transfers.",
     "points": 10
    },
    {
     "code": "owner-not-renounced",
     "text": "Ownership is not renounced.",
     "points": 5
    }
   ],
   "summary": "Low risk: the owner can pause all transfers; ownership is not renounced."
  },
  "chain": "base",
  "flags": {
   "canMint": false,
   "ownerCanAct": true,
   "upgradeable": false,
   "canBlacklist": false,
   "noLiquidPool": false,
   "canChangeFees": false,
   "thinLiquidity": false
  },
  "notes": "Privileged functions are detected from bytecode selectors and may have false positives or misses. Liquidity is the WETH or USDC held by the deepest Uniswap v3 or aerodrome pool found.",
  "owner": "0x704Ec5C12Ca20a293C2C0B72B22619A4231f3c0d",
  "proxy": {
   "upgradeable": false
  },
  "watch": {
   "changes": null,
   "fingerprint": "eyJzIjoxNSwiciI6WyJjYW4tcGF1c2UiLCJvd25lci1ub3QtcmVub3VuY2VkIl0sImEiOnsib3duZXIiOiIweDcwNEVjNUMxMkNhMjBhMjkzQzJDMEI3MkIyMjYxOUE0MjMxZjNjMGQiLCJpbXBsZW1lbnRhdGlvbiI6bnVsbCwicHJveHlBZG1pbiI6bnVsbH0sImwi… (230 chars, truncated in this example)"
  },
  "market": {
   "dex": "uniswap-v3",
   "pool": "0xc9034c3E7F58003E6ae0C8438e7c8f4598d5ACAA",
   "priceUsd": 0.000962867,
   "feeTierBps": 30,
   "pairedWith": "WETH",
   "poolsFound": 10,
   "fullyDilutedValueUsd": 34630000,
   "quoteSideLiquidityUsd": 134100
  },
  "symbol": "DEGEN",
  "address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
  "decimals": 18,
  "nativeUsd": {
   "price": 2406.48,
   "source": "Chainlink ETH/USD",
   "symbol": "ETH",
   "updatedAt": "2026-10-23T04:00:51.000Z"
  },
  "totalSupply": 35967154646.5,
  "ownershipRenounced": false,
  "privilegedFunctions": {
   "mint": false,
   "pause": true,
   "setFees": false,
   "blacklist": false,
   "tradingSwitch": false,
   "maxTransaction": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-risk-check-e42dc2ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ca-tax-api-mainnet.lxtap.workers.dev](https://www.zero.xyz/host/ca-tax-api-mainnet.lxtap.workers.dev/llms.txt)
