# Tollbooth Token Safety Checker

> Tollbooth Token Safety Checker is a paid API for AI agents from api.tollboothswap.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Screens a Solana or EVM token for rug pull and honeypot risks, returning a verdict, 0-100 risk score, and itemized findings

## Facts

- Endpoint: GET https://api.tollboothswap.xyz/v1/check/:chain/:token?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollbooth-token-safety-checker-02be6bd5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DJfP7B8Xf7E5JP-s54bRw

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 tollbooth-token-safety-checker-02be6bd5
```

Example prompt: Before I swap into this token, can you run a Tollbooth safety check on the Solana token address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU and tell me the verdict and risk score?

## When to prefer this

Use Tollbooth when you need a fast, pre-trade safety signal on a specific Solana or EVM token before executing a swap. It is especially valuable for screening new or unaudited tokens for honeypot mechanics, freeze/mint authority abuse, blacklists, and hidden ownership — risks that standard price feeds and DEX APIs do not surface. Pair it with the /v1/swap/build safeMode flag to automatically block swaps on critical-risk tokens in an automated trading pipeline.

## Known failure modes

- Unknown token address returns verdict 'unknown' with no findings
- Unsupported chain value returns an error
- Invalid or malformed token address causes request failure
- Token with no on-chain data may return unknown verdict
- Rate limiting or payment failure returns 402 or 429 error
- Network timeout for slow chain RPC responses

## How this service works

Is this token safe to buy? Check any Solana or EVM token for rug pull and honeypot risk before you swap. Solana: mint/freeze authority, Token-2022 transfer hooks, permanent delegates - read on-chain. EVM (Base, Ethereum, Arbitrum, Polygon, Optimism, BSC, Avalanche): honeypot, sell tax, blacklists, hidden owners, mintability. Verdict (ok/warn/critical/unknown), 0-100 risk score, itemized findings. Pair with POST /v1/swap/build safeMode to refuse critical-risk swaps.

## Output

Returns a JSON object with the chain, token address, a verdict enum (ok/warn/critical/unknown), an integer risk score from 0 to 100 (higher is riskier), and an array of itemized findings each with an id, severity (info/warn/critical), and detail string explaining the specific risk detected. Also includes a checkedAt timestamp and optional source field.

## 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",
     "required": [
      "chain",
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain the token lives on: one of solana, base, ethereum, arbitrum, polygon, optimism, bsc, avalanche"
      },
      "token": {
       "type": "string",
       "description": "Token to screen: mint address (solana) or ERC-20 address (EVM chains)"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "token",
      "verdict",
      "score",
      "findings"
     ],
     "properties": {
      "chain": {
       "enum": [
        "solana",
        "base",
        "ethereum",
        "arbitrum",
        "polygon",
        "optimism",
        "bsc",
        "avalanche"
       ],
       "type": "string"
      },
      "score": {
       "type": "integer",
       "description": "Risk score 0-100, higher = riskier"
      },
      "token": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "verdict": {
       "enum": [
        "ok",
        "warn",
        "critical",
        "unknown"
       ],
       "type": "string",
       "description": "critical = do not trade (honeypot, freezable, seizable); unknown = no data"
      },
      "findings": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "detail": {
          "type": "string"
         },
         "severity": {
          "enum": [
           "info",
           "warn",
           "critical"
          ],
          "type": "string"
         }
        }
       }
      },
      "checkedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollbooth-token-safety-checker-02be6bd5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollboothswap.xyz](https://www.zero.xyz/host/api.tollboothswap.xyz/llms.txt)
