Embed a live weather map
Put WeatherScope's interactive radar and forecast map on your site with one snippet. Pick a layer, set the starting view, choose a theme and size, then copy the code — no API key, no account.
This is your live embed. Pan and zoom it to set the starting view.
URL parameters
The builder above writes these for you, but you can also compose an embed URL by hand. Base URL: https://weatherscope.app/embed/map. Every parameter is optional; an invalid value falls back to its default rather than breaking the map.
| Parameter | Values | Default | What it does |
|---|---|---|---|
lat, lon | −90…90, −180…180 | visitor's location | Starting centre. Both are required together; with neither, the map centres on the visitor (by IP). |
zoom | 1 – 18 | 5 (4.5 when following the visitor) | Starting zoom level. |
layer | see below | radar | Which weather layer is on when the map loads. Visitors can still switch layers from the layers button. |
theme | dark, light | dark | Basemap and control styling. |
controls | 1, 0 | 1 | Show the layers and locate buttons. |
timeline | 1, 0 | 1 | Show the radar/forecast timeline pill. |
t | ISO 8601 UTC or Unix epoch | now | Scrub the timeline to a moment, e.g. 2026-10-01T18:00Z. Snaps to the nearest available frame. |
pin | lat,lon,Label|lat,lon,Label | none | Up to 10 markers. Label optional, 40 characters max. |
Layer slugs
Radar & satellite
radarGlobal RadarsatelliteSatellite + Radarus-baseUS Base Reflectivityus-compositeUS Composite Reflectivity
Forecast models (GFS, 14-day)
temperatureTemperaturecloud-coverCloud Coverwind-speedWind Speedwind-gustsWind Gustsfeels-likeFeels Likedew-pointDew PointhumidityRelative HumiditypressureSurface PressurecapeCAPEvisibilityVisibilityprecip-accumulationPrecip Accumulationsnow-depthSnow Depthuv-indexUV Indexsoil-temperatureSoil Temperaturewave-heightWave Heightair-qualityAir Qualitydust-smokeDust & Smoke
Short-range forecast (RRFS)
rrfs-reflectivitySimulated Reflectivityrrfs-echo-topsEcho Topsrrfs-lightningLightning Threatrrfs-satelliteSimulated Satelliterrfs-hailHailrrfs-supercellSupercellrrfs-wind-gustsWind Gusts (RRFS)rrfs-tornadoTornado Potential
Talking to the embed
The frame posts its view to the parent page whenever it settles, and accepts a couple of messages back — handy for syncing it with your own UI.
// Listen for the current view
window.addEventListener('message', function (e) {
if (e.origin !== 'https://weatherscope.app') return;
if (e.data && e.data.type === 'ws-embed-state') {
console.log(e.data.lat, e.data.lon, e.data.zoom, e.data.layer);
}
});
// Move the map
frame.contentWindow.postMessage({ type: 'ws-embed-set-view', lat: 40.7, lon: -74, zoom: 8 }, 'https://weatherscope.app');
// Switch theme live
frame.contentWindow.postMessage({ type: 'theme-change', theme: 'light' }, 'https://weatherscope.app');Terms of use
- The embed is free for personal, editorial and commercial websites. Keep the WeatherScope badge visible and unobscured — it is the attribution the embed is offered under.
- Don't wrap the embed in a way that hides, crops or overlays the badge, and don't present the map as your own product.
- Automated screenshotting or scraping of the embed, and embedding at very high request volumes, may be rate-limited. For high-traffic or white-label use, get in touch.
- Weather data is provided as-is for general information — not for safety-of-life decisions. Data availability and layer coverage can change without notice.