# CoinOpSelect Token Safety API

> CoinOpSelect Token Safety API is a paid API for AI agents from coinop.publicvm.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Returns a safety score, risk verdict, and red flags for a given ERC-20 token contract address on Base, Arbitrum, or Ethereum.

## Facts

- Endpoint: GET https://coinop.publicvm.com/api/v1/query/token-safety?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopselect-token-safety-api-abba0596
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fSiEymJTgbtREv-M5zADD

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 coinopselect-token-safety-api-abba0596
```

Example prompt: Before I buy this token, can you run a safety check on the contract 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base and tell me the risk verdict and any flags?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically assess the on-chain safety of an ERC-20 token before a trade, listing, or investment decision — especially on Base. It is particularly valuable in autonomous DeFi workflows where human review is not practical, and when you need a structured risk score plus specific flags rather than just a general description. Prefer this over manual block explorer lookups when you need a machine-readable verdict with confidence score.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Unsupported network value causes a validation error
- Token not yet indexed may return incomplete or no data
- Rate limit or payment failure via x402 blocks the request
- Cached results may be stale for recently deployed tokens

## How this service works

Paid on-chain token, wallet, contract and research data over x402 on Base.

## Output

A JSON object containing: a numeric safety score (0–100), a verdict string (e.g. 'low_risk', 'high_risk'), an array of risk flags, the token owner address, total supply, decimals, chain ID, network name, and a generatedAt timestamp. Also includes whether the result was served from cache.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "Token contract address (0x..)"
      },
      "network": {
       "type": "string",
       "description": "base|arbitrum|ethereum (default base)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "flags": {
     "type": "array"
    },
    "owner": {
     "type": "string"
    },
    "query": {
     "type": "string"
    },
    "score": {
     "type": "number"
    },
    "token": {
     "type": "string"
    },
    "chainId": {
     "type": "number"
    },
    "network": {
     "type": "string"
    },
    "verdict": {
     "type": "string"
    },
    "decimals": {
     "type": "number"
    },
    "fromCache": {
     "type": "boolean"
    },
    "generatedAt": {
     "type": "string"
    },
    "totalSupply": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "flags": [],
  "owner": "0x..",
  "query": "0x..",
  "score": 0,
  "token": "0x..",
  "chainId": 8453,
  "network": "base",
  "verdict": "low_risk",
  "decimals": 6,
  "fromCache": false,
  "generatedAt": "2026-01-01T00:00:00.000Z",
  "totalSupply": "0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinopselect-token-safety-api-abba0596/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinop.publicvm.com](https://www.zero.xyz/host/coinop.publicvm.com/llms.txt)
