# Rainbow Swap > Swap aggregator on TON Rainbow Swap is a decentralized exchange aggregator on the TON blockchain. It routes token swaps across multiple TON DEXes to secure better prices and lower price impact for users. Rainbow Swap is a decentralized exchange aggregator built on the TON blockchain. It compares liquidity across TON DEXes and routes swaps to help users obtain better exchange rates than trading on a single venue. The service targets TON ecosystem users who want to exchange TON and a range of Jetton tokens without manually checking prices across multiple platforms. Liquidity on TON is spread across several decentralized exchanges, each with its own pools and token coverage, which can lead to higher price impact on individual trades. Rainbow Swap addresses this by analyzing available pools and splitting a single transaction across multiple exchanges through a routing smart contract, accounting for gas costs when selecting a path. Before confirming a trade, users can see the expected received amount, fees, and the pools involved. The platform is accessible through a web interface and a Telegram mini app, and its routing and interface code is published for review. It supports swaps across a wide range of Jetton tokens on TON, and it is used by traders and TON ecosystem participants seeking more efficient execution for token swaps. - Type: Project - Sector: DeFi - Status: Active - Founded: 2024-04-01 - Profile: https://thegrid.id/profiles/rainbow_swap ## Products - [Rainbow Swap](https://thegrid.id/profiles/rainbow_swap): Rainbow Swap is a decentralized exchange aggregator for the TON blockchain that finds the best token swap rates across multiple TON-based decentralized exchanges. It splits trade volume across pools and, when needed, intermediary tokens, routing swaps through a smart contract that acts as an intermediary between different exchanges within a single transaction, while accounting for gas costs. Users connect a TON-compatible wallet through a web interface or a Telegram mini application to swap TON and thousands of jetton tokens without needing to compare rates manually across venues. (DEX Aggregator, Live, Main Product) - [Rainbow Swap SDK](https://thegrid.id/profiles/rainbow_swap): Rainbow Swap SDK is a developer toolkit that lets external applications integrate Rainbow Swap's token swap routing on the TON blockchain. It provides typed API helpers for retrieving supported assets, computing the best available swap route across integrated liquidity sources, and preparing swap transactions for signing through a connected wallet. Developers use it to embed swap functionality into their own applications and can register as partners to receive a share of swap revenue. (Developer Tooling, Live) ## Links - [Main](https://rainbow.ag) - [Documentation](https://rainbow-ag.gitbook.io/docs) - [Terms of Service](https://rainbow.ag/terms.html) - [Privacy policy](https://rainbow.ag/privacy.html) - [Twitter / X](https://x.com/rainbow_swap) - [Telegram](https://t.me/rainbow_swap) - [Telegram](https://t.me/rainbow_swap_chat) - [GitHub](https://github.com/0xblackbot/rainbow-swap) - [Telegram](https://t.me/rainbow_swap_manager) - [Telegram](https://t.me/rainbow_swap_bot/app) ## Legal This data is provided under two licensing models. Model 1 - open data. The open data core is licensed under the Open Database License (ODbL) — a copyleft/share-alike license allowing free use, modification, and sharing for any purpose. Attribution is required: include "Powered by The Grid" linking to https://thegrid.id wherever the data is used. Derivative databases must be shared under ODbL terms. Trademarks, logos, and brand names (marked "Special TPIP") are not covered by the ODbL. For ML/AI use: training datasets that substantially extract ODbL data are Derivative Databases and must be shared under ODbL if publicly used; models must be attributed in documentation. Model 2 - commercial licenses. The Grid Data Service (TGDS) is also available as a commercial license. See [Web Services Terms](https://about.thegrid.id/legal/web-services-terms) for commercial use that is not covered by the open data service. The following applies to both licensing models. - All data is provided AS IS with no guarantees of accuracy. - The Grid does not provide investment, legal, or tax advice, and - a project's presence in The Grid's data does not imply endorsement. - [Data Licensing & Disclaimers](https://about.thegrid.id/legal/data-licensing-and-disclaimers): Licensing models and disclaimers - [Open Data (ODbL)](https://about.thegrid.id/legal/open-data): Open Database License terms and scope for The Grid's open data service. - [Attribution Guidelines](https://about.thegrid.id/legal/open-data-attribution-guidelines): How to attribute The Grid's data when using the open data service. - [Web Services Terms](https://about.thegrid.id/legal/web-services-terms): commercial Terms for using data services. - [All Legal Documents](https://about.thegrid.id/legal): Full index of terms, policies, and disclosures ## Optional - [TGS Field Descriptions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-field-descriptions.md): Schema field definitions for The Grid's data model - [TGS JSON Structure](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-json-structure.md): Data model structure and relationships - [Product Type Definitions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-definitions.md): Definitions for each product type - [Product Type Classification](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-classification.md): Guide for classifying products into types - [Grid MCP Guide](https://github.com/The-Grid-Data/workspace-public/blob/main/grid-search/skills/grid-query/references/grid-mcp-guide.md): How to query The Grid programmatically via MCP