API reference for Sprinter Solve — request an optimal swap route and execute the returned call data
Sprinter Solve enables efficient, intent-based swap execution through the Solve API, powered by the Sprinter Solver (built on the Project Blanc solver). You request a route for a token swap and receive the executable call data, optimized for best price with MEV protection and low slippage.
Detect an intent — a user wants to swap one token for another.
Get a route — call GET /v1/route with the input amount, token in/out, and slippage (in basis points). The response includes amountOut, minAmountOut, the target contract, the executable callData, and gas estimates.
Execute — send a transaction to target with callData from the user’s wallet to fulfill the swap on-chain.
Re-query /v1/route before execution if there is a delay, and simulate the call data (e.g. with Tenderly) before sending.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Credit runs on Sprinter","colors":{"primary":"#FF5100","light":"#FF7A3D","dark":"#CC4100"},"favicon":"https://mintcdn.com/sprinter-1ab1fed0/gd70ilharDykweEQ/favicon.svg?fit=max\u0026auto=format\u0026n=gd70ilharDykweEQ\u0026q=85\u0026s=779f22112aa1cf35630e73fa030517f0","logo":{"light":"https://mintcdn.com/sprinter-1ab1fed0/QenxOo-sSJTAjrWq/logo/light.svg?fit=max\u0026auto=format\u0026n=QenxOo-sSJTAjrWq\u0026q=85\u0026s=b597af07f9924dfd997c717bd3ca45fc","dark":"https://mintcdn.com/sprinter-1ab1fed0/QenxOo-sSJTAjrWq/logo/dark.svg?fit=max\u0026auto=format\u0026n=QenxOo-sSJTAjrWq\u0026q=85\u0026s=b9394aebf17a1621b60229777e9713b0"},"api":{"openapi":["api-reference/sprinter/openapi.json","api-reference/solve/openapi.yaml"]},"navbar":{"links":[{"label":"Website","href":"https://sprinter.tech"}],"primary":{"type":"button","label":"Swagger","href":"https://api.sprinter.tech/swagger/index.html"}},"footer":{"socials":{"github":"https://github.com/sprintertech","x":"https://x.com/sprinter_ux","youtube":"https://youtube.com/@sprinter"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/sprintertech","icon":"github"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sprinter-1ab1fed0","hasAudioNarration":false,"actualSubdomain":"sprinter-1ab1fed0","customDomains":["docs.sprinter.tech"],"gitSource":{"type":"github","owner":"sprintertech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a7c7b4723e49441454270b6","collectionId":"1f6655d2-b274-45ad-9b2a-c1fc5d4ac43f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a7c7b4723e49441454270b6"},"entitlements":{},"buildId":"6a7c7b4723e49441454270b6:success","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Sprinter API","count":30},{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"Credit","count":16},{"language":"default","tag":"Quickstart","count":10},{"language":"default","tag":"Liquidity","count":9},{"language":"default","tag":"Credit Advanced","count":7},{"language":"default","tag":"Liquidity Info","count":6},{"language":"default","tag":"Sprinter Credit","count":6},{"language":"default","tag":"Solve RFQ","count":5},{"language":"default","tag":"Credit Actions","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/solve/overview","slug":"/api-reference/solve/overview","pageMetadata":{"title":"Overview","description":"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data","href":"/api-reference/solve/overview"},"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: \"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Sprinter Solve enables efficient, intent-based swap execution through the Solve API, powered by the Sprinter Solver (built on the Project Blanc solver). You request a route for a token swap and receive the executable call data, optimized for best price with MEV protection and low slippage.`}),`\n`,_jsx(Heading,{level:`2`,id:`base-url`,children:`Base URL`}),`\n`,_jsx(_components.p,{children:`The Swap API is served per network:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://swaps.sprinter.tech/mainnet`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://swaps.sprinter.tech/base`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`All requests use HTTP Basic authentication. Your credentials are a username and an API key (format `,_jsx(_components.code,{children:`sk_live_*`}),`) used as the password:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --user`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'YOUR_USERNAME:YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://swaps.sprinter.tech/base/v1/route?tokenIn=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\u0026tokenOut=0x50c5725949a6f0c72e6c4a641f24049a917db0cb\u0026amountIn=5000000000\u0026slippageBps=50'`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Request Solve API credentials by contacting `,_jsx(_components.a,{href:`mailto:[email protected]`,children:`[email protected]`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Detect an intent`}),` — a user wants to swap one token for another.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get a route`}),` — call `,_jsx(_components.a,{href:`/api-reference/solve/get-v1route`,children:_jsx(_components.code,{children:`GET /v1/route`})}),` with the input amount, token in/out, and slippage (in basis points). The response includes `,_jsx(_components.code,{children:`amountOut`}),`, `,_jsx(_components.code,{children:`minAmountOut`}),`, the `,_jsx(_components.code,{children:`target`}),` contract, the executable `,_jsx(_components.code,{children:`callData`}),`, and gas estimates.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Execute`}),` — send a transaction to `,_jsx(_components.code,{children:`target`}),` with `,_jsx(_components.code,{children:`callData`}),` from the user’s wallet to fulfill the swap on-chain.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoints`,children:`Endpoints`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/solve/get-v1route`,children:_jsx(_components.code,{children:`GET /v1/route`})})}),_jsx(_components.td,{children:`Get an optimal swap route and execution call data`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response format`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /v1/route`}),` returns the route and the call data needed to execute the swap:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amountOut\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"99850000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minAmountOut\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"99350000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"callData\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gasUsed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`180000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gasLimit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`234000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Re-query `,_jsx(_components.code,{children:`/v1/route`}),` before execution if there is a delay, and simulate the call data (e.g. with Tenderly) before sending.`]})})]})}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":{"title":"Overview","description":"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data","href":"/api-reference/solve/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Base URL","slug":"base-url","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Endpoints","slug":"endpoints","depth":2,"children":[]},{"title":"Response format","slug":"response-format","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sprinter-1ab1fed0","siteName":"Credit runs on Sprinter","title":"Overview - Credit runs on Sprinter","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-12T11:33:53.171Z","originalFileLocation":"api-reference/solve/overview.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=\"system\"}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=\"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data\">\u003cmeta data-mint-head name=\"application-name\" content=\"Credit runs on Sprinter\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_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=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Overview - Credit runs on Sprinter\">\u003cmeta data-mint-head property=\"og:description\" content=\"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Credit runs on Sprinter\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sprinter.tech/api-reference/solve/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sprinter-1ab1fed0.mintlify.app/_mintlify/api/og/v2?division=Swap+API\u0026amp;title=Overview\u0026amp;description=API+reference+for+Sprinter+Solve+%E2%80%94+request+an+optimal+swap+route+and+execute+the+returned+call+data\u0026amp;theme=b22815987bd0103b410c8ad8\u0026amp;signature=ec5f46e8aabf67eb0f871fcb6d3f9b577b5722e4b8ad5731f6862843944ac22f\">\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=\"Overview - Credit runs on Sprinter\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sprinter-1ab1fed0.mintlify.app/_mintlify/api/og/v2?division=Swap+API\u0026amp;title=Overview\u0026amp;description=API+reference+for+Sprinter+Solve+%E2%80%94+request+an+optimal+swap+route+and+execute+the+returned+call+data\u0026amp;theme=b22815987bd0103b410c8ad8\u0026amp;signature=ec5f46e8aabf67eb0f871fcb6d3f9b577b5722e4b8ad5731f6862843944ac22f\">\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=\"/mintlify-assets/_mintlify/favicons/sprinter-1ab1fed0/EGJ_CfN59mUD2cNJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Credit runs on Sprinter\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5100\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sprinter.tech/api-reference/solve/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/solve/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sprinter.tech/#organization\",\"name\":\"Credit runs on Sprinter\",\"url\":\"https://docs.sprinter.tech\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sprinter-1ab1fed0/QenxOo-sSJTAjrWq/logo/light.svg?fit=max\u0026auto=format\u0026n=QenxOo-sSJTAjrWq\u0026q=85\u0026s=b597af07f9924dfd997c717bd3ca45fc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sprinter.tech#website\",\"name\":\"Credit runs on Sprinter\",\"url\":\"https://docs.sprinter.tech\",\"publisher\":{\"@id\":\"https://docs.sprinter.tech/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sprinter.tech/api-reference/solve/overview#webpage\",\"url\":\"https://docs.sprinter.tech/api-reference/solve/overview\",\"name\":\"Overview\",\"description\":\"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data\",\"dateModified\":\"2026-06-12T11:33:53.171Z\",\"isPartOf\":{\"@id\":\"https://docs.sprinter.tech#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sprinter.tech/api-reference/solve/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sprinter.tech/api-reference/solve/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Solve RFQ\",\"item\":\"https://docs.sprinter.tech/api-reference/solve-rfq/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Overview\",\"item\":\"https://docs.sprinter.tech/api-reference/solve/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sprinter.tech/api-reference/solve/overview#article\",\"headline\":\"Overview\",\"name\":\"Overview\",\"description\":\"API reference for Sprinter Solve — request an optimal swap route and execute the returned call data\",\"url\":\"https://docs.sprinter.tech/api-reference/solve/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sprinter.tech/api-reference/solve/overview#webpage\"},\"dateModified\":\"2026-06-12T11:33:53.171Z\",\"publisher\":{\"@id\":\"https://docs.sprinter.tech/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sprinter.tech#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Credit runs on Sprinter\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Credit runs on Sprinter","nav":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/sprintertech","icon":"github"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Sprinter API","groups":[{"group":"Credit","pages":[{"title":"Overview","href":"/api-reference/sprinter/credit/overview"},{"group":"Credit Info","pages":[{"title":"Protocol Configuration","sidebarTitle":"Protocol Configuration","openapi":"get /credit/protocol","href":"/api-reference/sprinter/credit/get-credit-protocol-configuration"},{"title":"Credit Account Info","sidebarTitle":"Credit Account Info","openapi":"get /credit/accounts/{account}/info","href":"/api-reference/sprinter/credit/get-user-credit-information"},{"title":"Collateral Details","sidebarTitle":"Collateral Details","openapi":"get /credit/v2/assets/{asset}/collateral/{chain}/{collateral}","href":"/api-reference/sprinter/credit/get-collateral-asset-details"},{"title":"Operator Status","sidebarTitle":"Operator Status","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/operator","href":"/api-reference/sprinter/credit/get-operator-status-for-an-account"}]},{"group":"Credit Actions","pages":[{"title":"Lock Collateral","sidebarTitle":"Lock Collateral","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/lock","href":"/api-reference/sprinter/credit/calldata-to-lock-asset-as-collateral"},{"title":"Unlock Collateral","sidebarTitle":"Unlock Collateral","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/unlock","href":"/api-reference/sprinter/credit/call-data-to-unlock-collateral"},{"title":"Draw Credit","sidebarTitle":"Draw Credit","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/draw","href":"/api-reference/sprinter/credit/build-transaction-calls-to-draw-credit"},{"title":"Repay Debt","sidebarTitle":"Repay Debt","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/repay","href":"/api-reference/sprinter/credit/call-data-to-repay-credit-debt"}]},{"group":"Credit Advanced","pages":[{"title":"Enable Auto Top-Up","sidebarTitle":"Enable Auto Top-Up","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/operator/auto-topup/enable","href":"/api-reference/sprinter/credit/build-transaction-calls-to-enable-auto-top-up"},{"title":"Disable Auto Top-Up","sidebarTitle":"Disable Auto Top-Up","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/operator/auto-topup/disable","href":"/api-reference/sprinter/credit/build-transaction-calls-to-disable-auto-top-up"},{"title":"Get Auto Top-Up Config","sidebarTitle":"Get Auto Top-Up Config","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/operator/auto-topup/config","href":"/api-reference/sprinter/credit/get-auto-topup-config"},{"title":"Update Auto Top-Up","sidebarTitle":"Update Auto Top-Up","openapi":"get /credit/v2/accounts/{account}/assets/{asset}/operator/auto-topup/update","href":"/api-reference/sprinter/credit/update-auto-top-up"},{"title":"Wrap into Earn Vault","sidebarTitle":"Wrap into Earn Vault","openapi":"get /credit/earn/wrap","href":"/api-reference/sprinter/credit/wrap-asset-into-earn-vault"},{"title":"Unwrap from Earn Vault","sidebarTitle":"Unwrap from Earn Vault","openapi":"get /credit/earn/unwrap","href":"/api-reference/sprinter/credit/unwrap-position-from-earn-vault"},{"title":"Claim from Earn Vault","sidebarTitle":"Claim from Earn Vault","openapi":"get /credit/earn/claim","href":"/api-reference/sprinter/credit/claim-position-from-earn-vault"}]}]},{"group":"Liquidity","pages":[{"title":"Overview","href":"/api-reference/sprinter/liquidity/overview"},{"group":"Liquidity Info","pages":[{"title":"Returns Supported Tokens for a Chain","sidebarTitle":"Supported Tokens","openapi":"get /liquidity/chain/{chainId}/tokens","href":"/api-reference/sprinter/liquidity/returns-supported-tokens-for-a-chain"},{"title":"Get Available Liquidity for a Specific Pool Type on a Chain","sidebarTitle":"Available Liquidity","openapi":"get /liquidity/pools/{poolType}","href":"/api-reference/sprinter/liquidity/get-available-liquidity-for-a-specific-pool-type-on-a-chain"},{"title":"Stream Available Liquidity Updates via SSE","sidebarTitle":"Stream Liquidity Updates","openapi":"get /liquidity/protocol/{protocol}/events","href":"/api-reference/sprinter/liquidity/stream-available-liquidity-updates-via-sse"},{"title":"Get Fee and Limits for a Given Protocol Route","sidebarTitle":"Fees \u0026 Limits","openapi":"get /liquidity/protocol/{protocol}/fees","href":"/api-reference/sprinter/liquidity/get-fee-and-limits-for-a-given-protocol-route"},{"title":"Returns Solver Address","sidebarTitle":"Solver Address","openapi":"get /protocol/{protocol}/solver","href":"/api-reference/sprinter/returns-solver-address"},{"title":"Health Check","sidebarTitle":"Health Check","openapi":"get /health","href":"/api-reference/sprinter/health-check"}]},{"group":"Liquidity Actions","pages":[{"title":"Get the Borrow Quote for a Liquidity Transaction","sidebarTitle":"Borrow Quote","openapi":"get /liquidity/v2/chain/{srcChain}/protocol/{protocol}/type/{type}/quote","href":"/api-reference/sprinter/liquidity/get-the-borrow-quote-for-a-liquidity-transaction-based-on-the-input-data"},{"title":"Get Signing Authorization for a Liquidity Transaction","sidebarTitle":"Liquidity Signature","openapi":"post /liquidity/v2/chain/{dstChain}/protocol/{protocol}/signature","href":"/api-reference/sprinter/liquidity/get-signing-authorization-for-a-liquidity-transaction"}]}]},{"group":"Solve RFQ","pages":[{"title":"Overview","href":"/api-reference/solve-rfq/overview"},{"group":"LI.FI Intents","pages":[{"title":"Request a LI.FI Intents Quote","sidebarTitle":"RFQ","openapi":"get /lifi-intents/rfq","href":"/api-reference/sprinter/lifi-intents/rfq"},{"title":"Build the Escrow Open Transaction","sidebarTitle":"Transaction","openapi":"post /lifi-intents/transaction","description":"Turns a quote into an unsigned `open` call on the LI.FI intents input settler escrow. When the quote carries a `quoteId` from the RFQ endpoint, the liquidity reservation is re-keyed to the resulting on-chain order id.","href":"/api-reference/sprinter/lifi-intents/transaction"}]},{"group":"Swap API","pages":[{"title":"Overview","href":"/api-reference/solve/overview"},{"title":"Route","openapi":"get /v1/route","description":"Calculate the optimal swap route and generate execution parameters for a token exchange","href":"/api-reference/solve/get-v1route"}]}]}]}]},"title":"Overview - Credit runs on Sprinter","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":[],"chunks":[]}