# ERC20 Honeypot & Transfer Restriction Detector

> ERC20 Honeypot & Transfer Restriction Detector is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs a heuristic on-chain honeypot check for an ERC20 token via eth_call, detecting active owner control, transfer restrictions, and sell-prevention mechanisms on Ethereum and Base.

## Facts

- Endpoint: GET https://api.x402node.dev/chain/honeypot
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc20-honeypot-transfer-restriction-detector-3fce7a76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g7gTOoHZRltamELY6OHs2

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 erc20-honeypot-transfer-restriction-detector-3fce7a76
```

Example prompt: Before I buy, run a honeypot check on this token contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — can I actually sell it later, or does it have transfer restrictions that would trap me?

## When to prefer this

Use this endpoint when you need to assess whether a specific ERC20 token can be resold after purchase — particularly before executing a buy on Ethereum or Base. Prefer this over general token info endpoints when the primary concern is sell-ability, owner control, and transfer restriction traps rather than tax rates or contract age.

## Known failure modes

- Invalid or non-existent contract address returns an error
- Unsupported chain (not Ethereum or Base) returns unsupported network error
- Contract is not an ERC20 token, leading to inconclusive or error response
- RPC node timeout causing a failed eth_call
- Payment not included or insufficient USDC, resulting in 402 Payment Required

## How this service works

Heuristic honeypot and risk check for an ERC20 token via on-chain eth_call - detects active owner control and transfer restrictions that can trap buyers, on Ethereum and Base. honeypot check, honeypot detector, can i sell token, token scam check, rug detection, transfer restriction Accepts payment on Base or Solana — either network works.

## Output

Returns a risk assessment indicating whether the token is a likely honeypot, whether the owner retains privileged control, whether transfer restrictions are active that could prevent selling, and any other on-chain signals suggesting buyer-trapping or rug-pull risk.

## Example request

```json
{
 "chain": "ethereum",
 "token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}
```

## 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": [
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "ethereum, base (default)"
      },
      "token": {
       "type": "string",
       "description": "ERC20 contract address (required)"
      },
      "address": {
       "type": "string",
       "description": "EVM/chain address (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc20-honeypot-transfer-restriction-detector-3fce7a76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
