Live preview
This is the real /embed route, framed live below. Switch pages with the buttons.
This preview frames /embed from the same origin. Your own origin must be allowlisted before it will render on your domain.
Integration code
Drop this into your platform, replacing YOUR_SLUG with the broker slug TradeClick assigns you.
<iframe src="https://tradeclick.io/embed?broker=YOUR_SLUG&page=marketplace" width="100%" height="600" loading="lazy" title="TradeClick" style="border:1px solid rgba(255,255,255,0.1); border-radius:12px;" ></iframe>
Available pages: marketplace (strategy grid), strategy (one strategy, needs &slug=), creator (one creator profile, needs &username=), and help (a compact FAQ). Only the pages you've asked us to enable will render — anything else shows a friendly "not available in this embed" message.
Auth-required actions open a new tab, by design. The embed is third-party context to your visitor's browser — storage is commonly partitioned or blocked there, so TradeClick never attempts to sign a trader in in-frame. Activate / Follow / Copy actions always open tradeclick.io in a new tab instead.
Full endpoint reference, error codes, and the embed-config shape live in the Partner API documentation — ask your TradeClick contact for access.
SSO flow — deep-link handoff
A trader can jump straight from "Trade with TradeClick" in your platform into a signed-in TradeClick session, without re-typing anything you already know about them.
https://tradeclick.io/v1/b2b/sso?token=…jti are all checked before anything else happens.return_urlTradeClick never creates an account from your assertion alone — the trader always authenticates with us directly. This is what stops a leaked partner secret from becoming account takeover.
Integration checklist
- Get your API key and SSO secret from TradeClick — issued once, server-side only.
- Send us your exact origins (e.g.
https://app.broker.com— full scheme + host + port, no wildcards) for both the embed allowlist and SSOreturn_urlallowlist. - Ask us to enable embed and SSO on your partner account.
- Drop in the iframe from the snippet above, pointed at your assigned broker slug.
- Sign SSO assertions server-side only — never in a browser page, mobile app, or public repository.
Security notes
jti is accepted exactly once; a replayed token is rejected./embed re-checks embed_enabled and status on every request; nothing is cached client-side.