Weather alerts and forecasts
api.realtimeapi.ai/v1/weatherdata/alerts
Weather alerts and forecasts: Active weather alerts. Active alerts for a region: a US state (TX), an NWS zone or county code (TXZ229, TXC201), an Australian state (NSW) or a whole country (US, AU). Severity first, newest first. Refreshes every 60 seconds.
GET
https://api.realtimeapi.ai/v1/weatherdata/alertsUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.realtimeapi.ai/v1/weatherdata/alerts");
console.log(await res.json());Example input
{}More from Weather alerts and forecastsProvider status
- api.realtimeapi.ai/v1/weatherdata/alerts/latestWeather alerts and forecasts: One alert. One alert by id with description, instruction, areas, zone codes and polygon. The id `latest` is the most severe active alert right now (a stable id for probes and examples). Refreshes every 60 seconds.0.002
- api.realtimeapi.ai/v1/weatherdata/currentWeather alerts and forecasts: Current conditions. Latest report from the nearest reporting station within 150 km of a coordinate in the United States or Australia. Refreshes every 5 minutes.0.003
- api.realtimeapi.ai/v1/weatherdata/forecast/dailyWeather alerts and forecasts: Daily forecast. Daily summary (min and max temperature, mean humidity and cloud, max wind and gust, precipitation total) for a coordinate in the contiguous United States or Australia, 1 to 5 days, aggregated per UTC day from the GFS hourly series. Refreshes every 60 minutes or on a new model cycle.0.005
- api.realtimeapi.ai/v1/weatherdata/forecast/hourlyWeather alerts and forecasts: Hourly forecast. GFS 0.25 degree hourly forecast at the nearest grid cell to a coordinate in the contiguous United States or Australia, 1 to 120 hours ahead (hourly to 48 h, then 3-hourly). Refreshes every 60 minutes or on a new model cycle.0.005
- api.realtimeapi.ai/v1/weatherdata/stations/nearWeather alerts and forecasts: Reporting stations near a point. METAR reporting stations within a radius of a coordinate in the United States or Australia, nearest first. Refreshes every 24 hours.0.001
