# Contract Safety Checker (Base/BSC)

> Contract Safety Checker (Base/BSC) is a paid API for AI agents from node-starter--maxujon18.replit.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Performs on-chain risk assessment of an EVM token contract on Base or BSC, checking proxy pattern, owner renouncement, and source-code verification status.

## Facts

- Endpoint: GET https://node-starter--maxujon18.replit.app/api/check-contract
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/contract-safety-checker-base-bsc-b2efb72f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q9hot7v5toBwtKMmddQZ9

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 contract-safety-checker-base-bsc-b2efb72f
```

Example prompt: Can you do a safety check on this Base contract — 0x1234567890abcdef1234567890abcdef12345678 — and tell me if it's a proxy, whether ownership has been renounced, and if the source code is verified?

## When to prefer this

Use this endpoint when you need a quick, structured risk assessment of a specific EVM token contract on Base or BSC, especially when you want to surface proxy patterns, ownership status, and source verification in a single call without manually querying block explorers.

## Known failure modes

- Invalid or malformed contract address returns an error
- Contract not found on the specified chain
- Unsupported chain value (only 'base' and 'bsc' are accepted)
- Payment not received or insufficient — returns 402 Payment Required
- RPC or on-chain data unavailable — may return a 503 or timeout

## How this service works

x402 v2 paid EVM token contract risk API on Base and BSC. For 0.02 USDC, returns EIP-1967 proxy detection, owner control and renouncement status, and block-explorer source-code verification. Built for AI agents, bots, and automated token screening.

## Output

Returns a structured object with the contract address, chain, a risk level enum (low, medium, or high), an array of risk signal strings describing specific findings (e.g. proxy detected, ownership not renounced, unverified source), and a timestamp of when the check was performed.

## 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",
        "bsc"
       ],
       "type": "string",
       "description": "Chain to check the contract on"
      },
      "address": {
       "type": "string",
       "description": "EVM contract address to check (0x...)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "address",
      "chain",
      "riskLevel",
      "signals",
      "checkedAt"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "signals": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "checkedAt": {
       "type": "string"
      },
      "riskLevel": {
       "enum": [
        "low",
        "medium",
        "high"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/contract-safety-checker-base-bsc-b2efb72f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from node-starter--maxujon18.replit.app](https://www.zero.xyz/host/node-starter--maxujon18.replit.app/llms.txt)
