RadWeather API

Weather for humans and AI. Free endpoints for apps, scripts, AI agents, and automations — no API key required.

Building with an AI tool? Point it at /llms.txt for a short guide, or /llms-full.txt for the full reference.

Routes

GET /
Pretty HTML weather page (dark theme)
GET /raw
Plain text — ideal for AI agents (Claude, GPT, etc.), scripts, and CLI
GET /json
JSON — structured data for apps, AI integrations, and automations
GET /radar
Live animated radar map — supports ?location= and ?station=
GET /route
Route weather — conditions along a drive. Params: ?from_lat=&from_lon=&to=DESTINATION. Default: spoken text. Add &format=json for data, &format=map for visual map with radar.
GET /siri
Siri Shortcut setup — instructions to create a "Route Weather" voice command on iPhone
GET /changelog
Changelog. Add ?format=json for the JSON feed.
GET | POST /defaults
Read or set default location and station (stored in cookies)
GET /health
Health check — returns {"status":"ok"}
GET /health/quota
API quota status — remaining request budget (minute, hour, day)
GET /help
This page

Search Box

The search box at the top of every page accepts any of these:

City — dallas, new york
City, state — austin, tx or austin, texas (abbreviation or full name)
City, country — london, england, paris, france, tokyo, japan
Zip code — 75201 (a bare 5-digit number is treated as a US zip)
GPS coordinates — 30.36° N, 97.84° W (decimal or Google-Maps DMS)
#station ID — #221502 (the # forces a Tempest station; without it a 5-digit number is a zip)

When you add a state or country after a comma, RadWeather uses it to pick the right match — so paris, tx finds Paris, Texas while paris, france finds Paris, France.

The dropdown opens when you click the box. It always starts with 📍 Use current location, followed by your recent searches and your saved default station. Recent searches are remembered automatically (last 8); click the × on any entry to remove it.

All routes also accept ?location= as a URL parameter:

