Embed the Daily Widget

Free for any site — blog, newsroom, partner page, or AI surface. Auto-resizing iframe, drop-in script, web component, oEmbed, and a public JSON API. Snippets below use the current origin (https://lockthelineup.com) so copy & paste works everywhere.

Live Preview

Embed snippets

Iframe — universal, works anywhere
Drop into any HTML — blogs, WordPress, CMS, newsletters.
<iframe src="https://lockthelineup.com/embed/daily"
        width="480" height="360" frameborder="0"
        loading="lazy" allow="clipboard-write"
        title="Lock The Lineup — Daily Top 5"
        style="border:0;max-width:100%"></iframe>
Drop-in script — auto-resizes
Pastes where you want the widget. Auto-sizes via postMessage. Recommended for blogs. Set data-host for referral attribution.
<script async src="https://lockthelineup.com/embed.js"
        data-widget="daily"
        data-theme="dark"
        data-limit="5"
        data-host="yoursite.com"></script>
Web component — modern stacks
React, Vue, Svelte, Astro, plain HTML. Reactive attributes.
<script async type="module" src="https://lockthelineup.com/embed.js"></script>
<lock-lineup-daily theme="dark" limit="5"></lock-lineup-daily>
Compact light — sidebar
Great for narrow sidebars and light-themed sites.
<script async src="https://lockthelineup.com/embed.js"
        data-widget="daily"
        data-theme="light"
        data-limit="3"
        data-max-width="320px"></script>
Transparent — blends with page
Removes background — header and footer hidden for minimal mode.
<iframe src="https://lockthelineup.com/embed/daily?bg=transparent&hide=header,cta&limit=5"
        width="360" height="220" frameborder="0" loading="lazy"
        title="Lock The Lineup — Top 5"
        style="border:0;max-width:100%"></iframe>

JSON API (for AI agents & custom integrations)

Daily leaderboard JSON
Top entries for today's daily. CORS-open, cached until reset.
curl "https://lockthelineup.com/api/public/daily-leaderboard?limit=10"
Daily context JSON
Today's daily number, ISO date, and reset timestamp.
curl "https://lockthelineup.com/api/public/daily-context"
oEmbed discovery
Standard oEmbed 1.0 — for WordPress, Ghost, Discourse, Notion.
curl "https://lockthelineup.com/api/public/oembed?url=https%3A%2F%2Flockthelineup.com%2Fdaily&format=json"
Parameters
  • theme=dark|light — color scheme (default dark).
  • accent=#hex — score & CTA color.
  • limit=1..20 — number of rows (default 5, or 3 in compact).
  • compact=1 — shorthand for top 3.
  • hide=header — hide the header strip.
  • host=yoursite.com — publisher id, forwarded as ref on every CTA click for referral attribution.
  • bg=transparent — remove widget background.
  • hide=header,cta — hide chrome regions.
  • sport=nba — sport key.
All script & component variants accept the same params as data-* attributes (e.g. data-theme, data-host).
Behavior
  • Guest-only — the widget never asks viewers to sign in. Updates live and resets at midnight Central Time.
  • Every click on the header or CTA bar opens lockthelineup.com/daily in a new tab with UTM tags + ref set to your data-host (or the referring domain).
  • The drop-in script and web component auto-resize to the widget's content height.
  • oEmbed discovery is exposed on /embed/daily, /embed, and pasting /daily URLs into oEmbed-aware CMSs.
Custom embed or partnership?

Publishers, partners, and platforms wanting branded sizing, multi-site bundles, or co-marketing — get in touch.

hello@lockthelineup.com →