# Dexter Jupiter Swap Quote

> Dexter Jupiter Swap Quote is a paid API for AI agents from x402.dexter.cash, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches a Jupiter aggregator swap quote preview for a given input/output token pair and trade amount on Solana.

## Facts

- Endpoint: GET https://x402.dexter.cash/api/jupiter/quote
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-dexter-cash-74a02b08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__7w_CqD7yliF0WoPXjMPq

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-74a02b08
```

Example prompt: Give me a Jupiter swap quote on Dexter for trading 5 SOL to USDC — I want to see the expected output amount and price impact before I execute anything.

## When to prefer this

Use this endpoint when you need a pre-execution swap quote from the Jupiter aggregator on Solana, specifically to preview expected output, price impact, and routing before committing to a trade. Prefer this over the Pro-tier sibling endpoint for standard-volume trades. Best suited for agents building Solana DeFi workflows that need quote data without executing the swap.

## Known failure modes

- Invalid token mint address returns an error
- Trade amount too small or too large may return no valid route
- Token pair with insufficient liquidity may return high price impact warning or no route
- Network congestion may cause stale or unavailable quotes
- Missing required parameters (input token, output token, amount) returns 400 error
- Payment not completed ($0.05 USDC via x402) returns 402 Payment Required

## How this service works

Jupiter swap quote preview

## Output

Returns a Jupiter swap quote preview including expected output token amount, best route, price impact, and estimated fees for the specified input/output token pair and trade amount on Solana.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "string",
   "description": "Trade amount in SOL units. Blank uses 10 SOL."
  },
  "swapMode": {
   "enum": [
    "ExactIn",
    "ExactOut"
   ],
   "type": "string",
   "description": "Swap mode forwarded to Jupiter. Blank uses ExactIn."
  },
  "amountOut": {
   "type": "string",
   "description": "Optional: desired Donica output amount (ExactOut). Overrides amount when provided."
  },
  "inputMint": {
   "type": "string",
   "description": "Input mint address. Blank uses SOL."
  },
  "outputMint": {
   "type": "string",
   "description": "Output mint address. Blank uses the Donica Lewinsky (DONICA) mint."
  },
  "slippageBps": {
   "type": "integer",
   "description": "Slippage tolerance in bps. Blank uses 100."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean",
  "description": "True when the quote request succeeded."
 },
 "quote": {
  "type": "object",
  "properties": {
   "inAmount": {
    "type": "string",
    "description": "Atomic input amount."
   },
   "swapMode": {
    "type": "string",
    "description": "ExactIn or ExactOut."
   },
   "inputMint": {
    "type": "string",
    "description": "Input mint passed to Jupiter."
   },
   "outAmount": {
    "type": "string",
    "description": "Atomic output amount."
   },
   "routePlan": {
    "type": "array",
    "description": "Route legs Jupiter will execute."
   },
   "timeTaken": {
    "type": [
     "number",
     "null"
    ],
    "description": "Milliseconds Jupiter spent creating the quote."
   },
   "inAmountUi": {
    "type": "string",
    "description": "Input amount in SOL units."
   },
   "outputMint": {
    "type": "string",
    "description": "Output mint passed to Jupiter."
   },
   "contextSlot": {
    "type": [
     "number",
     "null"
    ],
    "description": "Slot number of the quote context."
   },
   "outAmountUi": {
    "type": "string",
    "description": "Output amount in Donica units."
   },
   "slippageBps": {
    "type": "number",
    "description": "Slippage tolerance applied to the quote."
   },
   "priceImpactPct": {
    "type": "string",
    "description": "Price impact expressed as a decimal percent (e.g., 0.025 = 2.5%)."
   },
   "inputMintDecimals": {
    "type": "number",
    "description": "Decimals used for the input mint."
   },
   "outputMintDecimals": {
    "type": "number",
    "description": "Decimals used for the output mint."
   },
   "otherAmountThreshold": {
    "type": "string",
    "description": "Amount threshold Jupiter guarantees after slippage."
   }
  },
  "description": "Raw Jupiter quote payload including route plan and price impact data."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dexter-cash-74a02b08/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)
