Skip to main content
GET
/
order
order
curl --request GET \
  --url https://lite-api.jup.ag/ultra/v1/order
{
  "mode": "<string>",
  "inputMint": "<string>",
  "outputMint": "<string>",
  "inAmount": "<string>",
  "outAmount": "<string>",
  "inUsdValue": 123,
  "outUsdValue": 123,
  "priceImpact": 123,
  "swapUsdValue": 123,
  "otherAmountThreshold": "<string>",
  "swapMode": "<string>",
  "slippageBps": 123,
  "priceImpactPct": "<string>",
  "routePlan": [
    {
      "swapInfo": {
        "ammKey": "<string>",
        "label": "<string>",
        "inputMint": "<string>",
        "outputMint": "<string>",
        "inAmount": "<string>",
        "outAmount": "<string>",
        "feeAmount": "<string>",
        "feeMint": "<string>"
      },
      "percent": 123,
      "bps": 123,
      "usdValue": 123
    }
  ],
  "referralAccount": "<string>",
  "feeMint": "<string>",
  "feeBps": 123,
  "platformFee": {
    "amount": "<string>",
    "feeBps": 123
  },
  "signatureFeeLamports": 123,
  "signatureFeePayer": "<string>",
  "prioritizationFeeLamports": 123,
  "prioritizationFeePayer": "<string>",
  "rentFeeLamports": 123,
  "rentFeePayer": "<string>",
  "swapType": "<string>",
  "router": "iris",
  "transaction": "<string>",
  "gasless": true,
  "requestId": "<string>",
  "totalTime": 123,
  "taker": "<string>",
  "quoteId": "<string>",
  "maker": "<string>",
  "expireAt": "<string>",
  "errorCode": 1,
  "errorMessage": "Insufficient funds"
}

Query Parameters

inputMint
string
default:So11111111111111111111111111111111111111112
required
outputMint
string
default:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
required
amount
string
default:10000000
required
taker
string
default:vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5
receiver
string
payer
string
closeAuthority
string
referralAccount
string
referralFee
number
Required range: 50 <= x <= 255
excludeRouters
enum<string>
Available options:
iris,
jupiterz,
dflow,
okx
excludeDexes
string

Response

mode
string
required
inputMint
string
required
outputMint
string
required
inAmount
string
required
outAmount
string
required
otherAmountThreshold
string
required
swapMode
string
required
slippageBps
number
required
priceImpactPct
string
required
routePlan
object[]
required
feeBps
number
required
platformFee
object
required
signatureFeeLamports
number
required
signatureFeePayer
string | null
required
prioritizationFeeLamports
number
required
prioritizationFeePayer
string | null
required
rentFeeLamports
number
required
rentFeePayer
string | null
required
swapType
string
required
router
enum<string>
required
Available options:
iris,
jupiterz,
dflow,
okx
transaction
string | null
required
gasless
boolean
required
requestId
string
required
totalTime
number
required
taker
string | null
required
inUsdValue
number
outUsdValue
number
priceImpact
number
swapUsdValue
number
referralAccount
string
feeMint
string
quoteId
string
maker
string
expireAt
string
errorCode
enum<number>
Available options:
1,
2,
3
errorMessage
enum<string>
Available options:
Insufficient funds,
Top up `${solAmount}` SOL for gas,
Minimum `${swapAmount}` for gasless