Live ED wait widgets for your site
Self-updating emergency department wait charts, fed by the same official state feeds EDWaits aggregates. Paste one line of HTML. No API key, no signup, no cost. The only condition: the EDWaits attribution link stays in the frame.
State chart (the popular one)
A live bar chart of every reporting emergency department in a state, quietest first. Self-refreshes every 10 minutes while the page is open. Works in light and dark mode automatically.
<iframe src="https://edwaits.com/embed/?state=WA"
title="Live emergency department wait times (EDWaits)"
style="width:100%;height:420px;border:0"
loading="lazy"></iframe>
Swap state=WA for NSW, QLD, SA or TAS. Pick the state your readers actually use.
Single hospital box
A compact live wait card for one hospital, linking to its full page. This is the one GP clinic sites and local news pages about a specific hospital usually want. Find your hospital on the hospital index, and the "Embed" line on its page gives the exact snippet.
<div class="edwaits-box" data-hospital="westmead-hospital-nsw"></div> <script async src="https://edwaits.com/embed.js"></script>
The box shows the same live figure as the hospital page, with the official source label and a link back. It never shows a number the state doesn't publish: if there's no live feed, the box says so and links the official source instead.
The rules, in plain words
- Free for anyone. News organisations, GP clinics, councils, community groups, personal blogs. Commercial news sites included.
- Keep the attribution link. The "Data: official ... via EDWaits" line is part of the rendered frame. Don't hide it, crop it, or overlay it. That link is the entire price of admission.
- Don't restyle the frame to imply it's your data or an official government product. The widget always shows its sources. Passing our feed off as your own data product is not okay.
- Don't hammer the API. The widget self-refreshes at a sensible rate. Don't wrap it in your own aggressive refresher, and don't scrape
/api/liveat scale; email us if you need a bulk feed for research. - Health context. These are indicative figures for less-urgent patients. If your article is about emergencies, tell people to call 000; the widget carries the same message in its footer.
Why we do this
Every state publishes its wait data in a different place, in a different format. Most people never find the official dashboards. If your site embeds this chart, your readers get the official numbers in context, the state health departments get their data used as intended, and EDWaits gets the attribution that keeps the aggregator running. Everyone in that chain is doing the right thing by the public.
Technical notes
The state chart is a plain iframe, so it can't conflict with your site's CSS or JS. The single-hospital box is one small script tag. Both inherit dark mode from the reader's system. Figures update every 10 minutes while the page is open. If our feed degrades, the widget says so plainly rather than showing stale numbers as fresh.