jupiter_quote

Pack: jupiter · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/jupiter_quote for the schema, then POST the same URL with its arguments for the data.

Best swap route and quote between two Solana token mints via Jupiter Aggregator — expected output amount, price impact, and the route (which AMMs/DEXes it crosses). Amount is in the INPUT token’s base units (e.g. lamports for SOL: 1 SOL = 1_000_000_000).

Parameters

NameTypeRequiredDescription
input_mintstringyesInput token mint address (base58).
output_mintstringyesOutput token mint address (base58).
amountstringyesAmount of input_mint to swap, in base units (integer, as a string or number — e.g. “1000000000” for 1 SOL).
slippage_bpsnumbernoMax slippage in basis points. Default 50 (0.5%).

Example call

Arguments

{
  "input_mint": "So11111111111111111111111111111111111111112",
  "output_mint": "Ez1zGM23iZgzxvinkNEnTuSkyicwbahvRjfpRDaWnzbj",
  "amount": "10000000",
  "slippage_bps": 100
}

curl

curl -X POST https://gateway.pipeworx.io/jupiter/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jupiter_quote","arguments":{"input_mint":"So11111111111111111111111111111111111111112","output_mint":"Ez1zGM23iZgzxvinkNEnTuSkyicwbahvRjfpRDaWnzbj","amount":"10000000","slippage_bps":100}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('jupiter_quote', {
  "input_mint": "So11111111111111111111111111111111111111112",
  "output_mint": "Ez1zGM23iZgzxvinkNEnTuSkyicwbahvRjfpRDaWnzbj",
  "amount": "10000000",
  "slippage_bps": 100
});

Response shape

FieldTypeDescription
sourcestring
fetched_atstring
input_mintstring
output_mintstring
in_amountstring
out_amountstring
other_amount_thresholdstring
swap_modestring
slippage_bpsnumber
price_impact_pctstring
swap_usd_valuestring
context_slotnumber
routearray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "input_mint": {
      "type": "string"
    },
    "output_mint": {
      "type": "string"
    },
    "in_amount": {
      "type": "string"
    },
    "out_amount": {
      "type": "string"
    },
    "other_amount_threshold": {
      "type": "string"
    },
    "swap_mode": {
      "type": "string"
    },
    "slippage_bps": {
      "type": "number"
    },
    "price_impact_pct": {
      "type": "string"
    },
    "swap_usd_value": {
      "type": "string"
    },
    "context_slot": {
      "type": "number"
    },
    "route": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amm": {
            "type": "string"
          },
          "amm_address": {
            "type": "string"
          },
          "input_mint": {
            "type": "string"
          },
          "output_mint": {
            "type": "string"
          },
          "in_amount": {
            "type": "string"
          },
          "out_amount": {
            "type": "string"
          },
          "percent": {
            "type": "number"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the jupiter pack
{
  "mcpServers": {
    "jupiter": {
      "url": "https://gateway.pipeworx.io/jupiter/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 3, 2026