Skip to content

Weather Widget

Embed a real-time weather widget on your website. Powered by Hyperion Live nowcasting, with auto-location detection, 3-day forecast, and support for 50+ languages.

Free6.6KB gzipped50+ LanguagesHyperion LiveDark ModeAuto-Location

API Key

Free, no credit card required. Up to 3 keys per email.

Configure Widget

Live Preview

Enter an API key to see the preview

Documentation

Quick Start

Add this single line to your HTML and the widget appears automatically:

<script src="https://www.wfy24.com/widget.js"
  data-key="YOUR_API_KEY"
  data-city="athens-gr441183"
  data-theme="light"
  data-lang="en">
</script>

Attributes

AttributeRequiredDefaultDescription
data-keyYes-Your API key
data-cityNoauto-detectCity slug (e.g. "athens-gr441183"). If omitted, auto-detects user location.
data-themeNoautolight, dark, or auto (follows system preference)
data-langNoenLanguage code (en, el, de, fr, es, it, pt, tr, ru, ja, zh, ar, ko, hi, nl, pl, bg, ...)
data-unitsNometricmetric (C, km/h) or imperial (F, mph)

Features

  • Real-time temperature from Hyperion Live nowcasting (station + radar + satellite + NWP fusion)
  • Lightning detection within 100km with approach tracking
  • Precipitation nowcast (minutes to rain/dry)
  • 3-day forecast with min/max temperatures
  • Auto-location detection via GPS (if permitted) or IP geolocation
  • Shadow DOM isolation — no CSS conflicts with your site
  • Auto-refreshes every 5 minutes
  • Only 6.6KB gzipped — loads instantly

Rate Limits

Free API keys allow up to 600 requests per minute. Each widget refresh counts as 1 request. The widget auto-refreshes every 5 minutes, so a typical page gets ~12 requests/hour per visitor.