Jupiter Swap Quote logo

Catalog action Solana Onchain

Get a swap quote from Jupiter, Solana's leading DEX aggregator. Returns the best route, expected output amount, and price impact for any SPL token pair. Read-only — does not execute a swap. Ideal for: price checks, swap previews, route analysis.

At a Glance

FieldValue
Action IDjupiter-quote
CategorySolana Onchain
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagssolana, jupiter, swap, quote, dex, defi, read

Payload Schema

FieldTypeRequiredDescription
inputMintstringYesContract address of the token you want to sell (e.g., the USDC or SOL mint address). Find it on Solscan or Jupiter.
outputMintstringYesContract address of the token you want to buy (e.g., the USDC or SOL mint address). Find it on Solscan or Jupiter.
amountstringYesAmount in smallest unit (raw, not human-readable). For example: 1 SOL = 1000000000, 1 USDC = 1000000.
slippageBpsnumberNoMaximum acceptable price difference in basis points. 50 = 0.5%, 100 = 1%. Default: 50 (0.5%).

Result Schema

FieldTypeRequiredDescription
inAmountstringYesInput amount in smallest unit
outAmountstringYesOutput amount in smallest unit
otherAmountThresholdstringNoMinimum output amount accounting for slippage
priceImpactPctstringNoPrice impact as a percentage string (e.g. '0.01')
inputMintstringYesInput token mint address
outputMintstringYesOutput token mint address
routePlanarrayNoRoute plan detailing the swap path through DEX pools

Examples

json
{ "type": "jupiter-quote", "payload": { "inputMint": "example-inputMint", "outputMint": "example-outputMint", "amount": "1000000" }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I