# HexScan Smart Contract Risk Scanner

> HexScan Smart Contract Risk Scanner is a paid API for AI agents from hexscan.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Analyzes a smart contract address for honeypot patterns, tax/fee structures, and source code verification to assess risk before interaction

## Facts

- Endpoint: POST https://hexscan.xyz/scan
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hexscan-smart-contract-risk-scanner-73fef571
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ch7TycN0V1lN6z_k8NkE3

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 hexscan-smart-contract-risk-scanner-73fef571 -d '<json body>'
```

Example prompt: Before I buy this token, can you scan contract address 0x1234...abcd on Ethereum for honeypot traps, hidden taxes, and whether the source code is verified?

## When to prefer this

Choose this endpoint when you need fast, automated pre-trade risk triage for a smart contract — especially honeypot detection and tax analysis — before a DeFi swap or investment decision. It is best for quick go/no-go signals rather than comprehensive audits. Prefer this over manual block explorer checks when operating in an automated or agentic DeFi workflow.

## Known failure modes

- Invalid or unrecognized contract address returns an error
- Unsupported chain name causes a 400-level error
- Unverified or very new contracts may have limited analysis data
- Proxy contracts may only analyze the proxy, not the implementation
- Rate limit or payment failure returns 402 or 429 status

## How this service works

Is this token safe to buy? Honeypot detection, rug-pull and scam check for any ERC-20 token contract -- flags can't-sell traps, hidden mints, malicious buy/sell taxes, unverified source, and holder concentration. GoPlus-powered token security scan with risk score 0-100. Not an audit.

## Output

Returns a risk triage report including whether the contract exhibits honeypot behavior (prevents selling), buy and sell tax percentages, source code verification status, and any detected risk flags or anomalies. Not a full security audit but covers the most critical red flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Chain name"
  },
  "address": {
   "type": "string",
   "description": "Contract address"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hexscan-smart-contract-risk-scanner-73fef571/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hexscan.xyz](https://www.zero.xyz/host/hexscan.xyz/llms.txt)
