# Token Risk Score & Security Audit

> Token Risk Score & Security Audit is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Generates a composite 0-100 risk score for a crypto token by aggregating honeypot detection, GoPlus Security data, and Etherscan contract age into safe/caution/high_risk verdicts with subscores.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/token-risk
- 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/x402-deployer-x402-deployer-workers-dev-e94d5a25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VfY5dKydOmIdXEYaG1laL

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 x402-deployer-x402-deployer-workers-dev-e94d5a25 -d '<json body>'
```

Example prompt: Can you run a full security audit on this token contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum and tell me if it's safe to buy — give me the composite risk score and all the subscores like honeypot, taxes, liquidity, and ownership?

## When to prefer this

Choose this endpoint when you need a single aggregated risk verdict for a token that combines multiple security data sources (honeypot detection, GoPlus, Etherscan) into one normalized score. Ideal for pre-investment screening, wallet safety checks, or automated DeFi trading bots that need a fast go/no-go signal without querying each provider separately.

## Known failure modes

- Invalid or malformed contract address returns 400 error
- Token not found on the specified chain returns 404 or empty result
- Etherscan/GoPlus/honeypot.is upstream API timeout causes degraded or partial response
- Unverified contract with no on-chain data may return incomplete subscores
- Payment failure ($0.10 USDC not received) returns 402 Payment Required

## How this service works

Token risk score / token security audit / rug-pull score / token safety check. Composite 0-100 score from honeypot.is + GoPlus Security + Etherscan contract age. Subscores: honeypot, taxes, holder concentration, liquidity, contract age, ownership. Verdict: safe / caution / high_risk.

## Output

Returns a composite 0-100 risk score, a top-level verdict (safe, caution, or high_risk), and individual subscores covering honeypot detection, buy/sell taxes, holder concentration, liquidity depth, contract age, and ownership renouncement status.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "ethereum",
   "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "token_address": {
       "type": "string",
       "description": "0x-prefixed 20-byte EVM token contract address."
      },
      "chain": {
       "type": "string",
       "enum": [
        "base",
        "ethereum",
        "bsc"
       ],
       "description": "EVM chain. Default 'base'."
      }
     },
     "required": [
      "token_address"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "token": {
       "type": "object",
       "properties": {
        "address": {
         "type": "string"
        },
        "name": {
         "type": "string"
        },
        "symbol": {
         "type": "string"
        },
        "decimals": {
         "type": "integer"
        }
       }
      },
      "chain": {
       "type": "string"
      },
      "score": {
       "type": "integer"
      },
      "verdict": {
       "type": "string"
      },
      "subscores": {
       "type": "object",
       "properties": {
        "honeypot": {
         "type": "integer"
        },
        "taxes": {
         "type": "integer"
        },
        "holder_concentration": {
         "type": "integer"
        },
        "liquidity": {
         "type": "integer"
        },
        "contract_age": {
         "type": "integer"
        },
        "ownership": {
         "type": "integer"
        }
       }
      },
      "warnings": {
       "type": "array"
      },
      "data_sources": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-e94d5a25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
