{
"success": false,
"error": "No routing data available for symbol",
"timestamp": 123
}
Fetches the current best exchange and price for a symbol without executing a trade. The response shows which exchange currently offers the best price along with alternative venues and pricing context.
{ "success": false, "error": "No routing data available for symbol", "timestamp": 1678900000000}
Use this endpoint to preview which venue will be selected before placing a trade, or to power UI components that surface best-exchange insights in real-time.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Tide API Documentation","colors":{"primary":"#0EA5E9","light":"#38BDF8","dark":"#0284C7"},"favicon":"/tidebluefull.svg","logo":{"light":"https://mintcdn.com/arcane-0ded8dd0/TW8Wh8CNYhd3LgAt/tidebluefull.svg?fit=max\u0026auto=format\u0026n=TW8Wh8CNYhd3LgAt\u0026q=85\u0026s=75bd86a2ce8488db623250a6ccbe9af3","dark":"https://mintcdn.com/arcane-0ded8dd0/TW8Wh8CNYhd3LgAt/tidebluefull.svg?fit=max\u0026auto=format\u0026n=TW8Wh8CNYhd3LgAt\u0026q=85\u0026s=75bd86a2ce8488db623250a6ccbe9af3"},"api":{"openapi":"openapi.json","mdx":{"server":"https://api.tide.ag","auth":{"method":"key","name":"X-API-KEY"}}},"navbar":{"links":[{"label":"Dashboard","href":"https://app.tide.ag/"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.tide.ag/"}},"footer":{"socials":{"twitter":"https://x.com/tide_ag","telegram":"https://t.me/tidedotag"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Status","href":"https://api.tide.ag/health","icon":"chart-line"},{"anchor":"Community","href":"https://t.me/tidedotag","icon":"telegram"},{"anchor":"Support","href":"https://x.com/tide_ag","icon":"twitter"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"arcane-0ded8dd0","hasAudioNarration":false,"actualSubdomain":"arcane-0ded8dd0","customDomains":["docs.tide.ag"],"gitSource":{"type":"github","owner":"arcane-build","repo":"hyperdex-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e8dc044dd579e9b5ccd5","collectionId":"4bee5a2a-953f-402b-a1a2-79fcc7d1cd5d","schemaVersion":"v2"},"entitlements":{},"buildId":"6a399b9e4917e8d409cb9bb9:failure","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Documentation","count":24},{"language":"default","tag":"Account","count":6},{"language":"default","tag":"Trading","count":6},{"language":"default","tag":"Market Data","count":4},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Positions","count":1},{"language":"default","tag":"System","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"trading/routing-recommendation","slug":"/trading/routing-recommendation","pageMetadata":{"title":"Get Routing Recommendation","openapi":"GET /api/trade/routing/{symbol}","description":"Fetches the current best exchange and price for a symbol without executing a trade.","href":"/trading/routing-recommendation"},"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: \"Fetches the current best exchange and price for a symbol without executing a trade.\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._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:`Fetches the current best exchange and price for a symbol without executing a trade. The response shows which exchange currently offers the best price along with alternative venues and pricing context.`}),`\n`,_jsx(Heading,{level:`2`,id:`features`,children:`Features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Real-time insights`}),`: Surface the venue offering the best bid or ask instantly`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Contextual pricing`}),`: Includes savings metrics and alternative venue pricing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configurable direction`}),`: Toggle BUY or SELL recommendations via query params`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Credential-free`}),`: Preview routing outcomes without submitting trade credentials`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Power pre-trade analytics or UI previews before executing a position`}),`\n`,_jsx(_components.li,{children:`Monitor venue spreads to decide when to re-route algorithmic order flow`}),`\n`,_jsx(_components.li,{children:`Feed routing data into risk systems to anticipate liquidity constraints`}),`\n`,_jsx(_components.li,{children:`Provide traders with transparency on venue selection logic in dashboards`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Method`}),`: `,_jsx(_components.code,{children:`GET`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Endpoint`}),`: `,_jsx(_components.code,{children:`/api/trade/routing/{symbol}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Path Parameter`}),`: `,_jsx(_components.code,{children:`symbol`}),` (e.g., `,_jsx(_components.code,{children:`BTC`}),`, `,_jsx(_components.code,{children:`ETH`}),`, `,_jsx(_components.code,{children:`SOL`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Query Parameter`}),`: `,_jsx(_components.code,{children:`side`}),` (required) - `,_jsx(_components.code,{children:`BUY`}),` or `,_jsx(_components.code,{children:`SELL`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.tide.ag/api/trade/routing/BTC?side=BUY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`success-response`,children:`Success Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,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:`21`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"data\"`}),_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:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_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:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BUY\"`}),_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:` \"routing\"`}),_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:` \"recommended\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lighter\"`}),_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:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`88308.1`}),_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:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Best ask price\"`}),_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:` \"savings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10.50`}),_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:` \"savingsPercent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.012`}),_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:` \"alternatives\"`}),_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:` \"hyperliquid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`89207`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"aster\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`89221.9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"lighter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`88308.1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"avantis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`89150.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1678900000000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`symbol`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Asset symbol passed in the request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`side`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`BUY`}),` or `,_jsx(_components.code,{children:`SELL`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`routing.recommended`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Exchange that currently offers the best execution`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`routing.price`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Best execution price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`routing.reason`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Why the exchange was selected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`routing.savings`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Estimated savings (in quote asset) compared to next-best venue`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`routing.savingsPercent`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Percent improvement over alternatives`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`routing.alternatives`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Pricing details for each supported exchange`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found-no-routing-data`,children:`404 Not Found - No Routing Data`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No routing data available for symbol\"`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1678900000000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Use this endpoint to preview which venue will be selected before placing a trade, or to power UI components that surface best-exchange insights in real-time.`})})]})}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":"Get Routing Recommendation","openapi":"GET /api/trade/routing/{symbol}","description":"Fetches the current best exchange and price for a symbol without executing a trade.","href":"/trading/routing-recommendation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Features","slug":"features","depth":2,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Success Response","slug":"success-response","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[{"title":"404 Not Found - No Routing Data","slug":"404-not-found-no-routing-data","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Routing Recommendation","description":"Fetches the current best exchange and price for a symbol without executing a trade.","tags":["Trading"],"parameters":["5844406b-1d66-43cc-ba60-ee48d12ee072","0bd15cb2-1656-4a90-882d-ad8c7f1db52a"],"responses":{"200":"c75059a0-9711-47e2-889e-44e358cecabc","404":"5c5ef868-9e71-4d6b-ac67-86b2061d1ecd"},"method":"get","type":"path","servers":["7ffd4899-ce4a-4b56-8c94-cbc914622ed8"],"security":["f97ac229-9316-4a46-a82e-8e341069fcd4"],"path":"/api/trade/routing/{symbol}","baseUrlOptions":["https://api.tide.ag"],"title":"Get Routing Recommendation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5844406b-1d66-43cc-ba60-ee48d12ee072":{"name":"symbol","in":"path","required":true,"schema":{"type":"string","example":"BTC","isRequired":true,"description":"Asset symbol (e.g., BTC, ETH)","uniqueKey":"","typeLabel":"string"},"description":"Asset symbol (e.g., BTC, ETH)"},"0bd15cb2-1656-4a90-882d-ad8c7f1db52a":{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["BUY","SELL"],"isRequired":true,"description":"Order side (BUY or SELL)","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Order side (BUY or SELL)"}},"responses":{"c75059a0-9711-47e2-889e-44e358cecabc":{"description":"Routing recommendation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"symbol":{"type":"string","example":"BTC","uniqueKey":"data.symbol","typeLabel":"string"},"side":{"type":"string","enum":["BUY","SELL"],"uniqueKey":"data.side","typeLabel":"enum\u003cstring>"},"routing":{"type":"object","properties":{"recommended":{"type":"string","enum":["hyperliquid","aster","lighter"],"example":"lighter","uniqueKey":"data.routing.recommended","typeLabel":"enum\u003cstring>"},"price":{"type":"number","example":88308.1,"uniqueKey":"data.routing.price","typeLabel":"number"},"reason":{"type":"string","example":"Best ask price","uniqueKey":"data.routing.reason","typeLabel":"string"},"savings":{"type":"number","example":10.5,"uniqueKey":"data.routing.savings","typeLabel":"number"},"savingsPercent":{"type":"number","example":0.012,"uniqueKey":"data.routing.savingsPercent","typeLabel":"number"},"alternatives":{"type":"object","properties":{"hyperliquid":{"type":"object","properties":{"price":{"type":"number","example":89207,"uniqueKey":"data.routing.alternatives.hyperliquid.price","typeLabel":"number"},"available":{"type":"boolean","example":true,"uniqueKey":"data.routing.alternatives.hyperliquid.available","typeLabel":"boolean"}},"uniqueKey":"data.routing.alternatives.hyperliquid","typeLabel":"object"},"aster":{"type":"object","properties":{"price":{"type":"number","example":89221.9,"uniqueKey":"data.routing.alternatives.aster.price","typeLabel":"number"},"available":{"type":"boolean","example":true,"uniqueKey":"data.routing.alternatives.aster.available","typeLabel":"boolean"}},"uniqueKey":"data.routing.alternatives.aster","typeLabel":"object"},"lighter":{"type":"object","properties":{"price":{"type":"number","example":88308.1,"uniqueKey":"data.routing.alternatives.lighter.price","typeLabel":"number"},"available":{"type":"boolean","example":true,"uniqueKey":"data.routing.alternatives.lighter.available","typeLabel":"boolean"}},"uniqueKey":"data.routing.alternatives.lighter","typeLabel":"object"}},"uniqueKey":"data.routing.alternatives","typeLabel":"object"}},"uniqueKey":"data.routing","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"},"timestamp":{"type":"integer","uniqueKey":"timestamp","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"symbol":"BTC","side":"BUY","routing":{"recommended":"lighter","price":88308.1,"reason":"Best ask price","savings":10.5,"savingsPercent":0.012,"alternatives":{"hyperliquid":{"price":89207,"available":true},"aster":{"price":89221.9,"available":true},"lighter":{"price":88308.1,"available":true}}}},"timestamp":123}}},"exampleType":"generated"}},"exampleType":"generated"},"5c5ef868-9e71-4d6b-ac67-86b2061d1ecd":{"description":"No routing data available for the symbol","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"No routing data available for symbol","uniqueKey":"error","typeLabel":"string"},"timestamp":{"type":"integer","uniqueKey":"timestamp","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"No routing data available for symbol","timestamp":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f97ac229-9316-4a46-a82e-8e341069fcd4":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication. Also requires X-API-SECRET, X-API-TIMESTAMP, and X-API-SIGNATURE headers for private endpoints.","scopes":[]}}},"servers":{"7ffd4899-ce4a-4b56-8c94-cbc914622ed8":{"url":"https://api.tide.ag","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication. Also requires X-API-SECRET, X-API-TIMESTAMP, and X-API-SIGNATURE headers for private endpoints.","scopes":[]},"schema":{"title":"X-API-KEY","type":"string","description":"API key for authentication. Also requires X-API-SECRET, X-API-TIMESTAMP, and X-API-SIGNATURE headers for private endpoints.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"arcane-0ded8dd0","siteName":"Tide API Documentation","title":"Get Routing Recommendation - Tide API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-06T17:46:31.052Z","originalFileLocation":"trading/routing-recommendation.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=\"Fetches the current best exchange and price for a symbol without executing a trade.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tide API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Routing Recommendation - Tide API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetches the current best exchange and price for a symbol without executing a trade.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tide API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tide.ag/trading/routing-recommendation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://arcane-0ded8dd0.mintlify.app/_mintlify/api/og/v2?division=Trading\u0026amp;title=Get+Routing+Recommendation\u0026amp;description=Fetches+the+current+best+exchange+and+price+for+a+symbol+without+executing+a+trade.\u0026amp;theme=31a04741b4af92565e5a1ec8\u0026amp;signature=7b1700dbfaa370d8182855a2f7025584b35600b2d6809dd5afaffa8356d21f89\">\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 Routing Recommendation - Tide API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetches the current best exchange and price for a symbol without executing a trade.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://arcane-0ded8dd0.mintlify.app/_mintlify/api/og/v2?division=Trading\u0026amp;title=Get+Routing+Recommendation\u0026amp;description=Fetches+the+current+best+exchange+and+price+for+a+symbol+without+executing+a+trade.\u0026amp;theme=31a04741b4af92565e5a1ec8\u0026amp;signature=7b1700dbfaa370d8182855a2f7025584b35600b2d6809dd5afaffa8356d21f89\">\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/arcane-0ded8dd0/ZWboUMerARSBM0eF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tide API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0EA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tide.ag/trading/routing-recommendation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/trading/routing-recommendation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tide.ag/#organization\",\"name\":\"Tide API Documentation\",\"url\":\"https://docs.tide.ag\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/arcane-0ded8dd0/TW8Wh8CNYhd3LgAt/tidebluefull.svg?fit=max\u0026auto=format\u0026n=TW8Wh8CNYhd3LgAt\u0026q=85\u0026s=75bd86a2ce8488db623250a6ccbe9af3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tide.ag#website\",\"name\":\"Tide API Documentation\",\"url\":\"https://docs.tide.ag\",\"publisher\":{\"@id\":\"https://docs.tide.ag/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tide.ag/trading/routing-recommendation#webpage\",\"url\":\"https://docs.tide.ag/trading/routing-recommendation\",\"name\":\"Get Routing Recommendation\",\"description\":\"Fetches the current best exchange and price for a symbol without executing a trade.\",\"dateModified\":\"2026-04-06T17:46:31.052Z\",\"isPartOf\":{\"@id\":\"https://docs.tide.ag#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tide.ag/trading/routing-recommendation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tide.ag/trading/routing-recommendation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trading\",\"item\":\"https://docs.tide.ag/trading/open-position\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Routing Recommendation\",\"item\":\"https://docs.tide.ag/trading/routing-recommendation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tide.ag/trading/routing-recommendation#apireference\",\"headline\":\"Get Routing Recommendation\",\"name\":\"Get Routing Recommendation\",\"description\":\"Fetches the current best exchange and price for a symbol without executing a trade.\",\"url\":\"https://docs.tide.ag/trading/routing-recommendation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tide.ag/trading/routing-recommendation#webpage\"},\"dateModified\":\"2026-04-06T17:46:31.052Z\",\"publisher\":{\"@id\":\"https://docs.tide.ag/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tide.ag#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tide API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tide API Documentation","nav":{"global":{"anchors":[{"anchor":"API Status","href":"https://api.tide.ag/health","icon":"chart-line"},{"anchor":"Community","href":"https://t.me/tidedotag","icon":"telegram"},{"anchor":"Support","href":"https://x.com/tide_ag","icon":"twitter"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"API Reference","href":"/introduction"},{"title":"Quick Start","href":"/quickstart"},{"title":"User Flow Documentation","href":"/user-flow"}]},{"group":"Market Data","pages":[{"title":"Get Token Pairs","api":"GET /api/token-pairs","href":"/market-data/token-pairs"},{"title":"Get Aggregated Order Book","openapi":"GET /orderbook","href":"/market-data/orderbook"},{"title":"Get Ticker Data","openapi":"GET /api/trading/ticker/{symbol}","href":"/market-data/ticker"},{"title":"Get Recent Trades","openapi":"GET /trades","href":"/market-data/trades"}]},{"group":"Trading","pages":[{"title":"Place Order","openapi":"POST /api/trading/{exchange}/orders","href":"/trading/open-position"},{"title":"Close Position","openapi":"POST /api/trade/position/close","href":"/trading/close-position"},{"title":"Set Leverage (Aster)","openapi":"POST /api/aster/perp/{walletId}/leverage","href":"/trading/set-leverage"},{"title":"Execute Smart Order","openapi":"POST /api/trade/execute","href":"/trading/execute-smart-order"},{"title":"Get Order Status","openapi":"GET /api/trading/{exchange}/orders/{orderId}/status","description":"Retrieve the latest status for any order placed through the aggregator. Normalizes venue-specific payloads from Lighter, Aster, Hyperliquid, and Avantis.","href":"/trading/get-order-status"},{"title":"Get Routing Recommendation","openapi":"GET /api/trade/routing/{symbol}","href":"/trading/routing-recommendation"}]},{"group":"Positions","pages":[{"title":"Get Open Positions","openapi":"GET /api/trading/positions/all/{walletAddress}","description":"Fetch normalized open positions for a wallet across all connected derivatives venues (Lighter, Aster, Hyperliquid, Avantis)","href":"/positions/get-positions"}]},{"group":"Account","pages":[{"title":"Create Server Wallet","openapi":"POST /api/wallets","href":"/account/create-wallet"},{"title":"Register API Key","openapi":"POST /api/trading/{exchange}/apikey","href":"/account/register-api-key"},{"title":"Import Lighter Credentials","openapi":"POST /api/trading/lighter/import","href":"/account/import-lighter-credentials"},{"title":"Deposit Funds","openapi":"POST /api/trading/{exchange}/deposit","href":"/account/deposit"},{"title":"Withdraw Funds","openapi":"POST /api/trading/{exchange}/withdraw","href":"/account/withdraw"},{"title":"Get Account Balances","openapi":"GET /api/trading/{exchange}/balances","href":"/account/get-balances"}]},{"group":"System","pages":[{"title":"Get System Status","openapi":"GET /health","href":"/system/get-status"}]},{"group":"Guides","pages":[{"title":"WebSocket API","href":"/websocket"},{"title":"Schema Reference","href":"/schema"},{"title":"Error Handling","href":"/errors"}]}]}]},"title":"Get Routing Recommendation - Tide API Documentation","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}