# Token Safety Check

> Token Safety Check is a paid API for AI agents from chain.tollkit.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-14).

Checks the safety and risk profile of an ERC-20 or SPL token contract on Base, Ethereum, or Solana

## Facts

- Endpoint: POST https://chain.tollkit.dev/chain/check?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-safety-check-fef4a4b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mxNLVWuWM-qV9aI5UlsIo

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-safety-check-fef4a4b3 -d '<json body>'
```

Example prompt: Can you run a safety check on this Base token at address 0x1234567890abcdef1234567890abcdef12345678 and tell me if it looks like a rug pull or honeypot?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call token safety check without setting up an account or API key — ideal for AI agents performing on-demand DeFi due diligence on Base, Ethereum, or Solana tokens before executing trades or portfolio actions.

## Known failure modes

- Invalid token address format returns validation error
- Token address not found on specified chain returns 404 or empty result
- Unsupported chain value returns enum validation error
- Payment failure via x402 protocol blocks the call
- Contract too new or unverified may return limited data

## How this service works

Wallet balances, tokens, transactions and prices on Base, Ethereum and Solana. Other Tollkit tools are described at: https://extract.tollkit.dev/openapi.json, https://attest.tollkit.dev/openapi.json, https://web.tollkit.dev/openapi.json, https://data.tollkit.dev/openapi.json.

## Output

Returns a safety analysis of the token contract including risk indicators such as honeypot detection, rug pull signals, liquidity lock status, ownership renouncement, and other smart contract audit flags relevant to the specified chain.

## 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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Jupiter",
  "note": "Warnings are facts read from the chain, not a rating. No warnings does not mean safe.",
  "chain": "solana",
  "token": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
  "symbol": "JUP",
  "decimals": 6,
  "warnings": [],
  "price_usd": 0.330891,
  "checked_at": "2026-10-04T07:45:41.154Z",
  "explorer_url": "https://solscan.io/token/JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
  "price_source": {
   "dex": "Orca Whirlpools",
   "pool": "C1MgLojNLWBKADvu9BHdtgzz1oZX4dZ5zGdGcgvvW8Wz",
   "fee_tier": 500,
   "quote_token": "SOL",
   "tick_spacing": 8
  },
  "total_supply": "6861486367.157215",
  "mint_authority": null,
  "pool_depth_usd": 382271,
  "freeze_authority": null
 }
}
```

## More

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