# StealthGuard Pre-Trade Agent Gate

> StealthGuard Pre-Trade Agent Gate is a paid API for AI agents from stealthguard-402.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Runs a deterministic TRUST or BLOCK decision on a token or trade target by combining on-chain Base RPC liquidity checks, honeypot detection, and CanaryGuard prompt-injection scrubbing.

## Facts

- Endpoint: POST https://stealthguard-402.onrender.com/v1/pre_trade_agent_gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stealthguard-pre-trade-agent-gate-8e450167
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wH0e7n8jY44Z4yja5hJGg

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 stealthguard-pre-trade-agent-gate-8e450167 -d '<json body>'
```

Example prompt: Before my agent buys this Base token at address 0xAbCd...1234, run the pre-trade safety gate — check for honeypot behavior, liquidity issues, and any prompt-injection risks in the response data.

## When to prefer this

Choose this endpoint when an autonomous agent needs a single deterministic safety verdict before executing a DeFi trade on Base — especially when combining honeypot risk, liquidity depth, and prompt-injection defense into one call is preferable to orchestrating three separate checks. Ideal for agent pipelines where a TRUST/BLOCK binary gate is needed rather than raw data to interpret.

## Known failure modes

- Invalid or unresolvable token/contract address returns a BLOCK with error details
- Base RPC node timeout results in an inconclusive or failed gate response
- Malformed request body (missing required fields) returns a 400-level validation error
- Service downtime on Render infrastructure causes 502/503 responses
- Rate limiting or payment failure on the x402 micropayment layer blocks the call

## How this service works

Deterministic TRUST or BLOCK gate combining on-chain Base RPC liquidity and honeypot checks with CanaryGuard injection scrubbing.

## Output

A deterministic TRUST or BLOCK verdict combining: (1) on-chain Base RPC liquidity assessment, (2) honeypot detection for the target token or contract, and (3) CanaryGuard prompt-injection scrubbing of the response — returned as a structured gate decision indicating whether an agent should proceed or halt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "solana"
   ],
   "type": "string",
   "default": "base",
   "description": "Target blockchain ecosystem"
  },
  "target_url": {
   "type": "string",
   "description": "Optional associated project or dApp URL"
  },
  "strict_mode": {
   "type": "boolean",
   "default": true,
   "description": "Deterministic prompt-injection sanitization strictness"
  },
  "token_or_service_address": {
   "type": "string",
   "description": "EVM contract address or Solana mint/account"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stealthguard-pre-trade-agent-gate-8e450167/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stealthguard-402.onrender.com](https://www.zero.xyz/host/stealthguard-402.onrender.com/llms.txt)
