Build on Rubin — Embed a Crypto Exchange, SDK & MCP API
Rubin Builder lets developers, integrators, and brokers embed a full self-custody decentralized exchange — perpetual futures and spot — into any product. Drop in an iframe widget, build with the trading SDK, or connect an MCP server for AI-agent trading. Configure it visually, publish to your own subdomain or custom domain, and earn builder fees on the flow you bring.
Embed in minutes
Configure a Rubin trading widget visually and drop a copy-paste iframe snippet into your website, app, or portal. Themeable, responsive, and self-custody by default — your users trade from their own wallet. See the embed configurator.
Build with the SDK
Integrate programmatically with the Rubin trading SDK and REST/WebSocket API: place and manage orders, stream market data, read positions and balances. Full developer docs at SDK docs.
AI-agent trading (MCP)
Connect AI agents and assistants to Rubin's MCP server — let bots and AI workflows place orders, read order books and candles, and manage positions through a standard tool interface. See MCP & AI trading.
Publish & earn
Publish your configured exchange to a Rubin subdomain or your own custom domain, and earn builder fees on the order flow you route. For brokers and integrators bringing volume.
Frequently asked questions
What is Rubin Builder?
Rubin Builder is the developer portal for embedding Rubin's self-custody decentralized exchange. You can configure an iframe trading widget, build with the trading SDK, connect an MCP server for AI-agent trading, and publish your own exchange — earning builder fees on the flow you bring.
Can I embed Rubin's exchange in my website or app?
Yes. Rubin Builder generates a themeable iframe widget you can drop into any site or app with a copy-paste snippet, plus a trading SDK for deeper, programmatic integration. Trading stays self-custody — users trade from their own wallet.
Does Rubin offer an SDK and API for developers?
Yes. Rubin provides a trading SDK and a REST/WebSocket API for order management, market data, and account data, plus an MCP server for AI agents. Suitable for algorithmic trading, automated market making, and embedded trading.
What is the Rubin MCP server?
The Rubin MCP (Model Context Protocol) server lets AI agents and assistants trade on Rubin through a standard tool interface — placing and managing orders, reading order books, candles, positions, and balances — enabling AI-agent and algorithmic trading.
How do builder fees work?
When you embed or publish Rubin and route order flow, you can configure a builder fee and earn a share of the volume your users generate. It's designed for brokers and integrators who bring trading volume.