The public key of the account that will receive the output tokens
Must differ from taker
Expects a wallet address, not a token account
For non-SOL output: tokens are sent to the receiver's associated token account (ATA). If the ATA is not initialised, a create ATA instruction is added to the transaction
For SOL output: native SOL is transferred directly to the receiver
Does not support destination wSOL token accounts
Disables Dflow and OKX routing. Metis and JupiterZ RFQ still compete
The public key of an account that will cover gas-related fees (signature fees, priority fees, and rent) on behalf of the taker
Has no effect when set equal to taker. Must be a different wallet to activate integrator-sponsored gas
Disables Dflow and OKX routing. Metis and JupiterZ RFQ still compete
On JupiterZ routes the market maker pays signature and priority fees, and payer only pays rent for the output token accounts the transaction creates. When the output is native SOL there are none, so payer is not a signer
Sign with payer only if it is a required signer of the returned transaction
The highest Solana transaction version your client can accept, "0" or "1". Defaults to "0".
This is a ceiling, not a force. You get v1 only when Metis wins the route and the order is not gasless; other routers and gasless orders (including automatic sponsorship for low-SOL takers) return v0. Wider v1 support is in progress.
Read the response transactionVersion to see the version you got. v1 transactions must be deserialized and signed with a v1-capable SDK (@solana/kit v8 or later).
Total fee rate charged for the swap in basis points. This includes the Jupiter platform fee plus any additional charges, such as gasless support cost recoup.
The Solana message version of transaction, 0 or 1. With maxSupportedTransactionVersion=1 this is 1 only when Metis wins the route and the order is not gasless, and 0 otherwise (other routers, and gasless orders including automatic sponsorship).
JupiterZ market maker: signatureFeePayer is the MM address (varies per quote); Jupiter's gas wallet can pay the rent to create the taker's output token account when referral fees are not set
Integrator payer: signatureFeePayer is your payer parameter on Metis routes. On JupiterZ routes signatureFeePayer is the MM address and rentFeePayer is your payer
For a deterministic opt-out, check signatureFeePayer == taker on every response.
Present when taker is defined and transaction is the empty string. The router quoted a price but could not build a transaction. Match on router + errorCode to identify the error.
Human-readable error description. Present when taker is defined and transaction is the empty string.
Match on router + errorCode instead of this string, as the message text may be parameterised.
Duplicate of errorMessage for backwards compatibility
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Jupiter Developers","colors":{"primary":"#00BEF0","light":"#C7F284","dark":"#000000"},"logo":{"light":"https://mintcdn.com/jupiter/mrenEfoqnubhOTHf/logo/logo.png?fit=max\u0026auto=format\u0026n=mrenEfoqnubhOTHf\u0026q=85\u0026s=e745e60a4186bc382d3d5d9bdff9273a","dark":"https://mintcdn.com/jupiter/mrenEfoqnubhOTHf/logo/logo.png?fit=max\u0026auto=format\u0026n=mrenEfoqnubhOTHf\u0026q=85\u0026s=e745e60a4186bc382d3d5d9bdff9273a","href":"https://developers.jup.ag/"},"favicon":"https://mintcdn.com/jupiter/mrenEfoqnubhOTHf/favicon.png?fit=max\u0026auto=format\u0026n=mrenEfoqnubhOTHf\u0026q=85\u0026s=453e41111d621d16c4f196f9e772ce58","api":{"playground":{"display":"interactive"}},"appearance":{"default":"dark"},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://developers.jup.ag/portal"}},"footer":{"socials":{"x":"https://x.com/JupiterExchange","discord":"https://discord.gg/jup","telegram":"https://t.me/jup_dev","github":"https://github.com/jup-ag","youtube":"https://www.youtube.com/@JupiterOnchain"},"links":[{"items":[{"label":"Support","href":"/docs/resources/support"},{"label":"Guidelines","href":"/docs/legal"},{"label":"Legal","href":"/docs/legal/sdk-api-license-agreement"},{"label":"Brand Kit","href":"/docs/resources/brand-kit"},{"label":"Status","href":"https://status.jup.ag"}]}]},"seo":{"metatags":{"og:image":"/logo/og.png","og:type":"website","og:site_name":"Jupiter Developers","twitter:card":"summary_large_image","twitter:site":"@JupiterExchange","twitter:image":"/logo/og.png","keywords":"Jupiter, Jupiter Developer Platform, Jupiter API, Jupiter SDK, Solana API, Solana swap API, Solana price API, Solana token API, prediction market API, Solana DeFi API, crypto API, Jupiter Swap, Jupiter Ultra, Jupiter Lend, Jupiter Perps, Jupiter Studio, Jupiter Plugin, Jupiter Wallet Kit, Jupiter Referral Program"}},"banner":{"content":"Manage your API keys, billing, and usage on the [**Developer Platform**](https://developers.jup.ag/portal). Questions? Reach us via [**Support**](/docs/resources/support)."},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jupiter","hasAudioNarration":false,"actualSubdomain":"jupiter","customDomains":["developers.jup.ag"],"gitSource":{"type":"github","owner":"jup-ag","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1aadf83326b7b15e8cf3f","collectionId":"93e7b82a-2c8a-48fd-85cd-aaa5de69a864","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1aadf83326b7b15e8cf3f"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1aadf83326b7b15e8cf3f","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Docs","count":193},{"language":"default","tag":"API Reference","count":77},{"language":"default","tag":"Lend","count":64},{"language":"default","tag":"Prediction","count":44},{"language":"default","tag":"LO \u0026 DCA","count":30},{"language":"default","tag":"Swap","count":27},{"language":"default","tag":"Get Started","count":25},{"language":"default","tag":"More","count":23},{"language":"default","tag":"Resources","count":21},{"language":"default","tag":"Earn","count":18}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"th{color:black!important}.dark th{color:white!important}@media screen and (min-width: 768px){#banner button,#banner [aria-label*=\"close\"],#banner [aria-label*=\"dismiss\"],#banner [data-dismiss],#banner button[type=\"button\"]{display:none!important}}@media screen and (max-width: 767px){[data-radix-menu-content]{max-height:80vh!important}}@media screen and (min-width: 768px){[data-radix-menu-content]{max-height:600px!important}}"}],"page":{"pagePath":"api-reference/swap/order","slug":"/api-reference/swap/order","pageMetadata":{"openapi":"openapi-spec/swap/v2/swap.yaml get /order","title":"Get Order (Swap API)","sidebarTitle":"Get Order","description":"Get a swap quote and assembled transaction","llmsDescription":"GET /order endpoint for Jupiter Swap API V2 at api.jup.ag/swap/v2/order. Returns a swap quote and assembled transaction. Required params: inputMint, outputMint, amount, taker. Without optional params, all routers compete (Metis, JupiterZ RFQ, Dflow, OKX). Referral fees do not disable JupiterZ. Setting payer to a wallet different from taker disables Dflow and OKX while Metis and JupiterZ still compete; on JupiterZ routes the market maker pays signature and priority fees and payer only pays output token account rent (not a signer for native SOL output). Setting receiver also disables Dflow and OKX. Response includes base64 transaction, requestId (for /execute), routePlan, fee breakdown, and gas cost estimates. Sign the transaction and POST to /execute for managed landing.","href":"/api-reference/swap/order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a swap quote and assembled transaction\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"openapi-spec/swap/v2/swap.yaml get /order","title":"Get Order (Swap API)","sidebarTitle":"Get Order","description":"Get a swap quote and assembled transaction","llmsDescription":"GET /order endpoint for Jupiter Swap API V2 at api.jup.ag/swap/v2/order. Returns a swap quote and assembled transaction. Required params: inputMint, outputMint, amount, taker. Without optional params, all routers compete (Metis, JupiterZ RFQ, Dflow, OKX). Referral fees do not disable JupiterZ. Setting payer to a wallet different from taker disables Dflow and OKX while Metis and JupiterZ still compete; on JupiterZ routes the market maker pays signature and priority fees and payer only pays output token account rent (not a signer for native SOL output). Setting receiver also disables Dflow and OKX. Response includes base64 transaction, requestId (for /execute), routePlan, fee breakdown, and gas cost estimates. Sign the transaction and POST to /execute for managed landing.","href":"/api-reference/swap/order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/jupiter/5d1fbe037184af90/generate-llms-from-docs.js","/docs/_mintlify/custom/jupiter/4b0472a73cb92cca/check-redirects.js"],"openApiReferenceData":{"operation":{"operationId":"GetOrder","tags":["Swap"],"summary":"Get Order","description":"Get a swap quote and assembled transaction","security":["39dca2ce-ef17-45d3-aa07-17e3a580687e"],"parameters":["a8b4600a-00ae-4757-8cee-aab5374dad2d","a8f57dd5-b7d8-489d-9651-078017fcf85b","d67ac4ef-6757-4bbc-8c71-9d89b4cf50a2","f82a6530-4b5a-4f13-a9d0-0f64a0936b6b","b7e26c26-5fe6-4e11-be62-8c3cd74bac30","de5a59a2-d8d6-4033-a83d-0d529e71cdd4","c6b86f93-322a-48c9-adf3-21e47f2bc7c7","a673c766-5b15-4c01-bfa4-39ad38ac9e0f","a2362c81-be1b-45d8-b26e-be19d48b4db5","0622c4a5-7d94-40b6-9c9a-bed534833803","e7c67a31-b85d-45df-b0b9-11bc8853fdf2","49a6aeaa-5648-4f6a-a8e5-9bb9f4d18e3c","ecb5be1e-d7d2-4c7d-bc22-7ab4cfe98dfa","ca7f6597-5df2-4b7e-8ed9-3db75981972b","9e15d2ca-23a6-473a-b578-c49531f258f9","0bfc8c81-1303-42d2-bde1-f431b7d98f6a"],"responses":{"200":"6aad133c-b89c-4e53-988e-dfe33b387e01","400":"8296440d-cd78-400d-9708-524f0d213c60"},"method":"get","type":"path","servers":["ef3fea8f-edef-47a1-b05d-ed6568b0584c"],"path":"/order","baseUrlOptions":["https://api.jup.ag/swap/v2"],"title":"Get Order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a8b4600a-00ae-4757-8cee-aab5374dad2d":{"name":"inputMint","in":"query","required":true,"schema":{"type":"string","isRequired":true,"description":"The mint address of the input token","uniqueKey":"","typeLabel":"string"},"description":"The mint address of the input token","example":"So11111111111111111111111111111111111111112"},"a8f57dd5-b7d8-489d-9651-078017fcf85b":{"name":"outputMint","in":"query","required":true,"schema":{"type":"string","isRequired":true,"description":"The mint address of the output token","uniqueKey":"","typeLabel":"string"},"description":"The mint address of the output token","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"d67ac4ef-6757-4bbc-8c71-9d89b4cf50a2":{"name":"amount","in":"query","required":true,"schema":{"type":"string","isRequired":true,"description":"The amount to swap in the smallest unit of the input token","uniqueKey":"","typeLabel":"string"},"description":"The amount to swap in the smallest unit of the input token","example":"1000000000"},"f82a6530-4b5a-4f13-a9d0-0f64a0936b6b":{"name":"taker","in":"query","schema":{"type":"string","description":"- The public key of the wallet that will sign the transaction\n- If not provided, the response will contain a quote but no transaction\n- Must be present if you intend to sign and execute the transaction via `/execute`\n","uniqueKey":"","typeLabel":"string"},"description":"- The public key of the wallet that will sign the transaction\n- If not provided, the response will contain a quote but no transaction\n- Must be present if you intend to sign and execute the transaction via `/execute`\n","example":"GkwFnmMDvn3HGMpJpWBg8tgJxr3NxNvg3AXxvXVPbRGJ"},"b7e26c26-5fe6-4e11-be62-8c3cd74bac30":{"name":"receiver","in":"query","schema":{"type":"string","description":"- The public key of the account that will receive the output tokens\n- Must differ from `taker`\n- Expects a wallet address, not a token account\n- For non-SOL output: tokens are sent to the receiver's associated token account (ATA). If the ATA is not initialised, a create ATA instruction is added to the transaction\n- For SOL output: native SOL is transferred directly to the receiver\n- Does not support destination wSOL token accounts\n- Disables Dflow and OKX routing. Metis and JupiterZ RFQ still compete\n","uniqueKey":"","typeLabel":"string"},"description":"- The public key of the account that will receive the output tokens\n- Must differ from `taker`\n- Expects a wallet address, not a token account\n- For non-SOL output: tokens are sent to the receiver's associated token account (ATA). If the ATA is not initialised, a create ATA instruction is added to the transaction\n- For SOL output: native SOL is transferred directly to the receiver\n- Does not support destination wSOL token accounts\n- Disables Dflow and OKX routing. Metis and JupiterZ RFQ still compete\n"},"de5a59a2-d8d6-4033-a83d-0d529e71cdd4":{"name":"swapMode","in":"query","schema":{"type":"string","enum":["ExactIn"],"description":"- Swap mode. Currently only `ExactIn` is supported.\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"- Swap mode. Currently only `ExactIn` is supported.\n"},"c6b86f93-322a-48c9-adf3-21e47f2bc7c7":{"name":"slippageBps","in":"query","schema":{"type":"integer","minimum":0,"maximum":10000,"description":"- Slippage tolerance in basis points (0-10000)\n- If not set, Jupiter automatically determines an appropriate slippage\n","uniqueKey":"","typeLabel":"integer"},"description":"- Slippage tolerance in basis points (0-10000)\n- If not set, Jupiter automatically determines an appropriate slippage\n","example":50},"a673c766-5b15-4c01-bfa4-39ad38ac9e0f":{"name":"referralAccount","in":"query","schema":{"type":"string","description":"- Address of your referral account for the Jupiter referral project\n- Must be used together with `referralFee`\n- See the [Referral Program](/tool-kits/referral-program) for setup\n","uniqueKey":"","typeLabel":"string"},"description":"- Address of your referral account for the Jupiter referral project\n- Must be used together with `referralFee`\n- See the [Referral Program](/tool-kits/referral-program) for setup\n"},"a2362c81-be1b-45d8-b26e-be19d48b4db5":{"name":"referralFee","in":"query","schema":{"type":"number","minimum":50,"maximum":255,"description":"- Referral fee in basis points (50-255)\n- Must be used together with `referralAccount`\n","uniqueKey":"","typeLabel":"number"},"description":"- Referral fee in basis points (50-255)\n- Must be used together with `referralAccount`\n","example":50},"0622c4a5-7d94-40b6-9c9a-bed534833803":{"name":"payer","in":"query","schema":{"type":"string","description":"- The public key of an account that will cover gas-related fees (signature fees, priority fees, and rent) on behalf of the taker\n- Has no effect when set equal to `taker`. Must be a different wallet to activate integrator-sponsored gas\n- Disables Dflow and OKX routing. Metis and JupiterZ RFQ still compete\n- On JupiterZ routes the market maker pays signature and priority fees, and `payer` only pays rent for the output token accounts the transaction creates. When the output is native SOL there are none, so `payer` is not a signer\n- Sign with `payer` only if it is a required signer of the returned transaction\n","uniqueKey":"","typeLabel":"string"},"description":"- The public key of an account that will cover gas-related fees (signature fees, priority fees, and rent) on behalf of the taker\n- Has no effect when set equal to `taker`. Must be a different wallet to activate integrator-sponsored gas\n- Disables Dflow and OKX routing. Metis and JupiterZ RFQ still compete\n- On JupiterZ routes the market maker pays signature and priority fees, and `payer` only pays rent for the output token accounts the transaction creates. When the output is native SOL there are none, so `payer` is not a signer\n- Sign with `payer` only if it is a required signer of the returned transaction\n","example":"gasTzr94Pmp4Gf8vknQnqxeYxdgwFjbgdJa4msYRpnB"},"e7c67a31-b85d-45df-b0b9-11bc8853fdf2":{"name":"priorityFeeLamports","in":"query","schema":{"type":"number","description":"- Priority fee in lamports\n- If not set, Jupiter automatically determines an appropriate priority fee\n- Setting this overrides the automatic optimisation\n","uniqueKey":"","typeLabel":"number"},"description":"- Priority fee in lamports\n- If not set, Jupiter automatically determines an appropriate priority fee\n- Setting this overrides the automatic optimisation\n"},"49a6aeaa-5648-4f6a-a8e5-9bb9f4d18e3c":{"name":"jitoTipLamports","in":"query","schema":{"type":"number","description":"- Jito MEV tip in lamports for faster block inclusion\n","uniqueKey":"","typeLabel":"number"},"description":"- Jito MEV tip in lamports for faster block inclusion\n"},"ecb5be1e-d7d2-4c7d-bc22-7ab4cfe98dfa":{"name":"broadcastFeeType","in":"query","schema":{"type":"string","enum":["maxCap","exactFee"],"description":"- Fee cap strategy: `maxCap` treats the fee as a maximum, `exactFee` uses the exact amount\n- Ignored if neither `priorityFeeLamports` nor `jitoTipLamports` are set\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"- Fee cap strategy: `maxCap` treats the fee as a maximum, `exactFee` uses the exact amount\n- Ignored if neither `priorityFeeLamports` nor `jitoTipLamports` are set\n"},"ca7f6597-5df2-4b7e-8ed9-3db75981972b":{"name":"excludeRouters","in":"query","schema":{"type":"string","description":"- Comma-separated list of routers to exclude\n- Available routers: `metis`, `jupiterz`, `dflow`, `okx`\n","uniqueKey":"","typeLabel":"string"},"description":"- Comma-separated list of routers to exclude\n- Available routers: `metis`, `jupiterz`, `dflow`, `okx`\n","example":"jupiterz,dflow"},"9e15d2ca-23a6-473a-b578-c49531f258f9":{"name":"excludeDexes","in":"query","schema":{"type":"string","description":"- Comma-separated list of DEXes to exclude from the Metis router\n- **Important**: This only affects the Metis router, not other routers\n- For example: `excludeDexes=Raydium,Orca+V2,Meteora+DLMM`\n- Labels are case sensitive (`SolFi`, not `solfi`). Full list of DEXes here using the `/program-id-to-label` endpoint.\n- On `/order` only `excludeDexes` is honoured, not `dexes`. Use `/build` to restrict routing to specific DEXes.\n","uniqueKey":"","typeLabel":"string"},"description":"- Comma-separated list of DEXes to exclude from the Metis router\n- **Important**: This only affects the Metis router, not other routers\n- For example: `excludeDexes=Raydium,Orca+V2,Meteora+DLMM`\n- Labels are case sensitive (`SolFi`, not `solfi`). Full list of DEXes here using the `/program-id-to-label` endpoint.\n- On `/order` only `excludeDexes` is honoured, not `dexes`. Use `/build` to restrict routing to specific DEXes.\n"},"0bfc8c81-1303-42d2-bde1-f431b7d98f6a":{"name":"maxSupportedTransactionVersion","in":"query","schema":{"type":"string","enum":["0","1"],"default":"0","description":"- The highest Solana transaction version your client can accept, `\"0\"` or `\"1\"`. Defaults to `\"0\"`.\n- This is a ceiling, not a force. You get v1 only when Metis wins the route and the order is not gasless; other routers and gasless orders (including automatic sponsorship for low-SOL takers) return v0. Wider v1 support is in progress.\n- Read the response `transactionVersion` to see the version you got. v1 transactions must be deserialized and signed with a v1-capable SDK (`@solana/kit` v8 or later).\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"- The highest Solana transaction version your client can accept, `\"0\"` or `\"1\"`. Defaults to `\"0\"`.\n- This is a ceiling, not a force. You get v1 only when Metis wins the route and the order is not gasless; other routers and gasless orders (including automatic sponsorship for low-SOL takers) return v0. Wider v1 support is in progress.\n- Read the response `transactionVersion` to see the version you got. v1 transactions must be deserialized and signed with a v1-capable SDK (`@solana/kit` v8 or later).\n","example":"1"}},"responses":{"6aad133c-b89c-4e53-988e-dfe33b387e01":{"description":"Quote with optional assembled transaction","content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"\"ultra\" or \"manual\" based on parameters used","uniqueKey":"mode","typeLabel":"string"},"inputMint":{"type":"string","uniqueKey":"inputMint","typeLabel":"string"},"outputMint":{"type":"string","uniqueKey":"outputMint","typeLabel":"string"},"inAmount":{"type":"string","uniqueKey":"inAmount","typeLabel":"string"},"outAmount":{"type":"string","uniqueKey":"outAmount","typeLabel":"string"},"inUsdValue":{"type":"number","uniqueKey":"inUsdValue","typeLabel":"number"},"outUsdValue":{"type":"number","uniqueKey":"outUsdValue","typeLabel":"number"},"priceImpact":{"type":"number","description":"Price impact in percentage points (e.g. -0.1 = -0.1%). Divide by 100 to convert to a decimal fraction.","uniqueKey":"priceImpact","typeLabel":"number"},"swapUsdValue":{"type":"number","uniqueKey":"swapUsdValue","typeLabel":"number"},"otherAmountThreshold":{"type":"string","description":"Minimum output amount after slippage","uniqueKey":"otherAmountThreshold","typeLabel":"string"},"swapMode":{"type":"string","uniqueKey":"swapMode","typeLabel":"string"},"slippageBps":{"type":"number","uniqueKey":"slippageBps","typeLabel":"number"},"priceImpactPct":{"type":"string","description":"Deprecated: decimal price impact ratio. Use priceImpact divided by 100 instead.","deprecated":true,"uniqueKey":"priceImpactPct","typeLabel":"string"},"routePlan":{"type":"array","items":{"type":"object","properties":{"swapInfo":{"type":"object","properties":{"ammKey":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.ammKey","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.label","typeLabel":"string"},"inputMint":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.inputMint","typeLabel":"string"},"outputMint":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.outputMint","typeLabel":"string"},"inAmount":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.inAmount","typeLabel":"string"},"outAmount":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.outAmount","typeLabel":"string"}},"required":["ammKey","label","inputMint","outputMint","inAmount","outAmount"],"isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo","typeLabel":"object"},"percent":{"type":"number","description":"Percentage of total swap routed through this step","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].percent","typeLabel":"number"},"bps":{"type":"number","description":"Basis points of total swap routed through this step","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].bps","typeLabel":"number"},"usdValue":{"type":"number","description":"USD value of this step","uniqueKey":"routePlan.items.[INDEX].usdValue","typeLabel":"number"}},"required":["swapInfo","percent","bps"],"uniqueKey":"routePlan.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routePlan","typeLabel":"object[]"},"referralAccount":{"type":"string","uniqueKey":"referralAccount","typeLabel":"string"},"feeMint":{"type":"string","uniqueKey":"feeMint","typeLabel":"string"},"feeBps":{"type":"number","description":"Total fee rate charged for the swap in basis points. This includes the Jupiter platform fee plus any additional charges, such as gasless support cost recoup.","uniqueKey":"feeBps","typeLabel":"number"},"platformFee":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"platformFee.amount","typeLabel":"string"},"feeBps":{"type":"number","description":"Jupiter platform fee component in basis points. This is the fee Jupiter intends to make from the swap and does not include gasless support cost recoup.","uniqueKey":"platformFee.feeBps","typeLabel":"number"},"feeMint":{"type":"string","uniqueKey":"platformFee.feeMint","typeLabel":"string"}},"uniqueKey":"platformFee","typeLabel":"object"},"signatureFeeLamports":{"type":"number","uniqueKey":"signatureFeeLamports","typeLabel":"number"},"signatureFeePayer":{"oneOf":[{"type":"string","uniqueKey":"signatureFeePayer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"signatureFeePayer.oneOf.1","typeLabel":"null"}],"uniqueKey":"signatureFeePayer","typeLabel":"string | null"},"prioritizationFeeLamports":{"type":"number","description":"Includes priority fees and tips (Jito, Nozomi)","uniqueKey":"prioritizationFeeLamports","typeLabel":"number"},"prioritizationFeePayer":{"oneOf":[{"type":"string","uniqueKey":"prioritizationFeePayer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prioritizationFeePayer.oneOf.1","typeLabel":"null"}],"uniqueKey":"prioritizationFeePayer","typeLabel":"string | null"},"rentFeeLamports":{"type":"number","description":"Estimated rent fee","uniqueKey":"rentFeeLamports","typeLabel":"number"},"rentFeePayer":{"oneOf":[{"type":"string","uniqueKey":"rentFeePayer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"rentFeePayer.oneOf.1","typeLabel":"null"}],"uniqueKey":"rentFeePayer","typeLabel":"string | null"},"swapType":{"type":"string","description":"Deprecated: use router instead","deprecated":true,"enum":["aggregator","rfq","aggregator+rfq","dflow","okx"],"uniqueKey":"swapType","typeLabel":"enum\u003cstring>"},"router":{"type":"string","enum":["metis","jupiterz","dflow","okx"],"description":"Which router won the quote","uniqueKey":"router","typeLabel":"enum\u003cstring>"},"transactionVersion":{"type":"number","enum":[0,1],"description":"The Solana message version of `transaction`, `0` or `1`. With `maxSupportedTransactionVersion=1` this is `1` only when Metis wins the route and the order is not gasless, and `0` otherwise (other routers, and gasless orders including automatic sponsorship).\n","uniqueKey":"transactionVersion","typeLabel":"enum\u003cnumber>"},"transaction":{"oneOf":[{"type":"string","description":"- Base64-encoded transaction. Null if taker is not provided.\n- Empty string if taker is provided but transaction could not be built (check errorCode).\n","uniqueKey":"transaction.oneOf.0","typeLabel":"string"},{"type":"null","description":"- Base64-encoded transaction. Null if taker is not provided.\n- Empty string if taker is provided but transaction could not be built (check errorCode).\n","uniqueKey":"transaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction","typeLabel":"string | null"},"lastValidBlockHeight":{"type":"string","uniqueKey":"lastValidBlockHeight","typeLabel":"string"},"gasless":{"type":"boolean","description":"True when signature and priority fees are paid by a wallet other than the taker. Set by three independent paths:\n- Automatic Jupiter sponsorship: `signatureFeePayer = gasTzr94Pmp4Gf8vknQnqxeYxdgwFjbgdJa4msYRpnB`\n- JupiterZ market maker: `signatureFeePayer` is the MM address (varies per quote); Jupiter's gas wallet can pay the rent to create the taker's output token account when referral fees are not set\n- Integrator payer: `signatureFeePayer` is your `payer` parameter on Metis routes. On JupiterZ routes `signatureFeePayer` is the MM address and `rentFeePayer` is your `payer`\nFor a deterministic opt-out, check `signatureFeePayer == taker` on every response.\n","uniqueKey":"gasless","typeLabel":"boolean"},"requestId":{"type":"string","description":"Unique request ID. Pass this to /execute.","uniqueKey":"requestId","typeLabel":"string"},"totalTime":{"type":"number","description":"Response time in milliseconds","uniqueKey":"totalTime","typeLabel":"number"},"taker":{"oneOf":[{"type":"string","uniqueKey":"taker.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"taker.oneOf.1","typeLabel":"null"}],"uniqueKey":"taker","typeLabel":"string | null"},"quoteId":{"type":"string","description":"Quote ID for RFQ swaps","uniqueKey":"quoteId","typeLabel":"string"},"maker":{"type":"string","description":"Market maker address for RFQ swaps","uniqueKey":"maker","typeLabel":"string"},"expireAt":{"type":"string","description":"Quote expiration timestamp for RFQ swaps","uniqueKey":"expireAt","typeLabel":"string"},"errorCode":{"type":"number","description":"Present when `taker` is defined and `transaction` is the empty string. The router quoted a price but could not build a transaction. Match on `router` + `errorCode` to identify the error.\n\nAggregator routers (router is metis, dflow, okx):\n- 1: Insufficient funds\n- 2: Insufficient SOL for gas\n- 3: Swap below minimum for gasless\n\nJupiterZ router (router is jupiterz):\n- 1: Insufficient balance to fund the swap\n- 2: Missing associated token account\n- 3: Quote could not be built into a transaction\n","uniqueKey":"errorCode","typeLabel":"number"},"errorMessage":{"type":"string","description":"Human-readable error description. Present when `taker` is defined and `transaction` is the empty string.\nMatch on `router` + `errorCode` instead of this string, as the message text may be parameterised.\n","uniqueKey":"errorMessage","typeLabel":"string"},"error":{"type":"string","description":"Duplicate of errorMessage for backwards compatibility","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"mode":"\u003cstring>","inputMint":"\u003cstring>","outputMint":"\u003cstring>","inAmount":"\u003cstring>","outAmount":"\u003cstring>","inUsdValue":123,"outUsdValue":123,"priceImpact":123,"swapUsdValue":123,"otherAmountThreshold":"\u003cstring>","swapMode":"\u003cstring>","slippageBps":123,"priceImpactPct":"\u003cstring>","routePlan":[{"swapInfo":{"ammKey":"\u003cstring>","label":"\u003cstring>","inputMint":"\u003cstring>","outputMint":"\u003cstring>","inAmount":"\u003cstring>","outAmount":"\u003cstring>"},"percent":123,"bps":123,"usdValue":123}],"referralAccount":"\u003cstring>","feeMint":"\u003cstring>","feeBps":123,"platformFee":{"amount":"\u003cstring>","feeBps":123,"feeMint":"\u003cstring>"},"signatureFeeLamports":123,"signatureFeePayer":"\u003cstring>","prioritizationFeeLamports":123,"prioritizationFeePayer":"\u003cstring>","rentFeeLamports":123,"rentFeePayer":"\u003cstring>","swapType":"aggregator","router":"metis","transactionVersion":0,"transaction":"\u003cstring>","lastValidBlockHeight":"\u003cstring>","gasless":true,"requestId":"\u003cstring>","totalTime":123,"taker":"\u003cstring>","quoteId":"\u003cstring>","maker":"\u003cstring>","expireAt":"\u003cstring>","errorCode":123,"errorMessage":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8296440d-cd78-400d-9708-524f0d213c60":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"requestId":{"type":"string","uniqueKey":"requestId","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"requestId":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"39dca2ce-ef17-45d3-aa07-17e3a580687e":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Get API key via https://developers.jup.ag/portal","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"ef3fea8f-edef-47a1-b05d-ed6568b0584c":{"url":"https://api.jup.ag/swap/v2","description":"Swap API V2 Endpoint"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Get API key via https://developers.jup.ag/portal","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Get API key via https://developers.jup.ag/portal","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi-spec/swap/v2/swap.yaml"},"subdomain":"jupiter","siteName":"Jupiter Developers","title":"Get Order (Swap API) - Jupiter Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-02T07:38:24.957Z","originalFileLocation":"api-reference/swap/order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a swap quote and assembled transaction\">\u003cmeta data-mint-head name=\"keywords\" content=\"Jupiter, Jupiter Developer Platform, Jupiter API, Jupiter SDK, Solana API, Solana swap API, Solana price API, Solana token API, prediction market API, Solana DeFi API, crypto API, Jupiter Swap, Jupiter Ultra, Jupiter Lend, Jupiter Perps, Jupiter Studio, Jupiter Plugin, Jupiter Wallet Kit, Jupiter Referral Program\">\u003cmeta data-mint-head name=\"application-name\" content=\"Jupiter Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Order (Swap API) - Jupiter Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a swap quote and assembled transaction\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jupiter Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.jup.ag/docs/api-reference/swap/order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jupiter.mintlify.site/docs/logo/og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Order (Swap API) - Jupiter Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a swap quote and assembled transaction\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jupiter.mintlify.site/docs/logo/og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/jupiter/VhCnOYl5khz0IKiZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jupiter Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00BEF0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.jup.ag/docs/api-reference/swap/order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/swap/order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.jup.ag/#organization\",\"name\":\"Jupiter Developers\",\"url\":\"https://developers.jup.ag\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jupiter/mrenEfoqnubhOTHf/logo/logo.png?fit=max\u0026auto=format\u0026n=mrenEfoqnubhOTHf\u0026q=85\u0026s=e745e60a4186bc382d3d5d9bdff9273a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.jup.ag/docs#website\",\"name\":\"Jupiter Developers\",\"url\":\"https://developers.jup.ag/docs\",\"publisher\":{\"@id\":\"https://developers.jup.ag/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.jup.ag/docs/api-reference/swap/order#webpage\",\"url\":\"https://developers.jup.ag/docs/api-reference/swap/order\",\"name\":\"Get Order (Swap API)\",\"description\":\"Get a swap quote and assembled transaction\",\"dateModified\":\"2026-10-02T07:38:24.957Z\",\"isPartOf\":{\"@id\":\"https://developers.jup.ag/docs#website\"},\"breadcrumb\":{\"@id\":\"https://developers.jup.ag/docs/api-reference/swap/order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.jup.ag/docs/api-reference/swap/order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Meta-Aggregator\",\"item\":\"https://developers.jup.ag/docs/swap/order-and-execute\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Order (Swap API)\",\"item\":\"https://developers.jup.ag/docs/api-reference/swap/order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.jup.ag/docs/api-reference/swap/order#apireference\",\"headline\":\"Get Order (Swap API)\",\"name\":\"Get Order (Swap API)\",\"description\":\"Get a swap quote and assembled transaction\",\"url\":\"https://developers.jup.ag/docs/api-reference/swap/order\",\"mainEntityOfPage\":{\"@id\":\"https://developers.jup.ag/docs/api-reference/swap/order#webpage\"},\"image\":\"https://developers.jup.ag/logo/og.png\",\"dateModified\":\"2026-10-02T07:38:24.957Z\",\"publisher\":{\"@id\":\"https://developers.jup.ag/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.jup.ag/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Jupiter Developers\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Jupiter Developers","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started"}]},{"tab":"Docs","menu":[{"item":"Swap","icon":"arrow-right-arrow-left","groups":[{"group":"Swap","pages":[{"title":"Solana Swap API","sidebarTitle":"Overview","href":"/swap"}]},{"group":"Meta-Aggregator","pages":[{"title":"Order \u0026 Execute","description":"Best price across all routers with managed transaction landing","href":"/swap/order-and-execute"},{"openapi":"openapi-spec/swap/v2/swap.yaml get /order","title":"Get Order (Swap API)","sidebarTitle":"Get Order","href":"/api-reference/swap/order"},{"openapi":"openapi-spec/swap/v2/swap.yaml post /execute","title":"Execute Transaction","description":"Execute a signed transaction from /order with managed landing","href":"/api-reference/swap/execute"}]},{"group":"Metis (Onchain Router)","pages":[{"title":"Build","href":"/swap/build/index"},{"title":"Common Instructions","href":"/swap/build/common-instructions"},{"openapi":"openapi-spec/swap/v2/swap.yaml get /build","title":"Build Transaction","href":"/api-reference/swap/build"},{"openapi":"openapi-spec/swap/v2/swap.yaml get /program-id-to-label","title":"Program ID to Label","href":"/api-reference/swap/program-id-to-label"}]},{"group":"Advanced","pages":[{"title":"Advanced Swap Techniques","sidebarTitle":"Overview","href":"/swap/advanced/index"},{"title":"Slippage Estimation","href":"/swap/advanced/slippage"},{"title":"Gasless Swaps","href":"/swap/advanced/gasless"},{"title":"Compute Units \u0026 Priority Fees","href":"/swap/advanced/compute-units"},{"title":"Reduce Transaction Size","href":"/swap/advanced/reduce-transaction-size"},{"title":"Transaction Versions (v0 and v1)","href":"/swap/advanced/transaction-versions"},{"title":"Reduce Latency","href":"/swap/advanced/reduce-latency"}]},{"group":"Routing Integration","pages":[{"group":"Integrate AMM into Metis","pages":[{"title":"Integrate AMM into Metis","href":"/swap/routing/amm/integration"},{"title":"Market Listing","href":"/swap/routing/amm/market-listing"}]},{"group":"Integrate MM into JupiterZ (RFQ)","pages":[{"group":"Webhook (V1)","pages":[{"title":"Webhook Integration (V1)","sidebarTitle":"Overview","href":"/swap/routing/rfq/v1/overview"},{"title":"Webhook API","href":"/swap/routing/rfq/v1/webhook-api"},{"title":"Quoting and fills","href":"/swap/routing/rfq/v1/quoting"},{"title":"Settlement and special cases","href":"/swap/routing/rfq/v1/settlement"}]},{"group":"Streaming (V2)","pages":[{"title":"Streaming Integration (V2)","sidebarTitle":"Overview","href":"/swap/routing/rfq/v2/streaming"}]}]}]},{"group":"Guides","pages":[{"title":"How to Embed a Swap Widget in Your App","sidebarTitle":"Embed Swap Widget","href":"/guides/how-to-embed-a-swap-widget"}]},{"group":"Migration","pages":[{"title":"Metis to Router","href":"/swap/migration/metis-to-build"},{"title":"Metis to Meta-Aggregator","href":"/swap/migration/metis-to-meta-aggregator"},{"title":"Ultra to Meta-Aggregator","href":"/swap/migration/ultra-to-order"}]}]},{"item":"Tokens","icon":"coin","pages":[{"title":"Tokens","href":"/tokens"}]},{"item":"Price","icon":"dollar-sign","pages":[{"title":"Price","href":"/price"}]},{"item":"Transaction Landing","icon":"paper-plane","pages":[{"title":"Transaction Landing","href":"/transaction/submit"}]},{"item":"JupUSD","icon":"money-bill","pages":[{"title":"JupUSD","href":"/jupusd"}]},{"item":"Lend","icon":"piggy-bank","pages":[{"title":"Lend","href":"/lend"}]},{"item":"LO \u0026 DCA","icon":"crosshairs","pages":[{"title":"LO \u0026 DCA","href":"/trigger"}]},{"item":"Prediction","icon":"check-to-slot","pages":[{"title":"Prediction","href":"/prediction"}]},{"item":"More","icon":"ellipsis","pages":[{"title":"More","href":"/send"}]}]},{"tab":"AI","pages":[{"title":"AI","href":"/ai"}]},{"tab":"Tool Kits","pages":[{"title":"Tool Kits","href":"/tool-kits"}]},{"tab":"Changelog","href":"https://developers.jup.ag/changelog"},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/support"}]}]},"basePath":"","title":"Get Order (Swap API) - Jupiter Developers","buildId":"dpl_CEsowfH15TDzsBT2BFbX312Be4Ct","deploymentId":"dpl_CEsowfH15TDzsBT2BFbX312Be4Ct","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-CVBf48Nk.js","dist-CTE3eEYy.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-B-KWekQe.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CqF8gK93.js","utils-Cfy66YIG.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-cadwlSiW.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BOSHrB55.js","snippetPresets-DuIJ6Tui.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BByZ-4eP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DWD4BnjW.js","shallow-Bo7p10ck.js","getApiPlaygroundDisplay-C7mFZ2Cg.js","CodeSnippet-DrT8v8gt.js","CodeSnippets-DGLmtlSm.js","Page-CGry0O4L.js","getPastedJson-DXZGgv-T.js","icon-DMjuBky8.js","MethodPill-C_c9VvF7.js","DuplicateIcon-D8Zrb3hW.js","createIcon-eYWxX-Sl.js","DynamicMarkdown-DORtg_Te.js","SectionHeading-DE1W9Ett.js","axios-vUo_bRtp.js","Markdown-BvSqw8zR.js","AssistantPageLink-Ba-QebqG.js"]}