Add a Live Market Countdown to Your Site

A free, lightweight countdown widget that shows live US stock market hours. Zero ads, zero trackers, under 30 KB - just drop an iframe and go.

Live Preview

Customize

Embed Code

Copy this code and paste it into your HTML:

<iframe
  src="https://marketopen.at/embed/?fontSize=52"
  width="280"
  height="177"
  frameborder="0"
  title="US Stock Market Hours Countdown"
  loading="lazy"
  sandbox="allow-scripts"
></iframe>

Embedding Best Practices

  1. Always set explicit width and height attributes on the <iframe>. Without them the browser can't reserve space before the frame loads, causing a layout shift.
  2. Add loading="lazy" if the widget lives below the fold. The browser will defer the request until the user scrolls near it, saving a round-trip on page load.
  3. The generated snippet includes sandbox="allow-scripts". That confines the iframe to script execution only — no form submissions, no popups, no top-level navigation.
  4. The embed is served over HTTPS from Cloudflare's edge network. No mixed-content issues.
  5. If your site has a Content Security Policy, add frame-src https://marketopen.at to your CSP header to allow the widget through.
  6. For responsive sizing, wrap the iframe in a container and set width: 100%; max-width: 720px on it rather than hard-coding pixel values on the element itself.

URL Parameters

Parameter Values Default Effect
market equities, futures equities Which market countdown to show
theme light, dark, auto auto Color scheme (auto follows user's OS preference)
compact true, false false Single-line layout (~50px height per market)
hideTimeline true, false false Hide the session timeline bar
spacing true, false false Extra space between digits and colons
fontSize 16120 48 Countdown digit size in pixels

Terms of Use

Free to embed anywhere — blogs, dashboards, fintech tools, trading journals. The only condition is that the "Powered by marketopen.at" attribution link stays visible; that's what keeps the service free. No signup, no API key, no rate limits. Market hours data is for informational purposes; confirm opening times with your broker before placing trades.

FAQ

Is the widget really free?

Yes. No API key, no signup, no rate limits. The widget is served from Cloudflare's CDN and costs us fractions of a cent per request. We just ask that you keep the "Powered by" link visible.

How much does it weigh?

The embed page is under 30 KB total (HTML + CSS + JS + one font file). It loads a single font (JetBrains Mono for the countdown digits) and uses system fonts for everything else. No frameworks, no external requests.

Does it work on mobile?

Yes. The widget is responsive down to 280px wide. The countdown font scales with viewport width, and the timeline time labels are hidden on very small screens. Use width="100%" in the iframe for responsive behavior.

Does it track my visitors?

No. The embed has no analytics, no cookies, no localStorage, and no external requests. It runs entirely client-side after the initial page load. Cloudflare may log standard HTTP access metrics (IP, user-agent) at the infrastructure level, but we don't add any tracking code.