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
| Name | Type | Required | Description |
|---|---|---|---|
input_mint | string | yes | Input token mint address (base58). |
output_mint | string | yes | Output token mint address (base58). |
amount | string | yes | Amount of input_mint to swap, in base units (integer, as a string or number — e.g. “1000000000” for 1 SOL). |
slippage_bps | number | no | Max 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
| Field | Type | Description |
|---|---|---|
source | string | |
fetched_at | string | |
input_mint | string | |
output_mint | string | |
in_amount | string | |
out_amount | string | |
other_amount_threshold | string | |
swap_mode | string | |
slippage_bps | number | |
price_impact_pct | string | |
swap_usd_value | string | |
context_slot | number | |
route | array |
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.