# Preflight Agent – Solana Swap Execution-Risk Check

> Preflight Agent – Solana Swap Execution-Risk Check is a paid API for AI agents from preflight-agent.netlify.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Validates a Solana swap quote or unsigned transaction for execution risk by simulating the transaction and independently verifying pricing via Jupiter Swap V2 before signing.

## Facts

- Endpoint: POST https://preflight-agent.netlify.app/api/check
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/preflight-agent-solana-swap-execution-risk-check-67d96932
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zyZ0mbu8URTW6eVK3kEaG

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 preflight-agent-solana-swap-execution-risk-check-67d96932 -d '<json body>'
```

Example prompt: Before I sign this swap, run a preflight risk check on it — here's the unsigned transaction in base64 and the quote I was given, and compare it against independent Jupiter pricing to make sure the quote is fair and the transaction will actually go through.

## When to prefer this

Use this endpoint when an agent or wallet needs to validate a Solana swap quote or transaction before signing, especially to catch price manipulation, MEV sandwiching, excessive slippage, or transactions likely to fail. Prefer this over blindly trusting aggregator quotes when executing swaps of significant value or in automated trading pipelines where bad trades would be costly.

## Known failure modes

- Invalid or malformed base64 transaction string returns a parse error
- Quote significantly deviates from market — returns risk flag with deviation details
- Transaction simulation fails — returns failure reason from Solana RPC
- Missing both quote and transactionBase64 — insufficient input to perform any check
- Jupiter V2 API unavailable — independent price verification cannot be completed

## How this service works

Preflight execution-risk check for a Solana swap quote or unsigned transaction

## Output

Returns an execution-risk report indicating whether the quoted price aligns with independent Jupiter market pricing, whether the simulated transaction is expected to succeed, and any risk flags such as price deviation, slippage abuse, or likely transaction failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "quote": {
   "type": "object",
   "description": "Optional submitted quote to compare against independent market pricing."
  },
  "trade": {
   "type": "object",
   "description": "ExactIn trade request used for independent Jupiter Swap V2 verification."
  },
  "options": {
   "type": "object",
   "description": "Optional strictness controls."
  },
  "transactionBase64": {
   "type": "string",
   "description": "Optional Solana transaction to simulate before signing."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preflight-agent-solana-swap-execution-risk-check-67d96932/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight-agent.netlify.app](https://www.zero.xyz/host/preflight-agent.netlify.app/llms.txt)
