# LensCrypt Token Safety Check

> LensCrypt Token Safety Check is a paid API for AI agents from tolens.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns a risk verdict and score for a token contract on a specified blockchain chain

## Facts

- Endpoint: GET https://tolens.vercel.app/api/token-safety/%7Bchain%7D/%7Baddress%7D
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lenscrypt-token-safety-check-45a5021c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JChLQWqTHpBkIzqZ1zJ57

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 lenscrypt-token-safety-check-45a5021c
```

Example prompt: Can you check if the token at address 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base is safe to buy — give me the risk verdict and score?

## When to prefer this

Use this endpoint when you need a quick, programmatic safety verdict and numeric risk score for a specific token contract address on a supported chain, especially before executing a trade or DeFi interaction. Prefer this over general blockchain explorers when you need a structured risk classification rather than raw on-chain data.

## Known failure modes

- Invalid or unsupported chain identifier returns an error
- Malformed or non-existent contract address returns an error or empty result
- Token contract not yet indexed returns no data
- Payment failure via x402 protocol returns 402 Payment Required
- Rate limiting or quota exceeded returns 429 Too Many Requests

## How this service works

81 paid REST endpoints covering wallet analytics, DeFi yields, token safety, smart money tracking, whale alerts, sniper detection, GMX perps, Solana tools, protocol stats, gas tracking, DEX quotes, NFT analytics, social signals, and 8 AI-powered endpoints (MiMo V2.5). Pay USDC via x402 protocol on Base.

## Output

Returns a JSON object containing the blockchain chain name, a categorical risk verdict (e.g. LOW_RISK, HIGH_RISK), and a numeric risk score (0-100) indicating how safe or dangerous the token contract is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "verdict": "LOW_RISK",
  "riskScore": 85
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lenscrypt-token-safety-check-45a5021c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tolens.vercel.app](https://www.zero.xyz/host/tolens.vercel.app/llms.txt)
