# AgentFeed Solana DEX Quote (Jupiter)

> AgentFeed Solana DEX Quote (Jupiter) is a paid API for AI agents from x402.ochinimus.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns an executable DEX swap quote from Jupiter for any Solana SPL token pair, including output amount, price impact, routing path, and slippage.

## Facts

- Endpoint: GET https://x402.ochinimus.app/api/dex-quote?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-solana-dex-quote-jupiter-84162d47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tKJjTwJq9T38B4p2XKXh8

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 agentfeed-solana-dex-quote-jupiter-84162d47
```

Example prompt: What's the Jupiter DEX quote for swapping 1,000,000,000 raw units of SOL (So11111111111111111111111111111111111111112) to USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) on Solana right now — include the route, price impact, and slippage?

## When to prefer this

Choose this endpoint when you need a real, executable swap quote from Jupiter on Solana — specifically the on-chain DEX price with routing and slippage details for any SPL token pair. Prefer it over index price APIs when you need actual trade execution feasibility data. Best for DeFi agents, trading bots, arbitrage detection, or pre-trade analysis on the Solana ecosystem.

## Known failure modes

- Invalid or non-existent mint address returns an error or empty route
- Amount of 0 or malformed raw unit string may cause rejection
- Token pair with no liquidity on Jupiter returns no route or zero output
- Network congestion or Jupiter API downtime causes timeout or 5xx error
- Payment failure (x402) results in 402 response before data is returned

## How this service works

Solana DEX quote from Jupiter for any SPL pair: output amount, price impact %, the route taken and the slippage assumed. Use when you need to answer: What will this swap actually execute at? The real executable price on Solana, not an index price.

## Output

Returns a JSON object containing: the output mint address, the computed output token amount in raw base units, price impact as a percentage, the swap route taken (array of hops/pools), slippage in basis points, input mint and amount, and the minimum output threshold (other_amount_threshold). The source field indicates Jupiter as the aggregator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input_mint",
      "output_mint",
      "amount"
     ],
     "properties": {
      "amount": {
       "type": "string",
       "description": "amount in raw base units of input mint"
      },
      "input_mint": {
       "type": "string",
       "description": "input mint (base58)"
      },
      "output_mint": {
       "type": "string",
       "description": "output mint (base58)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "route": {
         "type": "array"
        },
        "source": {
         "type": "string"
        },
        "in_amount": {
         "type": "string"
        },
        "input_mint": {
         "type": "string"
        },
        "out_amount": {
         "type": "string"
        },
        "output_mint": {
         "type": "string"
        },
        "slippage_bps": {
         "type": "number"
        },
        "price_impact_pct": {
         "type": "number"
        },
        "other_amount_threshold": {
         "type": "string"
        }
       }
      },
      "paid": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "route": [
    "BisonFi"
   ],
   "source": "jupiter-v6",
   "in_amount": "1000000000",
   "input_mint": "So11111111111111111111111111111111111111112",
   "out_amount": "121197247",
   "output_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
   "slippage_bps": 50,
   "price_impact_pct": 0,
   "other_amount_threshold": "120591261"
  },
  "paid": true,
  "tool": "get_dex_quote"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-solana-dex-quote-jupiter-84162d47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ochinimus.app](https://www.zero.xyz/host/x402.ochinimus.app/llms.txt)
