Endpoint reference
Versioned weather data for production integrations.
Review authentication, request parameters, and response behavior for every public WeatherBrain API endpoint.
GET
/api/v1/status
Check API availability
Returns only the API's public availability and version. This endpoint does not require an API key or consume customer quota.
Authentication: No API key required
Parameters
No request parameters.
Responses
GET
/api/v1/usage
Track API usage
Returns the authenticated credential's current UTC-day request totals, request-type breakdown, remaining daily allowance, percentage used, and reset time. This monitoring request does not consume customer quota.
Authentication: RainHUD API key in the X-RainHUD-API-Key header
Parameters
No request parameters.
Responses
200 Successful Response400 Malformed or unsupported request401 Missing or invalid API key403 Credential lacks access to this operation404 Requested weather data is unavailable409 Manifest identity expired422 Query validation failed429 API rate or daily quota exceeded500 Unexpected server error503 API metering is temporarily unavailable
GET
/api/v1/stations/nearest
Find the nearest supported radar station
Selects the nearest supported WSR-88D site for a latitude/longitude. Use this lightweight endpoint to preview geographic fit before requesting radar imagery. Requires the `weather:read` scope.
Authentication: RainHUD API key in the X-RainHUD-API-Key header
Parameters
Responses
200 Nearest supported radar site400 Malformed or unsupported request401 Missing or invalid API key403 Credential lacks access to this operation404 Requested weather data is unavailable409 Manifest identity expired422 Query validation failed429 API rate or daily quota exceeded500 Unexpected server error503 API metering is temporarily unavailable
GET
/api/v1/radar/tile-manifest
Build a coherent radar tile timeline
Returns recent/current frame metadata, Web Mercator tile bounds, and metered `/api/v1` tile URL templates. Fetch only the tiles intersecting your viewport. A `409` from a tile means its composite identity rolled over; refresh this manifest before continuing. Requires `tiles:read`.
Authentication: RainHUD API key in the X-RainHUD-API-Key header
Parameters
lat number · requiredViewport center latitude.
lon number · requiredViewport center longitude.
radiusMeters integer · optionalRadius around the origin represented by the requested tile range.
frames integer · optionalNumber of recent observed radar scans to include.
forecastMinutes integer · optionalRequested future timeline horizon. Use 0 for observations only.
z integer · optionalWeb Mercator zoom level used in returned tile templates.
Responses
200 Coherent tile timeline and URL templates400 Malformed or unsupported request401 Missing or invalid API key403 Credential lacks access to this operation404 Requested weather data is unavailable409 Manifest identity expired422 Query validation failed429 API rate or daily quota exceeded500 Unexpected server error503 API metering is temporarily unavailable
GET
/api/v1/forecast-frames
Get a source-attributed forecast timeline
Returns NOAA HRRR near-surface reflectivity frames without performing a NEXRAD volume decode. Use it when your product supplies current radar through another layer. If current radar already shows precipitation, set `requireReflectivity=false` so a dry model timeline can represent rain ending. Requires `weather:read`.
Authentication: RainHUD API key in the X-RainHUD-API-Key header
Parameters
lat number · requiredTimeline origin latitude.
lon number · requiredTimeline origin longitude.
radiusMeters integer · optionalHalf-width of each forecast raster in meters.
forecastMinutes integer · optionalForecast horizon in minutes, up to the available HRRR horizon.
stepMinutes integer · optionalTimeline interval; must be a multiple of 30 minutes.
requireReflectivity boolean · optionalWhen true, omit a timeline that contains no visible reflectivity.
Responses
200 Source-attributed model forecast frames400 Malformed or unsupported request401 Missing or invalid API key403 Credential lacks access to this operation404 Requested weather data is unavailable409 Manifest identity expired422 Query validation failed429 API rate or daily quota exceeded500 Unexpected server error503 API metering is temporarily unavailable
GET
/api/v1/weather-frame
Get processed radar and spatial storm context
Returns the main product contract: current radar metadata, station and source timing, spatial storm cells, motion when supported, and an observed/forecast timeline. Start with `includeImages=false` when using the tile flow. `stage=radar` provides a faster initial current frame; `stage=full` adds the complete spatial/timeline context. Operational Weather Brain training diagnostics are intentionally excluded. Requires `weather:read`.
Authentication: RainHUD API key in the X-RainHUD-API-Key header
Parameters
lat number · requiredFrame origin latitude.
lon number · requiredFrame origin longitude.
radiusMeters integer · optionalHalf-width of the radar raster and spatial context in meters.
frames integer · optionalObserved radar scans used for the current/past timeline.
forecastMinutes integer · optionalFuture timeline horizon in minutes. Use 0 to skip forecast frames.
includeImages boolean · optionalEmbed base64 raster images. Keep false when imagery comes from tiles.
stage string · optionalUse radar for a quick initial response or full for complete context.
Responses
200 Processed weather frame400 Malformed or unsupported request401 Missing or invalid API key403 Credential lacks access to this operation404 Requested weather data is unavailable409 Manifest identity expired422 Query validation failed429 API rate or daily quota exceeded500 Unexpected server error503 API metering is temporarily unavailable
GET
/api/v1/radar/tile/{station_id}/{scan_token}/{z}/{x}/{y}.png
Fetch a metered radar tile
Fetches one tile from a URL template returned by `/radar/tile-manifest`. The opaque scan token and composite identity must be used unchanged. Successful tiles are privately cacheable by the customer client; a shared intermediary must re-authenticate and consume quota. Requires `tiles:read`.
Authentication: RainHUD API key in the X-RainHUD-API-Key header
Parameters
station_id string · requiredscan_token string · requiredz integer · requiredx integer · requiredy integer · requiredforecastMinutes integer · optionalForecast offset from the manifest frame, in minutes.
compositeTime value · optionalOpaque composite token from the manifest; do not construct it.
compositeCurrent boolean · optionalWhether the manifest frame uses the current composite identity.
imageFormat string · optionalReturned image encoding. WebP is smaller when supported.
Responses
200 Radar tile image400 Malformed or unsupported request401 Missing or invalid API key403 Credential lacks access to this operation404 Requested weather data is unavailable409 Manifest identity expired422 Query validation failed429 API rate or daily quota exceeded500 Unexpected server error503 API metering is temporarily unavailable