Embed Widget

Display winners anywhere

After running a draw, embed the verified winner results on your website with a single line of HTML. No JavaScript required on your side.

Option 1 — Recommended

Pill widget (iframe)

Compact, scrollless display. Winners appear as pills — each showing the winner's masked identity and their prize. Wraps automatically on small screens.

<!-- Replace DRAW_ID with your draw ID from rfwin.uk -->
<iframe
  src="https://rfwin.uk/embed/DRAW_ID"
  style="width:100%;border:none;border-radius:18px;display:block"
  height="140"
  loading="lazy"
  title="Verified winner results"
></iframe>

Height tip: Use height="140" for 1–3 winners, height="200" for 4–8 winners. Pills wrap so a fixed height keeps the embed flush with no inner scroll.

Draw URL format: https://rfwin.uk/embed/{drawId}
Option 2

Full verification page (link)

Link directly to the complete draw verification page. Shows winners, entrant list, proof chain, and a "verify in browser" step. Best when transparency is the priority.

<!-- Link to the full verified draw page -->
<a href="https://rfwin.uk/d/DRAW_ID" target="_blank">
  View verified draw results →
</a>
<!-- Or as a full-page iframe -->
<iframe
  src="https://rfwin.uk/d/DRAW_ID"
  style="width:100%;border:none;border-radius:18px;height:600px"
  loading="lazy"
></iframe>
How it works

Getting a draw ID

  1. Run a draw on rfwin.uk or from the Rewards Fuel dashboard.
    Any draw produces a unique ID like k8m2x9p4q1
  2. Copy the draw ID from the URL — it appears in the address bar after the draw runs:
    https://rfwin.uk/d/k8m2x9p4q1
  3. Paste the draw ID into the embed code above, replacing DRAW_ID.
    The widget fetches live data from the RFWIN API — no copy-paste of winner names needed.
  4. Add the iframe to your blog post, contest page, or email template.
    Works in any HTML context. The draw data is permanent and tamper-proof.
API

Fetch draw data directly

If you want to build your own winner display, fetch the draw bundle directly from the API:

GET https://rfwin.uk/api/draws/{drawId}

// Response includes:
{
  "id": "k8m2x9p4q1",
  "title": "Summer Giveaway",
  "winners": [
    { "prize": "Grand Prize", "entrant": "j••n@ex•••le.com", "entrantOrder": 42 }
  ],
  "entrants": [...],   // full list with email_masked
  "serverSeed": "a1b2c3...",  // revealed after draw for verification
  "drandValue": "f3e4..."   // public randomness from drand beacon
}

All identities are masked at rest — raw emails are never stored. The email_hash field lets entrants verify their own inclusion.