Free Widget Embed

Add a Crypto Swap Widget to Your Website — Free

Give your visitors the ability to swap crypto without ever leaving your site. One line of code, unlimited swaps, earn commissions on every transaction.

No coding skills needed 100% free to embed Dark & light themes Earn affiliate commissions

See the Widget in Action

This is exactly what your visitors will see when you embed the SwiftSwap widget on your site.

Swap Crypto
You Send
1.000 BTC
You Receive
31.24 ETH
1 BTC ≈ 31.24 ETH  ·  Best rate via SwiftSwap

Interactive widget preview (420 x 500px, dark theme)

What Your Visitors Get

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.

  • 300+ supported cryptocurrencies
  • Live exchange rates, updated in real time
  • No account or sign-up required
  • Mobile-responsive design
  • Earn commissions on every swap via ref_id

Your Embed Code

Copy and paste this single line of HTML anywhere on your website. No JavaScript, no API keys, no setup required.

HTML — Standard Embed
<iframe
  src="https://swiftswap.net/widget"
  width="420"
  height="500"
  frameborder="0"
></iframe>

That is all you need to get started. Place this code anywhere in your HTML — sidebar, article page, landing page, or footer. The widget loads securely from SwiftSwap servers and requires no backend changes on your end.

Widget Parameters

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.

Example Embed URLs

Copy any of these examples to customize your widget for specific use cases.

Light theme, ETH to USDT, with affiliate ID
https://swiftswap.net/widget?theme=light&from_coin=ETH&to_coin=USDT&ref_id=yourid123
Ideal for light-themed websites. Pre-sets ETH to USDT swap and tracks your affiliate commissions.
Wide widget, BTC to SOL
https://swiftswap.net/widget?from_coin=BTC&to_coin=SOL
Great for Bitcoin or Solana-focused blogs. Pair with width="600" height="520" in the iframe tag.
Stablecoin focus, USDT to USDC
https://swiftswap.net/widget?from_coin=USDT&to_coin=USDC&theme=dark&ref_id=stableswaps
Perfect for DeFi platforms and stablecoin-focused content.
Compact mobile-friendly embed
https://swiftswap.net/widget?theme=dark&from_coin=BTC&to_coin=ETH
Use with width="340" height="480" for mobile sidebar or app integration.

Perfect For Any Website

The SwiftSwap embed widget is used by thousands of sites across the crypto ecosystem.

📰

Crypto Blogs

Let readers act on your analysis immediately. Embed the widget in your article sidebar or at the end of every post.

🌐

News Sites

Convert traffic into transactions. Crypto news readers are primed to swap — give them the ability without leaving your site.

DeFi Apps

Add swap functionality to your DeFi project without building your own exchange. White-label the widget with your ref_id.

👛

Crypto Wallets

Integrate a seamless swap experience directly into your wallet interface. No API integration required — just an iframe.

🎓

Education Sites

Let students practice real swaps as they learn. Embed on crypto course pages, tutorials, and learning platforms.

💼

Portfolio Trackers

Allow users to rebalance their portfolio without leaving your platform. Earn commissions on every swap they make.

Affiliate Integration — Earn per Swap

How the Affiliate Program Works

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.

  • Sign up for a free SwiftSwap affiliate account at swiftswap.net/affiliate
  • Get your unique ref_id from your affiliate dashboard
  • Add ref_id as a URL parameter to your embed code
  • Every swap your visitors complete earns you a commission
  • Withdraw earnings in BTC or USDT anytime (min $10)

Commission rates and full terms are available at swiftswap.net/affiliate.

Example — Widget with Affiliate ID

<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.