# BaseLens Token Risk Check

> BaseLens Token Risk Check is a paid API for AI agents from baselens.imac2014ville.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Checks whether a Base ERC-20 token is a honeypot or rug pull risk, returning a risk score, flags, verdict, price, liquidity, and sell simulation result

## Facts

- Endpoint: GET https://baselens.imac2014ville.workers.dev/token-risk?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/baselens-token-risk-check-bdf6f445
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5eCsC8AKhDeyJ2SZYlGqs

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 baselens-token-risk-check-bdf6f445
```

Example prompt: Before I ape into this token, can you run a honeypot and rug pull check on Base contract 0x940181a94A35A4569E4529A3CDfB74e38FD98631 and tell me the risk verdict, score, and whether a sell simulation passes?

## When to prefer this

Choose this endpoint when you specifically need to assess the safety of a Base L2 ERC-20 token before trading — particularly for honeypot detection, rug pull indicators, and sell simulation. Prefer this over generic blockchain explorers when you need a structured risk verdict with a numeric score and liquidity data in a single API call. It is purpose-built for Base chain and pays per-call in USDC via x402 with no API key required.

## Known failure modes

- Invalid or non-existent contract address returns an error
- Token not deployed on Base (e.g. Ethereum mainnet address) returns not found
- Payment not provided or insufficient USDC causes 402 Payment Required
- Contract is unverified or too new for liquidity data to be available
- Rate limiting or worker timeout on high-traffic requests

## How this service works

Honeypot check and rug pull check for Base tokens (is this token safe?), new token launches feed for snipers, cheapest cloud GPU prices, web page to markdown scraper. Also tx explainer, wallet balances, x402 checker. No API key: pay USDC on Base per call via x402.

## Output

Returns a JSON object with: ok (boolean), verdict string (e.g. LOW_RISK, HIGH_RISK), riskScore (0–100 integer), array of risk flags (e.g. honeypot indicators, ownership issues), token symbol, current price in USD, liquidity in USD, and a sellSimulation object indicating whether a sell to pool would succeed.

## 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": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "ERC-20 contract address on Base"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "flags": [],
  "symbol": "AERO",
  "verdict": "LOW_RISK",
  "priceUsd": 0.8378,
  "riskScore": 0,
  "liquidityUsd": 48832868,
  "sellSimulation": {
   "simulated": true,
   "sellToPoolSucceeds": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/baselens-token-risk-check-bdf6f445/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from baselens.imac2014ville.workers.dev](https://www.zero.xyz/host/baselens.imac2014ville.workers.dev/llms.txt)
