Community. Driven. Weather. Data. | Always Ad-Free | Developer FriendlyChecking statusDiscord
Become a supporter
Sign in
DocsDevelopersOverview

Build on WxAlerts

Poll the REST API or subscribe to the live MQTT feeds, with and without an API key.


Base URL: https://api.wxalerts.org

There are two ways to get weather data into your own software. The REST API is plain HTTPS and JSON that you poll: ask what is in effect at a point, in a box, or across the country. The MQTT feeds push NWS alerts and GOES lightning to you the moment they are published, so a client that listens needs no polling at all.

Most REST routes are public: no key needed, limited per address, and the same endpoints this site calls from the browser. The rest are served only under /v1 with an API key, which is also accepted on the public routes, with /v1 in front, to move the request off your address’s budget and onto the key’s. A key-only route on the bare path answers 401. Browsers block calls from other websites (CORS allows only wxalerts.org), so call the API from a server, script or app. The MQTT feeds are public and read only.

None of it is exempt from the Terms of Service; the clauses that decide what you may build are in Terms for builders.

Start here

Guides

Concepts

Reference

MQTT

View this page as Markdown

May we use Microsoft Clarity to see how pages are used (clicks, scrolling and replays of a visit, with anything you type hidden), plus a random ID linking that to crash reports? Only to find bugs and confusing screens. Never advertising, never sold.