# Dexter Slippage Sentinel

> Dexter Slippage Sentinel is a paid API for AI agents from x402.dexter.cash, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Analyzes safe swap slippage in basis points for ExactIn or ExactOut trades on Solana DEXes, returning pool depth, price impact, and minimum safe slippage recommendations.

## Facts

- Endpoint: POST https://x402.dexter.cash/api/slippage/sentinel?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-dexter-cash-a3916375
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MgnrSzNBLu_AFHxHFkMQ5

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 x402-dexter-cash-a3916375 -d '<json body>'
```

Example prompt: What's the minimum safe slippage in basis points for an ExactIn swap of 1,000,000,000 raw USDC (tokenIn EPjFWdd5Au57nKisPQs46fqV7aSGstB76oj3SP6SucUt) to SOL (So11111111111111111111111111111111111111112) on Raydium right now?

## When to prefer this

Use this endpoint when you need a data-driven, per-trade slippage recommendation for Solana DEX swaps, especially for large trades where price impact matters. Prefer this over static slippage defaults when trading on volatile or low-liquidity pools, or when you need diagnostics like pool depth, volatility buffer, and worst observed impact to decide whether a swap is safe to execute.

## Known failure modes

- Invalid or unsupported DEX name — service may return ok:false or error
- Unknown token mint address — quote context unavailable
- Insufficient trade sample data — falls back to wider window or default slippage
- Amount too small or too large for meaningful pool depth analysis
- Payment not provided or invalid x402 payment — 402 Payment Required response

## How this service works

Slippage Sentinel analysis

## Output

Returns a JSON object with ok status, pool depth breakdown per AMM (USD value, in/out amounts, AMM key), diagnostics (input USD value, stress multiplier, volatility buffer bps, worst observed price impact bps, trade sample count and window), minimum safe slippage in basis points (minSafeSlipBps), 95th-percentile recent trade size stats, and candidate slippage evaluations for the requested trade.

## Example request

```json
{
 "dex": "Raydium",
 "tokenIn": "EPjFWdd5Au57nKisPQs46fqV7aSGstB76oj3SP6SucUt",
 "amountIn": "100000000",
 "tokenOut": "So11111111111111111111111111111111111111112",
 "tradeDirection": "ExactIn"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "ExactIn",
    "ExactOut"
   ],
   "type": "string",
   "description": "Swap direction passed to Jupiter (default ExactIn)."
  },
  "token_in": {
   "type": "string",
   "description": "Input mint (defaults to SOL). Provide a 32-byte mint address."
  },
  "amount_in": {
   "type": "string",
   "description": "Optional atomic trade size. Overrides amount_in_ui when provided."
  },
  "token_out": {
   "type": "string",
   "description": "Output mint to analyze. Blank uses the Donica Lewinsky (DONICA) mint."
  },
  "route_hint": {
   "type": "string",
   "description": "Optional label for diagnostics grouping (defaults to diagnostics)."
  },
  "amount_in_ui": {
   "type": "number",
   "description": "UI trade size (e.g. 10 for 10 SOL). Used when amount_in is omitted."
  },
  "amount_in_decimals": {
   "type": "integer",
   "description": "Token decimals for amount_in_ui. Required when amount_in_ui is used."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean",
  "description": "True when the slippage analysis succeeded."
 },
 "error": {
  "type": "string",
  "description": "Error code when ok=false (e.g. slippage_timeout)."
 },
 "result": {
  "type": "object",
  "properties": {
   "poolDepths": {
    "type": "array",
    "description": "Per-amm depth analysis (route contribution, in/out amounts, USD value)."
   },
   "diagnostics": {
    "type": "object",
    "description": "Metadata (input USD, stress multipliers, quote slot, evaluated timestamp)."
   },
   "minSafeSlipBps": {
    "type": "number",
    "description": "Recommended minimum slippage buffer in bps."
   },
   "recentTradeSizeP95": {
    "type": "object",
    "description": "Recent trade size distribution (p95) used for stress tests."
   },
   "candidateEvaluations": {
    "type": "array",
    "description": "Evaluated slippage candidates with pass/fail results."
   }
  },
  "description": "Detailed slippage analysis including candidate evaluations and pool depth snapshots."
 },
 "status": {
  "type": [
   "integer",
   "null"
  ],
  "description": "Upstream or timeout HTTP status when ok=false."
 },
 "amountRaw": {
  "type": "string",
  "description": "Atomic trade size forwarded to Jupiter (in token_in units)."
 },
 "amountDerivedFromUi": {
  "type": "boolean",
  "description": "true if amount_in_ui/decimals were used to derive amountRaw."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dexter-cash-a3916375/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dexter.cash](https://www.zero.xyz/host/x402.dexter.cash/llms.txt)
