API Reference
Base URL: https://api.strataweather.com
GET
/v1/pointMinute-by-minute precipitation nowcast for a specific location.
Parameters
lat(float)— Latitudelon(float)— Longitudeminutes(int)— Forecast duration (default 60, max 120)Example
GET /v1/point?lat=40.71&lon=-73.94&minutes=60GET
/v1/conditionsCurrent weather conditions from the nearest observation station that has reported in the last two hours. Fields are null when no station within 100 km qualifies.
Parameters
lat(float)— Latitudelon(float)— LongitudeExample
GET /v1/conditions?lat=40.71&lon=-73.94GET
/v1/forecast/hourly48-hour hourly forecast with temperature, precipitation, and wind.
Parameters
lat(float)— Latitudelon(float)— Longitudehours(int)— Number of hours (default 48)Example
GET /v1/forecast/hourly?lat=40.71&lon=-73.94&hours=24GET
/v1/forecast/daily7-day daily forecast with highs, lows, and conditions.
Parameters
lat(float)— Latitudelon(float)— LongitudeExample
GET /v1/forecast/daily?lat=40.71&lon=-73.94GET
/v1/tiles/{z}/{x}/{y}.pngPrecipitation radar tile for map overlays (256x256 PNG).
Parameters
z(int)— Zoom level (0-8)x(int)— Tile X coordinatey(int)— Tile Y coordinatetimestep(int)— Forecast timestep (0-23, each = 5 min)Example
GET /v1/tiles/4/4/6.png?timestep=0GET
/v1/alertsActive weather alerts for a location from NWS.
Parameters
lat(float)— Latitudelon(float)— LongitudeExample
GET /v1/alerts?lat=40.71&lon=-73.94GET
/healthAPI health check endpoint.
Example
GET /health