# SperaxOS MEV Shield Transaction Analyzer

> SperaxOS MEV Shield Transaction Analyzer is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Analyzes a DEX swap transaction for MEV (Miner/Maximal Extractable Value) risk, sandwiching exposure, and front-running vulnerability based on token pair, amount, slippage, and chain.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/mev-shield/analyzeTransaction?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-mev-shield-transaction-analyzer-08258da3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L_CT-YmIa1QUaJN5lszbr

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 speraxos-mev-shield-transaction-analyzer-08258da3 -d '<json body>'
```

Example prompt: Before I swap 5000 USDC for ETH on Uniswap on Ethereum with 0.5% slippage tolerance, can you run an MEV shield analysis to check how exposed I am to sandwich attacks or front-running?

## When to prefer this

Choose this endpoint when an AI agent or DeFi user needs pre-trade MEV risk intelligence before executing a swap on a DEX. It is ideal for large swaps where sandwich attack risk is material, when slippage tolerance is uncertain, or when trading illiquid pairs. Prefer over generic gas estimators or slippage calculators when MEV bot exposure is the primary concern.

## Known failure modes

- Unsupported DEX name returns an error or low-confidence result
- Unsupported chain name causes a validation error
- Missing required fields (tokenIn, tokenOut, amount) result in a 400 bad request
- Payment failure via x402 (insufficient USDC balance) blocks the request
- Extremely small or zero amounts may produce unreliable risk scores

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns an AI-powered MEV risk assessment for the proposed swap, including likelihood of sandwich attacks, front-running exposure, slippage safety evaluation, and actionable recommendations to protect the transaction (e.g. tighter slippage, private mempool usage).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dex": {
   "type": "string",
   "description": "DEX being used (e.g. \"Uniswap\", \"Sushiswap\")."
  },
  "chain": {
   "type": "string",
   "description": "Chain name (default: ethereum)."
  },
  "amount": {
   "type": "string",
   "description": "Amount being swapped (human-readable, e.g. \"1000\")."
  },
  "tokenIn": {
   "type": "string",
   "description": "Token being sold (e.g. \"USDC\")."
  },
  "tokenOut": {
   "type": "string",
   "description": "Token being bought (e.g. \"ETH\")."
  },
  "slippageTolerance": {
   "type": "number",
   "description": "Slippage tolerance in percent (e.g. 0.5)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-mev-shield-transaction-analyzer-08258da3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
