Give your visitors the ability to swap crypto without ever leaving your site. One line of code, unlimited swaps, earn commissions on every transaction.
This is exactly what your visitors will see when you embed the SwiftSwap widget on your site.
Interactive widget preview (420 x 500px, dark theme)
Your embedded SwiftSwap widget lets visitors swap between 300+ cryptocurrencies instantly — without leaving your page. The widget handles everything: live exchange rates, best routing, and secure transaction processing.
The widget is responsive, loads in under 200ms, and is available in both dark and light themes to match your site's design.
Customize the widget by adding URL parameters to the src attribute. All parameters are optional — the widget works perfectly with the default embed code.
| Parameter | Type | Default | Description |
|---|---|---|---|
| width | number (px) | 420 | Width of the widget iframe in pixels. Minimum recommended: 320px. Works with any value from 320 to 800. |
| height | number (px) | 500 | Height of the widget iframe in pixels. Minimum recommended: 480px for full feature display. |
| theme | string | dark | Widget color theme. Accepts dark or light. Dark theme uses background #0a0e1a; light theme uses #ffffff. |
| from_coin | string | BTC | Pre-selects the "You Send" coin. Use standard ticker symbols (e.g., BTC, ETH, USDT, BNB, SOL). Users can change this. |
| to_coin | string | ETH | Pre-selects the "You Receive" coin. Use standard ticker symbols. Useful for crypto-specific pages (e.g., a Solana page sets to_coin=SOL). |
| ref_id | string | none | Your affiliate referral ID. All swaps completed through your widget will earn you a commission. Sign up at swiftswap.net/affiliate to get your ref_id. |
Copy any of these examples to customize your widget for specific use cases.
https://swiftswap.net/widget?theme=light&from_coin=ETH&to_coin=USDT&ref_id=yourid123
https://swiftswap.net/widget?from_coin=BTC&to_coin=SOL
https://swiftswap.net/widget?from_coin=USDT&to_coin=USDC&theme=dark&ref_id=stableswaps
https://swiftswap.net/widget?theme=dark&from_coin=BTC&to_coin=ETH
The SwiftSwap embed widget is used by thousands of sites across the crypto ecosystem.
Let readers act on your analysis immediately. Embed the widget in your article sidebar or at the end of every post.
Convert traffic into transactions. Crypto news readers are primed to swap — give them the ability without leaving your site.
Add swap functionality to your DeFi project without building your own exchange. White-label the widget with your ref_id.
Integrate a seamless swap experience directly into your wallet interface. No API integration required — just an iframe.
Let students practice real swaps as they learn. Embed on crypto course pages, tutorials, and learning platforms.
Allow users to rebalance their portfolio without leaving your platform. Earn commissions on every swap they make.
Every swap completed through your embedded widget earns you a commission — automatically. Just include your ref_id in the widget URL and we track everything.
ref_id from your affiliate dashboardCommission rates and full terms are available at swiftswap.net/affiliate.
<iframe
src="https://swiftswap.net/widget
?ref_id=yourid123
&from_coin=BTC
&to_coin=ETH
&theme=dark"
width="420"
height="500"
frameborder="0"
></iframe>
The ref_id parameter tracks all commissions automatically.