Tools

Swap widget

Embed swaps in your web page with no backend work. Users swap on your page, and orders count as your referred orders, earning rebates at your membership level.

Quick embed

html
<div id="speed-widget"></div>
<script src="https://speed.cc/widget.js" data-ref="YOUR_INVITE_CODE" data-from="USDT" data-to="BTC" async></script>

After logging in, “API” generates this code with your invite code and shows a live preview.

Options

OptionDescriptionDefault
data-refYour invite code; rebates are credited to itNone
data-fromDefault currency to pay, e.g. USDTSame as the Speed homepage
data-toDefault currency to receive, e.g. BTCSame as the Speed homepage
data-themedark or lightFollows the visitor's system setting
data-langzh, en, ru, uk, es, pt, fr, de, th, faFollows the visitor
data-targetSelector of the container#speed-widget
data-widthWidget width100% (max 480px)

Embedding with an iframe

If your site can't load third-party scripts, use an iframe. Parameters are the same (without the data- prefix); set the height yourself:

html
<iframe src="https://speed.cc/embed?ref=YOUR_INVITE_CODE&from=USDT&to=BTC&theme=dark"
        style="width:100%;max-width:480px;height:640px;border:0" title="Speed"></iframe>

Notes

  • With the script embed, the widget's height adjusts to its content automatically.
  • After ordering, users see payment details and progress inside the widget without leaving your site.
  • If your site uses a Content Security Policy, allow https://speed.cc in script-src and frame-src.

Need help with your integration? Contact support: [email protected]