/?location=dallas /?location=austin,tx  (city, state) /?location=london,england  (city, country) /?location=75201  (zip code) /?location=%23221502  (#station) /?location=30.36484° N, 97.84239° W  (GPS) /raw?location=dallas,tx

Defaults — What Loads First

When you open RadWeather with no search in the URL, it decides what to show in this order. The first one that exists wins:

1. Default Tempest station — if you set one in Settings
2. Default location — if you set one in Settings
3. The search box — shown when you have not saved either one

A saved station comes before a saved location. To set or clear one, click Settings in the footer. Everything is stored in your browser, in local storage and first-party cookies (cookies last longer in Safari) — no account, nothing kept server-side.

Using Your Current Location

Choose 📍 Use current location from the search dropdown. RadWeather reads your device GPS, then reverse-geocodes those coordinates to the nearest city — so the page shows a real place name like London, England instead of just "Your Location". If a public Tempest station sits within ~10 miles of you, it uses that for hyperlocal readings; otherwise it falls back to Open-Meteo. If you're somewhere remote with no nearby city, it shows the closest region or country it can find.

Tempest WeatherFlow Stations

RadWeather greedily prefers hyperlocal data. When you search by location, coordinates, or current location, it looks for nearby public Tempest stations and, if one is close, uses it for real point observations — lightning detection, rain gauge, UV index, and pressure trend. The badge shows Hyperlocal #ID when this happens; otherwise it falls back to Open-Meteo. This is all public — no token or account required.

You can also request a specific station by ID. In the search box, prefix the ID with # (a bare 5-digit number is a zip code). The URL form is ?station=:

/?location=%23221502  (search box) /?station=221502  (URL param) /raw?station=221502

To find a station ID:

1. Go to tempestwx.com/map
2. Find a station on the map and click it
3. The station ID is the number in the URL

To set a default station so it loads automatically, click Settings in the footer and enter the station ID. Saved in your browser — no account needed.

Your Own Station: Freshest Data (optional)

Public station reads are near-real-time but can lag a few minutes. If you own a Tempest, you can paste your personal access token under Settings → Tempest Token to pull your station's raw observations at full fidelity. It's strictly optional and only helps your own station.

• Stored only in your browser as a secure, HttpOnly cookie (JavaScript can't read it).
• Relayed to Tempest per request and never saved on our servers — no accounts, no state.
• Revoke it anytime in your Tempest account; clear it anytime under Settings.

RadWeather itself ships no token — everything works publicly by default. The token is purely a bring-your-own upgrade for owners.

Examples

Local station (default):

curl https://your-app.onrender.com/raw

Specific city:

curl "https://your-app.onrender.com/raw?location=dallas,tx"

By zip code:

curl "https://your-app.onrender.com/raw?location=75201"

Tempest station:

curl "https://your-app.onrender.com/raw?station=221502"

JSON for scripting:

curl "https://your-app.onrender.com/json?location=chicago" | jq .

AI agents (Claude, GPT, etc.):

Read https://www.radweather.net/raw?location=dallas,tx
Fetch https://www.radweather.net/json?location=dallas,tx

AI Agent Code Example

Give any LLM live weather awareness by fetching /raw as context. Here's a complete example using the Anthropic SDK:

import anthropic, httpx weather = httpx.get("https://www.radweather.net/raw?location=dallas,tx").text client = anthropic.Anthropic() message = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": f"Here are the current conditions:\n\n{weather}\n\n" f"Should I bring an umbrella today?" }] ) print(message.content[0].text)

Or use the JSON endpoint for structured data in tool-use workflows:

import anthropic, httpx, json data = httpx.get("https://www.radweather.net/json?location=dallas,tx").json() # 7-day forecast is included for day in data["daily_forecast"]: print(f"{day['day_name']} {day['high_f']}/{day['low_f']} {day['conditions']}")

The /raw endpoint is designed to fit cleanly inside an LLM context window — no parsing needed. The /json endpoint is better when you need to extract specific fields or feed data into tools.

Route Weather

Check weather conditions at five points along your driving route — temperature changes, precipitation, NWS alerts, and wind. Three ways to use it:

1. Siri (hands-free in the car)
Create a Siri Shortcut and say "Hey Siri, Route Weather". Siri asks your destination, gets your GPS, and reads a spoken weather briefing for the drive. No app to install — just a 4-step shortcut.
Setup instructions: /siri
2. Map view (visual, in a browser)
See your route on a dark map with weather at each waypoint and live radar overlay. Click markers to see temperature, conditions, wind, and alerts.
/route?from_lat=32.78&from_lon=-96.80&to=amarillo,tx&format=map
3. API (scripts, AI agents, apps)
Plain text (default) or JSON. Works with curl, AI agents, or any HTTP client.

Parameters

from_lat — origin latitude (required)
from_lon — origin longitude (required)
to — destination city, zip, or place name (required)
format — response format: omit for spoken text, json for structured data, map for visual map

Spoken text (default — designed for Siri to read aloud):

curl "https://radweather.net/route?from_lat=32.78&from_lon=-96.80&to=amarillo,tx"

JSON (returns 5 waypoints with weather, alerts, and coordinates):

curl "https://radweather.net/route?from_lat=32.78&from_lon=-96.80&to=amarillo,tx&format=json"

What you get

Weather is checked at 5 evenly-spaced points: start, 25%, 50%, 75%, and destination. The spoken summary leads with NWS alerts if any, then temperature range, precipitation, and wind. Designed to be under 30 seconds when read aloud.

Defaults API

Set defaults for API clients (stored in cookies, persist across requests):

Set defaults:

curl -X POST -H "Content-Type: application/json" \
  -d '{"location":"75201","station":"221502"}' \
  https://your-app.onrender.com/defaults -c cookies.txt

Read current defaults:

curl https://your-app.onrender.com/defaults -b cookies.txt

Clear defaults (location, station, and token):

curl -X POST -H "Content-Type: application/json" \
  -d '{"clear":true}' https://your-app.onrender.com/defaults -c cookies.txt

POST bodies must be JSON with Content-Type: application/json. An empty body or {} changes nothing; send a key with an empty value (for example {"token":""}) to clear just that one. Requests from another site’s page (a different Origin) are refused.

JSON Response

The /json endpoint returns weather data plus:

lat / lon — coordinates of the location or station
observed_epoch — when the reading is fresh as of (epoch seconds)
observed_at — same, human-readable in the location's timezone
alerts — array of NWS alerts (empty if none)
alert_count — number of active alerts
radar.api — RainViewer API URL for tile data
radar.tile_url — tile URL template
radar.center — [lat, lon] for map center
radar.zoom — recommended zoom level (max 7)
source — data source: "tempest" (hyperlocal station) or "open-meteo"
nearby_station — true when a Tempest station was auto-discovered near the location
station_id — Tempest station ID (when using a station)
Lightning (Tempest stations only):
lightning_count_3hr — strike count in last 3 hours
lightning_last_distance_mi — distance of last strike in miles
lightning_last_epoch — timestamp of last strike (epoch seconds)
7-day forecast:
daily_forecast — array of forecast objects, each containing:
date — date string (YYYY-MM-DD)
day_name — abbreviated day name (Mon, Tue, etc.)
high_f / low_f — high and low temperature in Fahrenheit
conditions — weather description
precip_probability — precipitation chance (0-100)
hourly — array of 24 hourly objects with hour, temp_f, wind_mph, precip_probability, conditions

Rate Limits

To keep the service reliable for everyone, requests are rate limited per IP address:

/ (HTML), /card.png — 20 requests per minute
/json, /raw — 10 requests per minute
/route — 3 requests per minute
/radar — 10 requests per minute
/health, /og-image.png — no limit

There is also a site-wide global rate limit to protect upstream APIs. If you hit a limit you'll get a 429 Too Many Requests response. Wait a moment and retry.

Automated crawlers and bots are blocked from API endpoints. See /robots.txt for details.

Add to Home Screen (iOS)

Get one-tap access like a native app:

1. Open this site in Safari
2. Tap the Share button (square with arrow)
3. Scroll down and tap Add to Home Screen
4. Tap Add — it opens full-screen, no browser chrome

Tip: to pin a specific city, add it to your home screen from /?location=dallas,tx

Data Sources

1. Tempest WeatherFlow — public nearby-station discovery and reads (no token), providing lightning detection, rain gauge, UV, and pressure trend. Owners can optionally add their own token for full-fidelity raw observations of their station.

2. Open-Meteo — free fallback for any location, with hourly and 7-day forecast. Its geocoder also turns a typed city/state/country into coordinates.

3. NWS — active weather alerts (US only)

4. BigDataCloud — free, key-less reverse geocoding that turns your GPS coordinates into the nearest city name.

All data sources are free — no paid API calls, and no token required by default.

Default Location
City, zip code, etc. Loaded when you visit with no search.
Tempest Station ID
Any public station works — no token needed.
Tempest Token (optional)
Owners only — your station's freshest readings. Stored in your browser as a secure (HttpOnly) cookie, never on our servers. Clear token