# Honeypot Test by Real Buy and Sell Simulation

> Honeypot Test by Real Buy and Sell Simulation is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-16).

Simulates a real buy and sell of a token on-chain to detect honeypots, reporting buy/sell success, tax rates, honeypot reason, and estimated round-trip cost.

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/token-simulate?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/honeypot-test-by-real-buy-and-sell-simulation-5c1d9622
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kzzxr7xBe_zDdDKGoIce2

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 honeypot-test-by-real-buy-and-sell-simulation-5c1d9622 -d '<json body>'
```

Example prompt: Before I buy this token at 0x742d35Cc6634C0532925a3b8D4C9E2A5C8E1234F on Base with $500, can you simulate a real buy and sell to check if it's a honeypot and tell me the tax and estimated round-trip cost?

## When to prefer this

Use this endpoint when you need to verify whether a specific DeFi token is a honeypot before executing a trade, especially for unknown or newly launched tokens on EVM chains. It is superior to static honeypot checkers because it replays an actual on-chain buy and sell rather than relying on contract code analysis alone, making it the best choice for trading bots that need real exit-ability confirmation. Prefer this over general rug-pull checkers when you specifically need buy/sell tax rates and round-trip cost estimates for a given trade size.

## Known failure modes

- Token has no liquidity — returns status no_liquidity with no simulation results
- Solana tokens return status not_simulated with authority and pool checks only instead of a full simulation
- Invalid or non-existent contract address returns an error or empty response
- Unsupported chain name returns a validation error
- Trade amount outside the 1–100000 USD range may return a validation error
- Network congestion or RPC issues may cause simulation timeouts

## How this service works

Replays a real buy and sell of the token on chain state and tells you if you can get out again: buy_succeeded, sell_succeeded, buy and sell tax in percent, honeypot reason, estimated round-trip cost in percent and USD for amount_usd, plus the pools used. Use before buying an unknown token or in a trading bot. EVM chains are simulated; Solana returns status not_simulated with authority and pool checks. No liquidity returns status no_liquidity. Cost excludes LP fees and gas.

## Output

Returns a JSON object indicating whether the simulated buy and sell each succeeded, the buy and sell tax as percentages, the reason the token is flagged as a honeypot (if applicable), the estimated round-trip cost as both a percentage and USD amount for the specified trade size, and the liquidity pools used in the simulation. EVM chains run a full simulation; Solana returns authority and pool checks with status not_simulated. Tokens with no liquidity return status no_liquidity. Cost figures exclude LP fees and gas.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "base (default), ethereum, bsc, arbitrum, polygon, avalanche or optimism"
  },
  "token": {
   "type": "string",
   "description": "Token contract address (0x...)"
  },
  "amount_usd": {
   "type": "number",
   "default": 100,
   "description": "Trade size in USD, 1 to 100000"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/honeypot-test-by-real-buy-and-sell-simulation-5c1d9622/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentsvc.io](https://www.zero.xyz/host/agentsvc.io/llms.txt)
