# svm402 Quote Gate

> svm402 Quote Gate is a paid API for AI agents from svm402.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-13).

Runs full on-chain safety analysis (honeypot, authorities, taxes, liquidity) on swap mints before returning a quote, blocking unsafe trades before execution.

## Facts

- Endpoint: POST https://svm402.com/quote-gate?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/svm402-quote-gate-fcb6cfa5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dz7jgCEadijrJTOgbIt2A

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 svm402-quote-gate-fcb6cfa5 -d '<json body>'
```

Example prompt: Before I swap 1000000 USDC (input side) into the token at mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v with up to 50 bps slippage, run the full safety gate on that output mint and give me a quote only if it passes.

## When to prefer this

Choose this endpoint when an AI agent needs to execute or propose a Solana token swap and must screen for honeypots, malicious authorities, hidden taxes, or illiquid rugs before committing. It combines safety analysis and swap quoting into one atomic call, eliminating the need to chain a separate risk-check endpoint with a quoting endpoint. Prefer it over raw Jupiter quotes whenever the output token is unknown, newly listed, or not SOL/USDC, and you need a trust gate in the critical path of trade execution.

## Known failure modes

- Invalid or unrecognized mint address (non-base58, wrong length) returns validation error
- Token with no on-chain liquidity data causes analysis failure
- Slippage_bps outside 0-500 range rejected
- Amount of zero or non-positive integer rejected
- Output mint fails safety gate — quote withheld with risk details returned
- Jupiter routing unavailable for the requested pair
- Payment of 0.05 USDC not received — 402 response blocking the call

## How this service works

Analyze-then-quote gate for a swap an agent is about to make: runs the full deterministic analysis on the output mint (and the input mint when it is not SOL/USDC) — authorities, honeypot, taxes, liqu…

## Output

Returns a swap quote contingent on passing the deterministic safety analysis — includes the quote details (price, route, expected output) alongside the full token analysis report covering authority flags, honeypot detection result, buy/sell tax rates, liquidity depth, and an overall risk score for the output mint (and input mint if non-SOL/USDC). If the token fails the safety gate, the quote is withheld.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "string",
   "description": "Positive integer amount in base units"
  },
  "input_mint": {
   "type": "string",
   "maxLength": 44,
   "minLength": 32,
   "description": "Solana token mint address (base58, 32-44 chars)"
  },
  "amount_side": {
   "enum": [
    "in",
    "out"
   ],
   "type": "string"
  },
  "output_mint": {
   "type": "string",
   "maxLength": 44,
   "minLength": 32,
   "description": "Solana token mint address (base58, 32-44 chars)"
  },
  "slippage_bps": {
   "type": "integer",
   "maximum": 500,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/svm402-quote-gate-fcb6cfa5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from svm402.com](https://www.zero.xyz/host/svm402.com/llms.txt)
