You can set any percentage (e.g., 0.01% or 2.1%) of the total swap amount. There are no limits. The fee is deducted in the user’s initial asset.
Example #1: A user swaps ARB (Arbitrum) for USDC (Base). The fee is paid in ARB, and the integrator earns income in ARB.
Example #2: If a user swaps 100 USDT on Polygon with a 1% commission, 99 USDT goes into the trade, and 1 USDT is sent to Rubic’s contract, where it is shared between the integrator and Rubic.
The fee is charged in the native gas token of the source network. Integrators can define the fee in USD, and we will automatically convert it into the corresponding native asset of the respective blockchain.
Example: A user swaps USDT (Polygon) for ETH (Blast). The fee is paid in POL (excluding gas fees), and the integrator earns income in POL.
The fee combines a percentage of the user’s initial asset token and the source network’s native gas token.
Example: A user swaps DAI (BNB Chain) for USDT (Optimism). The fees are paid in both BNB (BNB Chain gas token) and DAI (user’s initial asset), excluding gas fees (network fee). The integrator earns income in both BNB and DAI.
In case models for on-chain and cross-chain transactions are different, you should send us two wallet addresses. One will be used for on-chain commission receiving, the second one for cross-chain.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rubic Documentation","colors":{"primary":"#00e28e","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-light.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=a8200366272cc20dd0f104d7c91b826a","dark":"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-dark.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=dfb5e15ec60bf6e27d086a45652b53e6"},"favicon":"https://mintcdn.com/rubic-6226db21/xACtzpQBWG7cN0dE/favicon.ico?fit=max\u0026auto=format\u0026n=xACtzpQBWG7cN0dE\u0026q=85\u0026s=c2e90c39d5731e07871e7594b8ee8def","navbar":{"links":[],"primary":{"type":"button","label":"Contact BD","href":"https://t.me/RubicPartnership"}},"footer":{"socials":{"x":"https://x.com/CryptoRubic","github":"https://github.com/Cryptorubic","linkedin":"https://www.linkedin.com/company/cryptorubic","discord":"https://discord.com/invite/7EYzPbWKFQ"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rubic-6226db21","hasAudioNarration":false,"actualSubdomain":"rubic-6226db21","customDomains":["docs.rubic.finance"],"gitSource":{"type":"github","owner":"cryptorubic","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac64a0c6e6d52ea8052f799","collectionId":"fa4fc277-a3a8-472b-a9eb-7745e13d9828","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac64a0c6e6d52ea8052f799"},"entitlements":{},"buildId":"6ac64a0c6e6d52ea8052f799","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":34},{"language":"default","tag":"Overview","count":17},{"language":"default","tag":"General","count":10},{"language":"default","tag":"SDK Documentation","count":10},{"language":"default","tag":"Rubic","count":10},{"language":"default","tag":"About","count":9},{"language":"default","tag":"Integration Examples","count":6},{"language":"default","tag":"Router","count":6},{"language":"default","tag":"Utility","count":6},{"language":"default","tag":"Core concepts","count":3}]},"assistantConfig":{},"basePath":"","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":"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":"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":"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":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-docs/about/monetization/overview","slug":"/api-docs/about/monetization/overview","pageMetadata":{"title":"Monetization","icon":"chart-mixed-up-circle-dollar","description":"Customize, monetize, and simplify with Rubic.","href":"/api-docs/about/monetization/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: \"Customize, monetize, and simplify with Rubic.\"\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={li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`what-revenue-sharing-models-do-we-have`,children:_jsx(_components.strong,{children:`What revenue sharing models do we have?`})}),`\n`,_jsx(Heading,{level:`3`,id:`1-percentage-based-commission`,children:_jsx(_components.strong,{children:`1. Percentage-Based Commission:`})}),`\n`,_jsx(_components.p,{children:`You can set any percentage (e.g., 0.01% or 2.1%) of the total swap amount. There are no limits. The fee is deducted in the user’s initial asset.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Example #1: A user swaps ARB (Arbitrum) for USDC (Base). The fee is paid in ARB, and the integrator earns income in ARB.`}),`\n`,_jsx(_components.li,{children:`Example #2: If a user swaps 100 USDT on Polygon with a 1% commission, 99 USDT goes into the trade, and 1 USDT is sent to Rubic’s contract, where it is shared between the integrator and Rubic.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-fixed-amount-commission`,children:_jsx(_components.strong,{children:`2. Fixed Amount Commission:`})}),`\n`,_jsx(_components.p,{children:`The fee is charged in the native gas token of the source network. Integrators can define the fee in USD, and we will automatically convert it into the corresponding native asset of the respective blockchain.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Example: A user swaps USDT (Polygon) for ETH (Blast). The fee is paid in POL (excluding gas fees), and the integrator earns income in POL.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-percentage-+-fixed-amount-commission`,children:_jsx(_components.strong,{children:`3. Percentage + Fixed Amount Commission:`})}),`\n`,_jsx(_components.p,{children:`The fee combines a percentage of the user’s initial asset token and the source network’s native gas token.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Example: A user swaps DAI (BNB Chain) for USDT (Optimism). The fees are paid in both BNB (BNB Chain gas token) and DAI (user’s initial asset), excluding gas fees (network fee). The integrator earns income in both BNB and DAI.`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`In case models for on-chain and cross-chain transactions are different, you should send us two wallet addresses. One will be used for on-chain commission receiving, the second one for cross-chain.`})})]})}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":"Monetization","icon":"chart-mixed-up-circle-dollar","description":"Customize, monetize, and simplify with Rubic.","href":"/api-docs/about/monetization/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What revenue sharing models do we have?","slug":"what-revenue-sharing-models-do-we-have","depth":2,"children":[{"title":"1. Percentage-Based Commission:","slug":"1-percentage-based-commission","depth":3,"children":[]},{"title":"2. Fixed Amount Commission:","slug":"2-fixed-amount-commission","depth":3,"children":[]},{"title":"3. Percentage + Fixed Amount Commission:","slug":"3-percentage-+-fixed-amount-commission","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"rubic-6226db21","siteName":"Rubic Documentation","title":"Monetization - Rubic Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-23T12:57:23.987Z","originalFileLocation":"api-docs/about/monetization/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=\"Customize, monetize, and simplify with Rubic.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rubic 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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Monetization - Rubic Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Customize, monetize, and simplify with Rubic.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rubic Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rubic.finance/api-docs/about/monetization/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rubic-6226db21.mintlify.app/_mintlify/api/og/v2?division=Monetization\u0026amp;title=Monetization\u0026amp;description=Customize%2C+monetize%2C+and+simplify+with+Rubic.\u0026amp;theme=4fd0678fa1bb4c53ed385600\u0026amp;signature=a36e24ce94525a6df3a11dec24f49f495b6c9e70df7bc48d17de552e78b1d4a0\">\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=\"Monetization - Rubic Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Customize, monetize, and simplify with Rubic.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rubic-6226db21.mintlify.app/_mintlify/api/og/v2?division=Monetization\u0026amp;title=Monetization\u0026amp;description=Customize%2C+monetize%2C+and+simplify+with+Rubic.\u0026amp;theme=4fd0678fa1bb4c53ed385600\u0026amp;signature=a36e24ce94525a6df3a11dec24f49f495b6c9e70df7bc48d17de552e78b1d4a0\">\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/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rubic Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00e28e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rubic.finance/api-docs/about/monetization/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-docs/about/monetization/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rubic.finance/#organization\",\"name\":\"Rubic Documentation\",\"url\":\"https://docs.rubic.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-light.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=a8200366272cc20dd0f104d7c91b826a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rubic.finance#website\",\"name\":\"Rubic Documentation\",\"url\":\"https://docs.rubic.finance\",\"publisher\":{\"@id\":\"https://docs.rubic.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rubic.finance/api-docs/about/monetization/overview#webpage\",\"url\":\"https://docs.rubic.finance/api-docs/about/monetization/overview\",\"name\":\"Monetization\",\"description\":\"Customize, monetize, and simplify with Rubic.\",\"dateModified\":\"2026-01-23T12:57:23.987Z\",\"isPartOf\":{\"@id\":\"https://docs.rubic.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rubic.finance/api-docs/about/monetization/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rubic.finance/api-docs/about/monetization/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"About\",\"item\":\"https://docs.rubic.finance/api-docs/about/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Monetization\",\"item\":\"https://docs.rubic.finance/api-docs/about/monetization/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.rubic.finance/api-docs/about/monetization/overview#article\",\"headline\":\"Monetization\",\"name\":\"Monetization\",\"description\":\"Customize, monetize, and simplify with Rubic.\",\"url\":\"https://docs.rubic.finance/api-docs/about/monetization/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rubic.finance/api-docs/about/monetization/overview#webpage\"},\"dateModified\":\"2026-01-23T12:57:23.987Z\",\"publisher\":{\"@id\":\"https://docs.rubic.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rubic.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rubic Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rubic Documentation","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/rubic/overview/overview"}]},{"tab":"API Documentation","groups":[{"group":"About","pages":[{"title":"Overview","icon":"lightbulb-on","href":"/api-docs/about/overview"},{"title":"Referrer and Rate limits","icon":"gear","href":"/api-docs/about/referrer"},{"title":"Swagger \u0026 OpenAPI","icon":"globe-pointer","href":"/api-docs/about/open-api"},{"group":"Core concepts","expanded":true,"pages":[{"title":"Understanding Flow Execution","icon":"arrow-progress","href":"/api-docs/about/core-concepts/understanding-flow-execution"},{"title":"Refunds","icon":"hand-holding-dollar","href":"/api-docs/about/core-concepts/refunds"},{"title":"Error Handling","description":"This page explains how errors are structured in the Rubic API, how error codes are formed, and how they should be handled during quote and swap execution.","icon":"screwdriver-wrench","href":"/api-docs/about/core-concepts/error-handling"}]},{"group":"Monetization","expanded":false,"pages":[{"title":"Monetization","icon":"chart-mixed-up-circle-dollar","href":"/api-docs/about/monetization/overview"},{"title":"Fee sharing via decentralized providers","icon":"coins","description":null,"href":"/api-docs/about/monetization/evm"},{"title":"Fee sharing via deposit-based providers","icon":"bitcoin-sign","href":"/api-docs/about/monetization/non-evm"}]}]},{"group":"Router","pages":[{"group":"Request quote","expanded":true,"pages":[{"title":"Get all available quotes","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteAll","href":"/api-reference/router/get-all-available-quotes"},{"title":"Get best quote","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteBest","href":"/api-reference/router/get-best-quote"},{"title":"Get all available quotes via deposit","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteDepositTrades","href":"/api-reference/router/get-all-available-quotes-via-deposit"}]},{"group":"Get transaction","expanded":true,"pages":[{"title":"Get swap data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swap","href":"/api-reference/router/get-swap-data"},{"title":"Get swap data for the best quote","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapBest","href":"/api-reference/router/get-swap-data-for-the-best-quote"},{"title":"Get swap data via deposit","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapDepositTrade","href":"/api-reference/router/get-swap-data-via-deposit"}]}]},{"group":"General","pages":[{"title":"Get chains list","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/chains","href":"/api-reference/info/get-chains-list"},{"title":"Get available providers","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/providers","href":"/api-reference/info/get-available-providers"},{"group":"Transaction status","expanded":true,"pages":[{"title":"Get transaction status","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/statusExtended","href":"/api-reference/info/get-transaction-status"},{"title":"Transaction Statuses Explained","href":"/api-docs/general/status/explain"}]},{"group":"Utility","expanded":true,"pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/healthcheck","href":"/api-reference/utility/health-check"},{"title":"Get allowance","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/allowance","href":"/api-reference/utility/get-allowance"},{"title":"Get approve info","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/checkApprove","href":"/api-reference/utility/get-approve-info"},{"title":"Get celer refund data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/celerRefund","href":"/api-reference/utility/get-celer-refund-data"},{"title":"Get claim tokens data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/claim","href":"/api-reference/utility/get-claim-tokens-data"},{"title":"Get message to auth wallet","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/authWalletMessage","href":"/api-reference/utility/get-message-to-auth-wallet"}]}]},{"group":"Guides","pages":[{"title":"Prevent dangerous routes","href":"/api-docs/guides/dangerous-routes"},{"title":"Handling amount changes during swap","href":"/api-docs/guides/handling-amount-change"}]},{"group":"Integration Examples","pages":[{"title":"Swaps from EVM","icon":"ethereum","href":"/docs/api-docs/integration-examples/swaps-from-evm"},{"title":"Swaps from Solana","icon":"crystal-ball","href":"/docs/api-docs/integration-examples/swaps-from-solana"},{"title":"Swaps from TON","icon":"gem","href":"/docs/api-docs/integration-examples/swaps-from-ton"},{"title":"Swaps from Tron","icon":"hexagon-check","href":"/docs/api-docs/integration-examples/swaps-from-tron"},{"title":"Swaps from Bitcoin","icon":"bitcoin","href":"/docs/api-docs/integration-examples/swaps-from-bitcoin"},{"title":"Swaps via Deposit","icon":"square-down","href":"/docs/api-docs/integration-examples/swaps-via-deposit"}]},{"group":"Tokens API","pages":[{"title":"Tokens API","icon":"coins","href":"/docs/token-api/token-api"}]}]},{"tab":"SDK Documentation","pages":[{"title":"SDK Documentation","href":"/rubic-sdk"}]},{"tab":"MCP Documentation","pages":[{"title":"MCP Documentation","href":"/mcp-docs/overview"}]}]},"basePath":"","title":"Monetization - Rubic Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}