---
title: "Embeddable widgets"
description: "Five copy-paste iframes with live Thai data: Bangkok PM2.5, city weather, the baht exchange rate, festival countdowns and the 60-to-30-day entry-rule change."
url: https://bestofthailand.org/widgets
locale: en
---

# Embeddable widgets

Five iframes that put live Thai data on your own page: air quality, weather, the baht rate, a festival countdown and the entry-rule change. Copy the snippet, paste it into your page, and it refreshes itself every 30 minutes. Free to use, including commercially — the one condition is the attribution link at the bottom of each widget.

## Air quality (PM2.5 + US AQI)

Current US AQI, the EPA band it falls in, PM2.5 and PM10 in µg/m³, and one line on what that means for time spent outdoors.

[Bangkok air quality](https://bestofthailand.org/widget/aqi/bangkok)

### Copy this

```
<iframe src="https://bestofthailand.org/widget/aqi/bangkok" width="300" height="250" style="border:0;max-width:100%" title="Bangkok air quality" loading="lazy"></iframe>
```

Swap the last segment for any of the 7 cities we track: `/widget/aqi/bangkok`, `/widget/aqi/chiang-mai`, `/widget/aqi/phuket`, `/widget/aqi/pattaya`, `/widget/aqi/koh-samui`, `/widget/aqi/krabi`, `/widget/aqi/hua-hin`

Open-Meteo Air Quality API, refreshed every 30 minutes.

## Weather now + 3-day outlook

Temperature and conditions right now, whether it is raining, and highs, lows and rain probability for the next three days.

[Bangkok weather](https://bestofthailand.org/widget/weather/bangkok)

### Copy this

```
<iframe src="https://bestofthailand.org/widget/weather/bangkok" width="300" height="250" style="border:0;max-width:100%" title="Bangkok weather" loading="lazy"></iframe>
```

Same 7 cities: `/widget/weather/bangkok`, `/widget/weather/phuket`, `/widget/weather/chiang-mai`, `/widget/weather/koh-samui`, `/widget/weather/pattaya`, `/widget/weather/krabi`, `/widget/weather/hua-hin`

Open-Meteo forecast API, refreshed every 30 minutes.

## Thai baht rate + converter

Baht per US dollar, euro and pound, with a converter that runs in the visitor's browser — typing in it fires no requests.

[Thai baht exchange rate](https://bestofthailand.org/widget/currency)

### Copy this

```
<iframe src="https://bestofthailand.org/widget/currency" width="300" height="250" style="border:0;max-width:100%" title="Thai baht exchange rate" loading="lazy"></iframe>
```

European Central Bank daily reference rates via Frankfurter. ECB publishes once per weekday, so the date shown is the rate's own date.

## Festival countdown

Days, hours and minutes to the next occurrence, switching to "Happening now" while the festival runs and to "dates to be confirmed" once a lunar date has passed unverified.

[Loy Krathong countdown](https://bestofthailand.org/widget/festival/loy-krathong)

### Copy this

```
<iframe src="https://bestofthailand.org/widget/festival/loy-krathong" width="300" height="250" style="border:0;max-width:100%" title="Loy Krathong countdown" loading="lazy"></iframe>
```

One per festival: `/widget/festival/songkran`, `/widget/festival/loy-krathong`, `/widget/festival/chinese-new-year`, `/widget/festival/vegetarian-festival`, `/widget/festival/yi-peng`

Our own festival registry, where every date is verified by hand and never extrapolated.

## Entry-rule countdown

Days until the visa-exempt stay drops from 60 to 30 days, with the extension rule and its ฿1,900 fee.

[Thailand entry-rule change countdown](https://bestofthailand.org/widget/entry-rules)

### Copy this

```
<iframe src="https://bestofthailand.org/widget/entry-rules" width="300" height="250" style="border:0;max-width:100%" title="Thailand entry-rule change countdown" loading="lazy"></iframe>
```

Our visa research in /visa, re-verified whenever the rules move.

## Terms of use

- **Attribution stays visible.** Every widget ends with a “Live data by bestofthailand.org” link. Keep it on screen and clickable — don’t crop it, hide it with CSS, or cover it. We don’t ask you to use any particular `rel` value; mark it `nofollow` if that’s your policy for third-party links.
- **Free, no key, no sign-up.** Personal blogs, hotel sites, forums and commercial pages alike. No limit on page views. If a widget ever starts costing us more than it’s worth, we’ll say so here before changing anything.
- **The readings are indicative.** Air quality and weather come from a modelled forecast API, not from a sensor on the street; exchange rates are ECB reference rates, not what a booth will hand you. Don’t use them for medical, financial or immigration decisions — for entry rules, read [the visa page](https://bestofthailand.org/visa) and then the embassy’s own site.
- **Embed the page, don’t scrape it.** The widget URLs are stable and meant to be iframed. Re-serving the numbers as your own feed, or restyling the widget so the source disappears, isn’t covered by this permission.
- **The markup can change.** We may restyle a widget or add a line to it. The URLs above stay put, so an embed you paste today keeps working; if we ever retire one, it will redirect rather than 404.
- **Sizing.** Each widget is drawn to fit 300×250 and stretches to any width — set `width="100%"` and keep the height at 250 or more. The card follows the visitor’s light or dark system setting.

Building something that needs a number we don’t publish yet? [Tell us what you need](https://bestofthailand.org/contact) — every widget above is a window onto a page that carries the same numbers with their sources and their dates: [PM2.5 and US AQI by city](https://bestofthailand.org/air-quality), [the forecast and the season guide](https://bestofthailand.org/weather), [the baht converter and money guide](https://bestofthailand.org/currency), [the festival calendar](https://bestofthailand.org/festivals) behind the countdown, and [the entry requirements checklist](https://bestofthailand.org/entry-checklist) behind the 60-to-30-day rule card.

Best of Thailand

https://bestofthailand.org/widgets

Scan or type the address for opening hours, phone numbers and the map.
