# Hexens Token Risk Analyzer

> Hexens Token Risk Analyzer is a paid API for AI agents from data-x402.hexens.io, paid per call via x402, $0.9/call, status unknown (last checked 2026-10-10).

Analyzes a token smart contract using a deterministic engine to produce a risk score and surface contract-level risks and edge cases

## Facts

- Endpoint: POST https://data-x402.hexens.io/api/v1/analyze?utm_source=zero.xyz
- Price: $0.9/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-x402-hexens-io-065b8de3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cri8t1KWyaJp_GrG7buNe

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 data-x402-hexens-io-065b8de3 -d '<json body>'
```

Example prompt: Can you run a Hexens deterministic risk analysis on this token contract — 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — and tell me the risk score and any contract-level red flags or edge cases found?

## When to prefer this

Choose this endpoint when you need a high-precision, deterministic risk score for a specific token contract — especially before trading, listing, or deploying a token. Prefer it over heuristic or ML-based scanners when reproducibility and edge-case coverage matter. Ideal for DeFi security bots, trading agents, and token listing platforms that need reliable contract-level risk intelligence.

## Known failure modes

- Invalid or malformed contract address returns a validation error
- Unsupported blockchain network returns an error
- Contract not yet indexed or deployed returns a not-found error
- Payment failure (insufficient USDC) blocks the request
- Rate limiting if too many requests are sent in quick succession

## How this service works

Token Risks API. This API provides the deepest and the most high-precision results finding token risks and unique edge cases using a deterministic engine. Use this API after deploying a token or trading a token to check for the contract risk score and if needed make decisions based on that.

## Output

A contract risk score and a set of identified risk flags, vulnerabilities, or edge cases found in the token contract, produced by a deterministic analysis engine.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "bsc",
    "optimism",
    "polygon",
    "arbitrum_one",
    "moonbeam",
    "moonriver",
    "cronos",
    "bit_torrent",
    "celo",
    "gnosis",
    "arbitrum_nova",
    "base",
    "polygon_zkevm",
    "linea",
    "frax",
    "avalanche_c_chain",
    "blast",
    "mantle",
    "taiko",
    "xdc",
    "ape",
    "world",
    "unichain",
    "sonic",
    "sophon",
    "abstract",
    "berachain",
    "memecore",
    "swellchain"
   ],
   "type": "string",
   "description": "Chain name where the token is deployed. Use /api/v1/chains to get the list of available chains."
  },
  "address": {
   "type": "string",
   "description": "Token contract address to analyze"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address",
  "chain_id",
  "query_name",
  "results",
  "info"
 ],
 "properties": {
  "info": {
   "type": "object",
   "properties": {
    "is_erc20": {
     "type": "boolean",
     "description": "Whether the contract is ERC20 compliant"
    },
    "is_proxy": {
     "type": "boolean",
     "description": "Whether the contract uses a proxy pattern"
    },
    "is_verified": {
     "type": "boolean",
     "description": "Whether the contract source code is verified"
    },
    "proxy_address": {
     "type": "string",
     "description": "Proxy contract address"
    },
    "implementation_address": {
     "type": [
      "string",
      "null"
     ],
     "description": "Implementation contract address (null if not a proxy)"
    }
   },
   "description": "Additional information about the token contract"
  },
  "score": {
   "type": "number",
   "description": "Overall risk score"
  },
  "address": {
   "type": "string",
   "description": "Token contract address that was analyzed"
  },
  "results": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "key": {
      "type": "string",
      "description": "Unique identifier for the risk check"
     },
     "title": {
      "type": "string",
      "description": "Title of the risk"
     },
     "value": {
      "type": "boolean",
      "description": "Boolean indicating if the risk is present"
     },
     "severity": {
      "type": "string",
      "description": "Severity level of the risk"
     },
     "sub_title": {
      "type": "string",
      "description": "Subtitle providing additional context"
     },
     "description": {
      "type": "string",
      "description": "Detailed description of the risk"
     },
     "code_snippets": {
      "type": [
       "array",
       "null"
      ],
      "items": {
       "type": "object",
       "properties": {
        "contract_code": {
         "type": "string",
         "description": "Full contract code snippet"
        },
        "function_code": {
         "type": "string",
         "description": "Function code snippet"
        },
        "instruction_code": {
         "type": "string",
         "description": "Specific instruction or line of code"
        }
       }
      },
      "description": "Code snippets demonstrating the risk (null if not applicable)"
     }
    }
   },
   "description": "Array of risk analysis results for the token"
  },
  "chain_id": {
   "type": "string",
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-x402-hexens-io-065b8de3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data-x402.hexens.io](https://www.zero.xyz/host/data-x402.hexens.io/llms.txt)
