Useful for debugging and verifying route decisions
Each key is an AMM account address, each value is the quoted output amount
Show child attributes
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":""},"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":"6aef297ac11f500273005720","clientVersion":"0.0.4087","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":"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":"editor-metadata","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/v1/quote","slug":"/api-reference/swap/v1/quote","pageMetadata":{"openapi":"openapi-spec/swap/v1/swap.yaml get /quote","title":"Get Quote (Swap API V1)","sidebarTitle":"Get Quote","description":"Request for a quote to be used in POST /swap","llmsDescription":"UNMAINTAINED: GET /swap/v1/quote endpoint reference. Returns a swap route quote from the Metis routing engine for use with POST /swap.","canonical":"https://developers.jup.ag/docs/api-reference/swap/order","href":"/api-reference/swap/v1/quote"},"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: \"Request for a quote to be used in POST /swap\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Warning}=_components;if(!Warning)_missingMdxReference(`Warning`,true);return _jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Metis Swap API`}),` is no longer actively maintained and has been superseded by `,_jsx(_components.a,{href:`/swap`,children:`Swap V2`}),`.`]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"openapi-spec/swap/v1/swap.yaml get /quote","title":"Get Quote (Swap API V1)","sidebarTitle":"Get Quote","description":"Request for a quote to be used in POST /swap","llmsDescription":"UNMAINTAINED: GET /swap/v1/quote endpoint reference. Returns a swap route quote from the Metis routing engine for use with POST /swap.","canonical":"https://developers.jup.ag/docs/api-reference/swap/order","href":"/api-reference/swap/v1/quote"}}},"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":"QuoteGet","tags":["Swap"],"summary":"quote","description":"Request for a quote to be used in POST /swap","security":["a919c1ca-2d47-46a6-af78-01665f87138e"],"parameters":["19bfe8ef-c73b-4bab-84fc-34ba183d1738","c9c5ed30-bc49-4b5f-8527-77903790b15f","abcfe048-2fb4-4568-a59c-19513deaa9c9","30af771f-9b2f-4975-9864-8d0be87305f7","eec44afd-87c5-494c-83a0-3a265825f6e8","c199ab64-18e4-47a7-af94-75953154bdcd","4185e886-5521-48cf-85db-0fd100956a12","46c916ab-bfe7-4b53-b505-189ff5ba1bfc","1fbb340f-0b4c-4c36-aeac-9ba068bf8ca3","f5f17c86-d357-49dd-8816-b4f4c9c6672b","827bd46b-fac2-4a68-98ed-1a5b492ab6bd","aeee2cec-c9e3-4f40-bfe8-46773ce1b8ee","259c3987-7b73-4a18-bc8d-3862c87a9f2e","87862eb9-8208-4871-a065-1d2247b62aa8","b4b7517d-2454-45ef-9aa4-7938c581fe14"],"responses":{"200":"4ae75e48-f757-46b0-bd44-38a934b7bda1"},"method":"get","type":"path","servers":["7ad433f4-2b9c-4881-91e5-81b571d5c7a5","6d9a096d-f81f-4ba3-914a-d5844aa10b1d"],"path":"/quote","baseUrlOptions":["https://api.jup.ag/swap/v1","https://preprod-quote-api.jup.ag/"],"title":"quote","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"19bfe8ef-c73b-4bab-84fc-34ba183d1738":{"name":"inputMint","in":"query","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"c9c5ed30-bc49-4b5f-8527-77903790b15f":{"name":"outputMint","in":"query","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"abcfe048-2fb4-4568-a59c-19513deaa9c9":{"name":"amount","description":"- Raw amount to swap (before decimals)\n- Input Amount if `SwapMode=ExactIn`\n- Output Amount if `SwapMode=ExactOut`\n","in":"query","required":true,"schema":{"type":"integer","format":"uint64","isRequired":true,"description":"- Raw amount to swap (before decimals)\n- Input Amount if `SwapMode=ExactIn`\n- Output Amount if `SwapMode=ExactOut`\n","uniqueKey":"","typeLabel":"integer\u003cuint64>"}},"30af771f-9b2f-4975-9864-8d0be87305f7":{"name":"slippageBps","description":"- Default: 50\n- This is threshold denoted in basis points.\n- If exact in and output amount exceeds the threshold, then the swap transaction will fail.\n","in":"query","schema":{"type":"integer","format":"uint16","default":50,"description":"- Default: 50\n- This is threshold denoted in basis points.\n- If exact in and output amount exceeds the threshold, then the swap transaction will fail.\n","uniqueKey":"","typeLabel":"integer\u003cuint16>"}},"eec44afd-87c5-494c-83a0-3a265825f6e8":{"name":"swapMode","description":"- ExactOut is for supporting use cases where you need an exact output amount\n- In the case of `ExactIn`, the slippage is on the output token\n- In the case of `ExactOut`, the slippage is on the input token\n- Not all AMMs support `ExactOut`: Currently only Orca Whirlpool, Raydium CLMM, Raydium CPMM\n- We do not recommend using `ExactOut` for most use cases\n","in":"query","schema":{"type":"string","enum":["ExactIn","ExactOut"],"default":"ExactIn","description":"- ExactOut is for supporting use cases where you need an exact output amount\n- In the case of `ExactIn`, the slippage is on the output token\n- In the case of `ExactOut`, the slippage is on the input token\n- Not all AMMs support `ExactOut`: Currently only Orca Whirlpool, Raydium CLMM, Raydium CPMM\n- We do not recommend using `ExactOut` for most use cases\n","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"c199ab64-18e4-47a7-af94-75953154bdcd":{"name":"dexes","description":"- Multiple DEXes can be pass in by comma separating them\n- For example: `dexes=Raydium,Orca+V2,Meteora+DLMM`\n- If a DEX is indicated, the route will **only use** that DEX\n- Full list of DEXes here using the `/program-id-to-label` endpoint\n","in":"query","schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"description":"- Multiple DEXes can be pass in by comma separating them\n- For example: `dexes=Raydium,Orca+V2,Meteora+DLMM`\n- If a DEX is indicated, the route will **only use** that DEX\n- Full list of DEXes here using the `/program-id-to-label` endpoint\n","uniqueKey":"","typeLabel":"string[]"}},"4185e886-5521-48cf-85db-0fd100956a12":{"name":"excludeDexes","description":"- Multiple DEXes can be pass in by comma separating them\n- For example: `excludeDexes=Raydium,Orca+V2,Meteora+DLMM`\n- If a DEX is indicated, the route will **not use** that DEX\n- Full list of DEXes here using the `/program-id-to-label` endpoint\n","in":"query","schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"description":"- Multiple DEXes can be pass in by comma separating them\n- For example: `excludeDexes=Raydium,Orca+V2,Meteora+DLMM`\n- If a DEX is indicated, the route will **not use** that DEX\n- Full list of DEXes here using the `/program-id-to-label` endpoint\n","uniqueKey":"","typeLabel":"string[]"}},"46c916ab-bfe7-4b53-b505-189ff5ba1bfc":{"name":"restrictIntermediateTokens","description":"- Restrict intermediate tokens within a route to a set of more stable tokens\n- This will help to reduce exposure to potential high slippage routes\n","in":"query","schema":{"type":"boolean","default":true,"description":"- Restrict intermediate tokens within a route to a set of more stable tokens\n- This will help to reduce exposure to potential high slippage routes\n","uniqueKey":"","typeLabel":"boolean"}},"1fbb340f-0b4c-4c36-aeac-9ba068bf8ca3":{"name":"onlyDirectRoutes","description":"- Direct route limits Jupiter routing to single hop routes only\n- This may result in worse routes\n","in":"query","schema":{"type":"boolean","default":false,"description":"- Direct route limits Jupiter routing to single hop routes only\n- This may result in worse routes\n","uniqueKey":"","typeLabel":"boolean"}},"f5f17c86-d357-49dd-8816-b4f4c9c6672b":{"name":"asLegacyTransaction","description":"- Instead of using versioned transaction, this will use the legacy transaction\n","in":"query","schema":{"type":"boolean","default":false,"description":"- Instead of using versioned transaction, this will use the legacy transaction\n","uniqueKey":"","typeLabel":"boolean"}},"827bd46b-fac2-4a68-98ed-1a5b492ab6bd":{"name":"platformFeeBps","description":"- Take fees in basis points\n- If `platformFeeBps` is passed in, the `feeAccount` in `/swap` must be passed as well\n","in":"query","schema":{"type":"integer","format":"uint16","description":"- Take fees in basis points\n- If `platformFeeBps` is passed in, the `feeAccount` in `/swap` must be passed as well\n","uniqueKey":"","typeLabel":"integer\u003cuint16>"}},"aeee2cec-c9e3-4f40-bfe8-46773ce1b8ee":{"name":"maxAccounts","description":"- Rough estimate of the max accounts to be used for the quote\n- Useful if composing your own transaction or to be more precise in resource accounting for better routes\n","in":"query","schema":{"type":"integer","format":"uint64","default":64,"description":"- Rough estimate of the max accounts to be used for the quote\n- Useful if composing your own transaction or to be more precise in resource accounting for better routes\n","uniqueKey":"","typeLabel":"integer\u003cuint64>"}},"259c3987-7b73-4a18-bc8d-3862c87a9f2e":{"name":"instructionVersion","description":"- The version of instruction to use in the swap program\n","in":"query","schema":{"type":"string","enum":["V1","V2"],"default":"V1","description":"- The version of instruction to use in the swap program\n","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"87862eb9-8208-4871-a065-1d2247b62aa8":{"name":"dynamicSlippage","description":"- No longer applicable, only required to pass in via `/swap` endpoint\n","in":"query","schema":{"type":"boolean","default":false,"description":"- No longer applicable, only required to pass in via `/swap` endpoint\n","uniqueKey":"","typeLabel":"boolean"}},"b4b7517d-2454-45ef-9aa4-7938c581fe14":{"name":"forJitoBundle","description":"Set to `true` if the quote will be used in a Jito bundle. This excludes DEXes that are incompatible with Jito bundles (e.g. HumidiFi).\n","in":"query","schema":{"type":"boolean","default":false,"description":"Set to `true` if the quote will be used in a Jito bundle. This excludes DEXes that are incompatible with Jito bundles (e.g. HumidiFi).\n","uniqueKey":"","typeLabel":"boolean"}}},"responses":{"4ae75e48-f757-46b0-bd44-38a934b7bda1":{"description":"Successful response to be used in `/swap`","content":{"application/json":{"schema":{"type":"object","required":["inputMint","outputMint","inAmount","outAmount","otherAmountThreshold","swapMode","slippageBps","priceImpactPct","routePlan"],"properties":{"inputMint":{"type":"string","isRequired":true,"uniqueKey":"inputMint","typeLabel":"string"},"inAmount":{"type":"string","isRequired":true,"uniqueKey":"inAmount","typeLabel":"string"},"outputMint":{"type":"string","isRequired":true,"uniqueKey":"outputMint","typeLabel":"string"},"outAmount":{"type":"string","description":"- Best output amount after deducting AMM fees and platform fees\n- Does not account for slippage\n","isRequired":true,"uniqueKey":"outAmount","typeLabel":"string"},"otherAmountThreshold":{"type":"string","description":"- Minimum acceptable output amount — `outAmount` after applying `slippageBps` tolerance\n- Not used by `/swap` endpoint to build transaction\n","isRequired":true,"uniqueKey":"otherAmountThreshold","typeLabel":"string"},"swapMode":{"type":"string","enum":["ExactIn","ExactOut"],"required":true,"isRequired":true,"uniqueKey":"swapMode","typeLabel":"enum\u003cstring>"},"slippageBps":{"type":"integer","format":"uint16","minimum":0,"isRequired":true,"uniqueKey":"slippageBps","typeLabel":"integer\u003cuint16>"},"priceImpactPct":{"type":"string","isRequired":true,"uniqueKey":"priceImpactPct","typeLabel":"string"},"routePlan":{"type":"array","items":{"type":"object","properties":{"swapInfo":{"type":"object","required":["ammKey","inputMint","outputMint","inAmount","outAmount"],"properties":{"ammKey":{"type":"string","isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.ammKey","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"},"label":{"type":"string","uniqueKey":"routePlan.items.[INDEX].swapInfo.label","typeLabel":"string"},"feeAmount":{"oneOf":[{"type":"string","deprecated":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.feeAmount.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.feeAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"routePlan.items.[INDEX].swapInfo.feeAmount","typeLabel":"string | null"},"feeMint":{"oneOf":[{"type":"string","deprecated":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.feeMint.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo.feeMint.oneOf.1","typeLabel":"null"}],"uniqueKey":"routePlan.items.[INDEX].swapInfo.feeMint","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"routePlan.items.[INDEX].swapInfo","typeLabel":"object"},"percent":{"oneOf":[{"type":"integer","format":"uint8","uniqueKey":"routePlan.items.[INDEX].percent.oneOf.0","typeLabel":"integer\u003cuint8>"},{"type":"null","format":"uint8","uniqueKey":"routePlan.items.[INDEX].percent.oneOf.1","typeLabel":"null"}],"uniqueKey":"routePlan.items.[INDEX].percent","typeLabel":"integer\u003cuint8> | null"},"bps":{"type":"integer","format":"uint16","uniqueKey":"routePlan.items.[INDEX].bps","typeLabel":"integer\u003cuint16>"}},"required":["swapInfo"],"uniqueKey":"routePlan.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routePlan","typeLabel":"object[]"},"platformFee":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"platformFee.amount","typeLabel":"string"},"feeBps":{"type":"integer","format":"uint16","uniqueKey":"platformFee.feeBps","typeLabel":"integer\u003cuint16>"}},"uniqueKey":"platformFee","typeLabel":"object"},"contextSlot":{"type":"integer","format":"uint64","uniqueKey":"contextSlot","typeLabel":"integer\u003cuint64>"},"timeTaken":{"type":"number","uniqueKey":"timeTaken","typeLabel":"number"},"mostReliableAmmsQuoteReport":{"oneOf":[{"type":"object","description":"- Markets that would have quoted for this pair\n- Useful for debugging and verifying route decisions\n- Each key is an AMM account address, each value is the quoted output amount\n","properties":{"info":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"mostReliableAmmsQuoteReport.oneOf.0.info.additionalProperties","typeLabel":"string"},"uniqueKey":"mostReliableAmmsQuoteReport.oneOf.0.info","typeLabel":"object"}},"uniqueKey":"mostReliableAmmsQuoteReport.oneOf.0","typeLabel":"object"},{"type":"null","description":"- Markets that would have quoted for this pair\n- Useful for debugging and verifying route decisions\n- Each key is an AMM account address, each value is the quoted output amount\n","properties":{"info":{"type":"object","additionalProperties":{"type":"string"}}},"uniqueKey":"mostReliableAmmsQuoteReport.oneOf.1","typeLabel":"null"}],"uniqueKey":"mostReliableAmmsQuoteReport","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"inputMint":"So11111111111111111111111111111111111111112","inAmount":"100000000","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outAmount":"17057460","otherAmountThreshold":"16886885","swapMode":"ExactIn","slippageBps":100,"priceImpactPct":"0.0001","platformFee":{"amount":"0","feeBps":0},"routePlan":[{"swapInfo":{"ammKey":"HXpGFJGCEEFdV31tDmjDBaJMEB1fKLiAoKoWr3Fnonid","label":"Meteora DLMM","inputMint":"So11111111111111111111111111111111111111112","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","inAmount":"100000000","outAmount":"17057460","feeAmount":"1285","feeMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"percent":100}],"contextSlot":324307186,"timeTaken":0.012},"examples":{"Example":{"title":"Example","value":{"inputMint":"So11111111111111111111111111111111111111112","inAmount":"100000000","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","outAmount":"17057460","otherAmountThreshold":"16886885","swapMode":"ExactIn","slippageBps":100,"priceImpactPct":"0.0001","platformFee":{"amount":"0","feeBps":0},"routePlan":[{"swapInfo":{"ammKey":"HXpGFJGCEEFdV31tDmjDBaJMEB1fKLiAoKoWr3Fnonid","label":"Meteora DLMM","inputMint":"So11111111111111111111111111111111111111112","outputMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","inAmount":"100000000","outAmount":"17057460","feeAmount":"1285","feeMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},"percent":100}],"contextSlot":324307186,"timeTaken":0.012}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a919c1ca-2d47-46a6-af78-01665f87138e":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Get API key via https://developers.jup.ag/portal","scopes":[]}}},"servers":{"7ad433f4-2b9c-4881-91e5-81b571d5c7a5":{"url":"https://api.jup.ag/swap/v1","description":"Metis Swap API endpoint"},"6d9a096d-f81f-4ba3-914a-d5844aa10b1d":{"url":"https://preprod-quote-api.jup.ag/","description":"This is a staging endpoint for tests"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Get API key via https://developers.jup.ag/portal","scopes":[]},"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/v1/swap.yaml"},"subdomain":"jupiter","siteName":"Jupiter Developers","title":"Get Quote (Swap API V1) - Jupiter Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-02T07:38:24.960Z","originalFileLocation":"api-reference/swap/v1/quote.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=\"Request for a quote to be used in POST /swap\">\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 Quote (Swap API V1) - Jupiter Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Request for a quote to be used in POST /swap\">\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 Quote (Swap API V1) - Jupiter Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Request for a quote to be used in POST /swap\">\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/v1/quote.md\">\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","groups":[{"group":"Get Started","pages":[{"title":"Jupiter Developer Docs","sidebarTitle":"Welcome to Jupiter","href":"/get-started"},{"title":"Environment Setup","href":"/get-started/environment-setup"},{"title":"Development Basics","href":"/get-started/development-basics"},{"title":"Developer Guides","sidebarTitle":"Guides","href":"/guides/index"}]},{"group":"Portal","pages":[{"title":"Get Started with the Developer Platform","sidebarTitle":"Getting Started","href":"/portal/setup"},{"group":"Plans \u0026 Limits","pages":[{"title":"Plans and Pricing","href":"/portal/plans"},{"title":"Rate Limits","href":"/portal/rate-limits"}]},{"group":"Platform Features","pages":[{"title":"Organisations \u0026 Teams","href":"/portal/organisations"},{"title":"API Keys","href":"/portal/api-keys"},{"title":"Firewall","href":"/portal/firewall"},{"title":"Request Logs","href":"/portal/logs"},{"title":"Analytics","href":"/portal/analytics"},{"title":"Account Security","href":"/portal/security"}]},{"group":"Reference","pages":[{"title":"Response Codes","href":"/portal/responses"},{"title":"Latency and Server Locations","href":"/portal/latency"},{"title":"Migrating to Developer Platform","href":"/portal/migration"},{"title":"Developer Platform FAQ","sidebarTitle":"FAQ","href":"/portal/faq"}]}]}]},{"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","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","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","groups":[{"group":"Tokens","pages":[{"title":"Solana Token API","sidebarTitle":"About Tokens","href":"/tokens"},{"title":"Token Information","sidebarTitle":"Token Information","href":"/tokens/token-information"},{"title":"Express Verification API","sidebarTitle":"Express Verification","href":"/tokens/verification"}]},{"group":"Guides","pages":[{"title":"How to Get Token Information on Solana","sidebarTitle":"Get Token Information","href":"/guides/how-to-get-token-information"}]},{"group":"API Reference","pages":[{"group":"Token Information","pages":[{"openapi":"openapi-spec/tokens/v2/tokens.yaml get /search","title":"Search","href":"/api-reference/tokens/search"},{"openapi":"openapi-spec/tokens/v2/tokens.yaml get /tag","title":"Tag","href":"/api-reference/tokens/tag"},{"openapi":"openapi-spec/tokens/v2/tokens.yaml get /{category}/{interval}","title":"Category","href":"/api-reference/tokens/category"},{"openapi":"openapi-spec/tokens/v2/tokens.yaml get /recent","title":"Recent","href":"/api-reference/tokens/recent"}]},{"group":"Express Verification","pages":[{"openapi":"openapi-spec/tokens/v2/verification.yaml get /express/check-eligibility","title":"Check Eligibility","href":"/api-reference/tokens/verify-check-eligibility"},{"openapi":"openapi-spec/tokens/v2/verification.yaml get /express/craft-txn","title":"Craft Transaction","href":"/api-reference/tokens/verify-craft-txn"},{"openapi":"openapi-spec/tokens/v2/verification.yaml post /express/execute","title":"Execute Verification (Tokens API)","sidebarTitle":"Execute","href":"/api-reference/tokens/verify-execute"}]}]}]},{"item":"Price","icon":"dollar-sign","groups":[{"group":"Price","pages":[{"title":"Solana Price API","sidebarTitle":"About Price","href":"/price"}]},{"group":"Guides","pages":[{"title":"How to Get Token Prices on Solana","sidebarTitle":"Get Token Prices","href":"/guides/how-to-get-token-price"}]},{"group":"API Reference","pages":[{"openapi":"openapi-spec/price/v3/price.yaml get /","title":"Get Price (Price API V3)","sidebarTitle":"Price","href":"/api-reference/price/index"}]}]},{"item":"Transaction Landing","icon":"paper-plane","groups":[{"group":"Transaction Landing","pages":[{"title":"Transaction Submission","href":"/transaction/submit"},{"openapi":"openapi-spec/transaction/transaction.yaml post /","title":"Send Transaction","href":"/api-reference/transaction/submit"}]}]},{"item":"JupUSD","icon":"money-bill","groups":[{"group":" ","pages":[{"title":"Mint \u0026 Redeem","href":"/jupusd"},{"title":"JUICED Collateral Integration","href":"/jupusd/juiced"}]}]},{"item":"Lend","icon":"piggy-bank","groups":[{"group":"Lend","pages":[{"title":"Jupiter Lend Overview","href":"/lend"},{"title":"Core Architecture","href":"/lend/architecture"},{"title":"Oracles","href":"/lend/oracles"},{"title":"API vs SDK","href":"/lend/api-vs-sdk"}]},{"group":"Earn","pages":[{"title":"Earn Overview","href":"/lend/earn/index"},{"title":"Earn API (Beta)","href":"/lend/earn/api"},{"group":"Earn SDK","pages":[{"title":"Deposit to Earn","href":"/lend/earn/deposit"},{"title":"Withdraw from Earn","href":"/lend/earn/withdraw"},{"title":"Read Earn Data","href":"/lend/earn/read-data"}]},{"title":"Earn CPI Integration","href":"/lend/earn/cpi"},{"title":"JUICED Collateral Integration","href":"/jupusd/juiced"}]},{"group":"Borrow","pages":[{"title":"Borrow Overview","href":"/lend/borrow/index"},{"title":"Borrow API (Beta)","href":"/lend/borrow/api"},{"group":"Borrow SDK","pages":[{"title":"Create Position","href":"/lend/borrow/create-position"},{"title":"Deposit Collateral","href":"/lend/borrow/deposit"},{"title":"Borrow Assets","href":"/lend/borrow/borrow"},{"title":"Repay","href":"/lend/borrow/repay"},{"title":"Withdraw Collateral","href":"/lend/borrow/withdraw"},{"title":"Combined Operations","href":"/lend/borrow/combined"},{"title":"Liquidate","href":"/lend/borrow/liquidation"},{"title":"Read Vault Data","href":"/lend/borrow/read-vault-data"}]},{"title":"Borrow CPI Integration","href":"/lend/borrow/cpi"}]},{"group":"Lend AMM","pages":[{"title":"AMM Overview","href":"/lend/dex/index"},{"title":"AMM SDK","href":"/lend/dex/typescript"},{"title":"AMM APIs","sidebarTitle":"AMM APIs (Coming soon)","href":"/lend/dex/api"},{"title":"AMM CPI Integration","href":"/lend/dex/cpi"},{"title":"AMM Errors","href":"/lend/dex/errors"}]},{"group":"Flashloan","pages":[{"title":"Flashloans","href":"/lend/flashloan/index"},{"title":"Execute a Flashloan","href":"/lend/flashloan/execute"}]},{"group":"Liquidity","pages":[{"title":"Unifying Liquidity","href":"/lend/liquidity/index"},{"title":"Liquidity Data \u0026 Analytics","href":"/lend/liquidity/analytics"}]},{"group":"Advanced","pages":[{"title":"Advanced Guides","href":"/lend/advanced/index"},{"title":"Multiply (Leverage)","href":"/lend/advanced/multiply"},{"title":"Unwind (Deleverage)","href":"/lend/advanced/unwind"},{"title":"Repay with Collateral and Max Withdraw","href":"/lend/advanced/repay-with-collateral-max-withdraw"},{"title":"Vault Swap","href":"/lend/advanced/vault-swap"},{"title":"Utilisation After Deposit","href":"/lend/advanced/utilization-after-deposit"},{"group":"Native Staked Vaults","pages":[{"title":"Native Staked Vaults","href":"/lend/advanced/native-staked-vault/index"},{"title":"Deposit Staked SOL","href":"/lend/advanced/native-staked-vault/deposit"},{"title":"Withdraw Staked SOL","href":"/lend/advanced/native-staked-vault/withdraw"}]}]},{"group":"Wallet Integrations","pages":[{"title":"Earn with Privy","href":"/lend/wallets/privy-earn"},{"title":"Borrow with Privy","href":"/lend/wallets/privy-borrow"}]},{"group":"Resources","pages":[{"title":"Program addresses","href":"/lend/program-addresses"},{"title":"IDL and types","href":"/lend/idl-and-types"},{"title":"Dune Analytics","href":"/lend/dune"}]},{"group":"API Reference","pages":[{"group":"Earn","tag":"BETA","pages":[{"openapi":"openapi-spec/lend/lend.yaml post /earn/deposit","title":"Deposit","href":"/api-reference/lend/earn/deposit"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/withdraw","title":"Withdraw","href":"/api-reference/lend/earn/withdraw"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/mint","title":"Mint","href":"/api-reference/lend/earn/mint"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/redeem","title":"Redeem","href":"/api-reference/lend/earn/redeem"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/deposit-instructions","title":"Deposit Instructions","href":"/api-reference/lend/earn/deposit-instructions"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/withdraw-instructions","title":"Withdraw Instructions","href":"/api-reference/lend/earn/withdraw-instructions"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/mint-instructions","title":"Mint Instructions","href":"/api-reference/lend/earn/mint-instructions"},{"openapi":"openapi-spec/lend/lend.yaml post /earn/redeem-instructions","title":"Redeem Instructions","href":"/api-reference/lend/earn/redeem-instructions"},{"openapi":"openapi-spec/lend/lend.yaml get /earn/tokens","title":"Tokens","href":"/api-reference/lend/earn/tokens"},{"openapi":"openapi-spec/lend/lend.yaml get /earn/positions","title":"Earn Positions","sidebarTitle":"Positions","href":"/api-reference/lend/earn/positions"},{"openapi":"openapi-spec/lend/lend.yaml get /earn/earnings","title":"Earnings","href":"/api-reference/lend/earn/earnings"}]},{"group":"Borrow","tag":"BETA","pages":[{"openapi":"openapi-spec/lend/borrow.yaml get /borrow/vaults","title":"Vaults","href":"/api-reference/lend/borrow/vaults"},{"openapi":"openapi-spec/lend/borrow.yaml get /borrow/positions","title":"Borrow Positions","sidebarTitle":"Positions","href":"/api-reference/lend/borrow/positions"},{"openapi":"openapi-spec/lend/borrow.yaml post /borrow/operate","title":"Operate","href":"/api-reference/lend/borrow/operate"},{"openapi":"openapi-spec/lend/borrow.yaml post /borrow/operate-instructions","title":"Operate Instructions","href":"/api-reference/lend/borrow/operate-instructions"}]}]}]},{"item":"LO \u0026 DCA","icon":"crosshairs","groups":[{"group":"Get Started","pages":[{"title":"Trigger Order API Overview","sidebarTitle":"Overview","href":"/trigger"},{"title":"Authentication","href":"/trigger/authentication"},{"title":"Vault \u0026 Deposit","sidebarTitle":"Vault \u0026 Deposit","href":"/trigger/deposit"},{"title":"Integration Flow","sidebarTitle":"Integration Flow","href":"/trigger/lifecycle"}]},{"group":"Limit Orders","pages":[{"title":"Create Order (Trigger)","sidebarTitle":"Create","href":"/trigger/create-order"},{"title":"Order History (Trigger)","sidebarTitle":"Track","href":"/trigger/order-history"},{"title":"Manage Orders","sidebarTitle":"Manage","href":"/trigger/manage-orders"}]},{"group":"DCA","pages":[{"title":"Dollar-Cost Averaging (DCA)","sidebarTitle":"Create","href":"/trigger/dca"},{"title":"Track a DCA Order","sidebarTitle":"Track","href":"/trigger/dca-history"},{"title":"Cancel a DCA Order","sidebarTitle":"Cancel","href":"/trigger/dca-cancel"}]},{"group":"Resources","pages":[{"title":"Trigger Best Practices","sidebarTitle":"Best Practices","href":"/trigger/best-practices"},{"title":"Error Reference","href":"/trigger/errors"}]},{"group":"API Reference","pages":[{"group":"Authenticate \u0026 Vault","pages":[{"title":"Request Challenge","openapi":"openapi-spec/trigger/v2/trigger.yaml post /auth/challenge","href":"/api-reference/trigger/challenge"},{"title":"Verify Challenge","openapi":"openapi-spec/trigger/v2/trigger.yaml post /auth/verify","href":"/api-reference/trigger/verify"},{"title":"Refresh Token","openapi":"openapi-spec/trigger/v2/trigger.yaml post /auth/refresh","href":"/api-reference/trigger/refresh"},{"title":"Log Out","openapi":"openapi-spec/trigger/v2/trigger.yaml post /auth/logout","href":"/api-reference/trigger/logout"},{"title":"Log Out All","openapi":"openapi-spec/trigger/v2/trigger.yaml post /auth/logout-all","href":"/api-reference/trigger/logout-all"},{"title":"Get Vault","openapi":"openapi-spec/trigger/v2/trigger.yaml get /vault","href":"/api-reference/trigger/vault"},{"title":"Register Vault","openapi":"openapi-spec/trigger/v2/trigger.yaml get /vault/register","href":"/api-reference/trigger/vault-register"},{"title":"Craft Deposit","openapi":"openapi-spec/trigger/v2/trigger.yaml post /deposit/craft","href":"/api-reference/trigger/deposit-craft"}]},{"group":"Limit Order","pages":[{"title":"Create Order (Trigger API)","sidebarTitle":"Create Order","openapi":"openapi-spec/trigger/v2/trigger.yaml post /orders/price","href":"/api-reference/trigger/create-order"},{"title":"Update Order","openapi":"openapi-spec/trigger/v2/trigger.yaml patch /orders/price/{orderId}","href":"/api-reference/trigger/update-order"},{"title":"Cancel Order (Trigger API)","sidebarTitle":"Cancel Order","openapi":"openapi-spec/trigger/v2/trigger.yaml post /orders/price/cancel/{orderId}","href":"/api-reference/trigger/cancel-order"},{"title":"Confirm Cancel","openapi":"openapi-spec/trigger/v2/trigger.yaml post /orders/price/confirm-cancel/{orderId}","href":"/api-reference/trigger/confirm-cancel"}]},{"group":"DCA","pages":[{"title":"Create DCA Order","openapi":"openapi-spec/trigger/v2/trigger.yaml post /orders/dca","href":"/api-reference/trigger/create-dca"},{"title":"Cancel DCA Order","openapi":"openapi-spec/trigger/v2/trigger.yaml post /orders/dca/cancel/{id}","href":"/api-reference/trigger/cancel-dca"},{"title":"Confirm Cancel DCA Order","openapi":"openapi-spec/trigger/v2/trigger.yaml post /orders/dca/confirm-cancel/{id}","href":"/api-reference/trigger/confirm-cancel-dca"},{"title":"List DCA Orders","openapi":"openapi-spec/trigger/v2/trigger.yaml get /orders/history/dca","href":"/api-reference/trigger/dca-history"},{"title":"Get DCA Order","openapi":"openapi-spec/trigger/v2/trigger.yaml get /orders/history/dca/{id}","href":"/api-reference/trigger/dca-order"}]},{"group":"History","pages":[{"title":"Order History (Trigger API)","sidebarTitle":"Order History","openapi":"openapi-spec/trigger/v2/trigger.yaml get /orders/history","href":"/api-reference/trigger/order-history"}]}]}]},{"item":"Prediction","icon":"check-to-slot","groups":[{"group":"Prediction","tag":"BETA","pages":[{"title":"Prediction Market API","sidebarTitle":"About Prediction","href":"/prediction"},{"title":"Jupiter Forecast","sidebarTitle":"Forecast","href":"/prediction/forecast"},{"title":"Trading Lifecycle","href":"/prediction/trading-lifecycle"},{"title":"Events \u0026 Markets","href":"/prediction/events-and-markets"},{"title":"Open Positions","href":"/prediction/open-positions"},{"title":"Manage Positions","href":"/prediction/manage-positions"},{"title":"Claim Payouts","href":"/prediction/claim-payouts"}]},{"group":"Data \u0026 Analytics","tag":"BETA","pages":[{"title":"Position Data \u0026 History","href":"/prediction/position-data"},{"title":"Social Features","href":"/prediction/social-features"}]},{"group":"Guides","pages":[{"title":"How to Build a Prediction Market App on Solana","sidebarTitle":"Prediction Markets","href":"/guides/how-to-build-a-prediction-market-app-on-solana"}]},{"group":"API Reference","tag":"BETA","pages":[{"group":"Events","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /events","title":"Get Events","href":"/api-reference/prediction/get-events"},{"openapi":"openapi-spec/prediction/prediction.yaml get /events/search","title":"Search Events","href":"/api-reference/prediction/search-events"},{"openapi":"openapi-spec/prediction/prediction.yaml get /events/{eventId}","title":"Get Event","href":"/api-reference/prediction/get-event"},{"openapi":"openapi-spec/prediction/prediction.yaml get /events/suggested/{pubkey}","title":"Get Suggested Events","href":"/api-reference/prediction/get-suggested-events"},{"openapi":"openapi-spec/prediction/prediction.yaml get /events/scores","title":"Get Live Scores","href":"/api-reference/prediction/get-event-scores"},{"openapi":"openapi-spec/prediction/prediction.yaml get /events/{eventId}/score","title":"Get Event Score","href":"/api-reference/prediction/get-event-score"}]},{"group":"Markets","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /events/{eventId}/markets","title":"Get Event Markets","href":"/api-reference/prediction/get-event-markets"},{"openapi":"openapi-spec/prediction/prediction.yaml get /events/{eventId}/markets/{marketId}","title":"Get Event Market","href":"/api-reference/prediction/get-event-market"},{"openapi":"openapi-spec/prediction/prediction.yaml get /markets/{marketId}","title":"Get Market","href":"/api-reference/prediction/get-market"}]},{"group":"Orders","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /orders","title":"Get Orders","href":"/api-reference/prediction/get-orders"},{"openapi":"openapi-spec/prediction/prediction.yaml get /orders/{orderPubkey}","title":"Get Order (Prediction API)","sidebarTitle":"Get Order","href":"/api-reference/prediction/get-order"},{"openapi":"openapi-spec/prediction/prediction.yaml get /orders/status/{orderPubkey}","title":"Get Order Status","href":"/api-reference/prediction/get-order-status"},{"openapi":"openapi-spec/prediction/prediction.yaml post /orders","title":"Create Order (Prediction API)","sidebarTitle":"Create Order","href":"/api-reference/prediction/create-order"},{"openapi":"openapi-spec/prediction/prediction.yaml post /execute","title":"Execute Order (Prediction API)","sidebarTitle":"Execute Order","href":"/api-reference/prediction/execute"}]},{"group":"Positions","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /positions","title":"Get Positions (Prediction API)","sidebarTitle":"Get Positions","href":"/api-reference/prediction/get-positions"},{"openapi":"openapi-spec/prediction/prediction.yaml get /positions/{positionPubkey}","title":"Get Position","href":"/api-reference/prediction/get-position"},{"openapi":"openapi-spec/prediction/prediction.yaml delete /positions/{positionPubkey}","title":"Close Position","href":"/api-reference/prediction/close-position"},{"openapi":"openapi-spec/prediction/prediction.yaml delete /positions","title":"Close All Positions","href":"/api-reference/prediction/close-all-positions"},{"openapi":"openapi-spec/prediction/prediction.yaml post /positions/{positionPubkey}/claim","title":"Claim Position","href":"/api-reference/prediction/claim-position"}]},{"group":"History \u0026 Data","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /history","title":"Get History","href":"/api-reference/prediction/get-history"},{"openapi":"openapi-spec/prediction/prediction.yaml get /orderbook/{marketId}","title":"Get Orderbook","href":"/api-reference/prediction/get-orderbook"},{"openapi":"openapi-spec/prediction/prediction.yaml get /trading-status","title":"Get Trading Status","href":"/api-reference/prediction/get-trading-status"}]},{"group":"Profile \u0026 Social","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /profiles/{ownerPubkey}","title":"Get Profile","href":"/api-reference/prediction/get-profile"},{"openapi":"openapi-spec/prediction/prediction.yaml get /profiles/{ownerPubkey}/pnl-history","title":"Get PnL History","href":"/api-reference/prediction/get-pnl-history"},{"openapi":"openapi-spec/prediction/prediction.yaml get /trades","title":"Get Trades","href":"/api-reference/prediction/get-trades"},{"openapi":"openapi-spec/prediction/prediction.yaml get /leaderboards","title":"Get Leaderboards","href":"/api-reference/prediction/get-leaderboards"}]},{"group":"Vault","pages":[{"openapi":"openapi-spec/prediction/prediction.yaml get /vault-info","title":"Get Vault Info","href":"/api-reference/prediction/get-vault-info"}]}]}]},{"item":"More","icon":"ellipsis","groups":[{"group":"Send","tag":"BETA","pages":[{"title":"Jupiter Send API Overview","sidebarTitle":"About Send API","href":"/send"},{"title":"Invite Code (Beta)","href":"/send/invite-code"},{"title":"Craft Send (Beta)","href":"/send/craft-send"},{"title":"Craft Clawback (Beta)","href":"/send/craft-clawback"},{"title":"Manage Invites (Beta)","href":"/send/manage-invites"}]},{"group":"Studio","tag":"BETA","pages":[{"title":"Jupiter Studio Overview","sidebarTitle":"About Studio","href":"/studio/index"},{"title":"Create Token (Beta)","href":"/studio/create-token"},{"title":"Claim Fee (Beta)","href":"/studio/claim-fee"}]},{"group":"Lock","pages":[{"title":"Jupiter Lock Overview","sidebarTitle":"About Lock","href":"/lock/index"}]},{"group":"Perps","pages":[{"title":"Jupiter Perpetuals Overview","sidebarTitle":"About Perps API","href":"/perps/index"},{"title":"Position Account","href":"/perps/position-account"},{"title":"PositionRequest Account","href":"/perps/position-request-account"},{"title":"Pool Account","href":"/perps/pool-account"},{"title":"Custody Account","href":"/perps/custody-account"}]},{"group":"API Reference","pages":[{"group":"Send","pages":[{"openapi":"openapi-spec/send/send.yaml post /craft-send","title":"Craft Send","href":"/api-reference/send/craft-send"},{"openapi":"openapi-spec/send/send.yaml post /craft-clawback","title":"Craft Clawback","href":"/api-reference/send/craft-clawback"},{"openapi":"openapi-spec/send/send.yaml get /pending-invites","title":"Pending Invites","href":"/api-reference/send/pending-invites"},{"openapi":"openapi-spec/send/send.yaml get /invite-history","title":"Invite History","href":"/api-reference/send/invite-history"}]},{"group":"Studio","pages":[{"openapi":"openapi-spec/studio/studio.yaml post /dbc-pool/create-tx","title":"DBC Pool Create TX","href":"/api-reference/studio/dbc-pool-create-tx"},{"openapi":"openapi-spec/studio/studio.yaml post /dbc-pool/submit","title":"DBC Pool Submit","href":"/api-reference/studio/dbc-pool-submit"},{"openapi":"openapi-spec/studio/studio.yaml get /dbc-pool/addresses/{mint}","title":"DBC Pool Addresses by Mint","href":"/api-reference/studio/dbc-pool-addresses-by-mint"},{"openapi":"openapi-spec/studio/studio.yaml post /dbc/fee","title":"DBC Fee","href":"/api-reference/studio/dbc-fee"},{"openapi":"openapi-spec/studio/studio.yaml post /dbc/fee/create-tx","title":"DBC Fee Create TX","href":"/api-reference/studio/dbc-fee-create-tx"}]}]}]}]},{"tab":"AI","groups":[{"group":" ","pages":[{"title":"Jupiter for AI Agents","sidebarTitle":"Overview","href":"/ai"},{"title":"llms.txt","href":"/ai/llms-txt"},{"title":"Skills","href":"/ai/skills"},{"title":"Documentation MCP","href":"/ai/mcp"},{"title":"Jupiter Trading MCP","sidebarTitle":"Trading MCP","href":"/ai/trading-mcp"},{"title":"Jupiter CLI","href":"/ai/cli"}]}]},{"tab":"Tool Kits","groups":[{"group":"Tool Kits","pages":[{"title":"Jupiter Tool Kits","sidebarTitle":"About Tool Kits","href":"/tool-kits"}]},{"group":"Jupiter Plugin","pages":[{"title":"Integrate Jupiter Plugin","sidebarTitle":"Introduction","href":"/tool-kits/plugin/index"},{"group":"Walkthrough","pages":[{"title":"Next.js App Example","href":"/tool-kits/plugin/nextjs-app-example"},{"title":"React App Example","href":"/tool-kits/plugin/react-app-example"},{"title":"HTML App Example","href":"/tool-kits/plugin/html-app-example"}]},{"title":"Customizing Plugin","href":"/tool-kits/plugin/customization"},{"title":"Jupiter Plugin FAQ","sidebarTitle":"FAQ","href":"/tool-kits/plugin/faq"}]},{"group":"Jupiter Wallet Kit","pages":[{"title":"Integrate Wallet Kit","sidebarTitle":"Introduction","href":"/tool-kits/wallet-kit/index"},{"title":"Jupiter Wallet Extension","href":"/tool-kits/wallet-kit/jupiter-wallet-extension"},{"title":"Jupiter Mobile Adapter","href":"/tool-kits/wallet-kit/jupiter-mobile-adapter"}]},{"group":"Jupiter Referral Program","pages":[{"title":"Referral Program","sidebarTitle":"Introduction","href":"/tool-kits/referral-program"}]}]},{"tab":"Changelog","href":"https://developers.jup.ag/changelog"},{"tab":"Resources","groups":[{"group":"Resources","pages":[{"title":"Support","href":"/resources/support"},{"title":"Brand Kit","href":"/resources/brand-kit"},{"title":"Stats","href":"/resources/stats"},{"title":"Audits","href":"/resources/audits"},{"title":"Security","href":"/resources/security"},{"title":"References","href":"/resources/references"}]},{"group":"Legal","pages":[{"title":"Guidelines","href":"/legal/index"},{"title":"SDK \u0026 API License Agreement","href":"/legal/sdk-api-license-agreement"},{"title":"Terms of Use","href":"/legal/terms-of-use"},{"title":"Privacy Policy","href":"/legal/privacy-policy"}]}]}]},"basePath":"","title":"Get Quote (Swap API V1) - Jupiter Developers","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown--rjwFo9x.js","dist-qmLwQyWY.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-apD-Q0Oo.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-Do6EtGSl.js","utils-id4tQ6My.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Byrixac4.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nakYa3Zl.js","snippetPresets-Bq-pUS7h.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CujTC_9K.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-FneVUsVu.js","shallow-DY9WpUCz.js","getApiPlaygroundDisplay-Bz8WpPfA.js","CodeSnippet-DgCuJg4G.js","CodeSnippets-Dub9c4T0.js","Page-CePXnjd1.js","getPastedJson-xdI8y2XB.js","icon--yVw5vkr.js","MethodPill-C47t7MdS.js","DuplicateIcon-BzwJ2LeC.js","createIcon-BzggGy84.js","DynamicMarkdown-AlxJK8VR.js","SectionHeading-CMlwFxdK.js","axios-vUo_bRtp.js","Markdown-BNgNrPsi.js","AssistantPageLink-Dc4qTkWx.js"]}