Skip to content

Nowcast API

The Nowcast API provides access to minute-by-minute precipitation forecast for the next 4 hours.

Servers:

  • https://api.rainbow.ai

APIs

GET /nowcast/v1/precip/{longitude}/{latitude}

Minute-by-minute precipitation forecast

This endpoint provides a minute-by-minute precipitation forecast for the next 4 hours.

The forecast includes:

  • Minute-by-minute precipitation for the next 4 hours.

Use Cases

  • Weather apps providing detailed short-term forecasts

  • Logistics & transportation companies planning routes

  • Outdoor activity planning, such as hiking, sports, and events

Data Coverage

  • The API supports global locations but may return 404 if weather data is unavailable in a specific area.

Parameters

Name Type Required Description
longitude number True Longitude coordinate of the location for which the forecast is requested
latitude number True Latitude coordinate of the location for which the forecast is requested

Responses

200

Precipitation forecast

PrecipForecastResponse

Field Type Description
longitude number Longitude coordinate of the location for which the forecast is prepared
latitude number Latitude coordinate of the location for which the forecast is prepared
summary Classification of the maximum precipitation intensity during the period
forecast array Precipitation forecast for the next 4 hours
400

Invalid request. This may occur due to missing or incorrect coordinates

object

Field Type Description
message string
404

No weather forecast coverage is available for the specified location

422

Validation Error

HTTPValidationError

Components

HTTPValidationError
Field Type Description
detail array
PrecipForecastItem
Field Type Description
timestampBegin integer Start of the precipitation event in seconds since epoch
timestampEnd integer End of the precipitation event in seconds since epoch
precipRate number Precipitation rate in mm/h
precipType Precipitation type
PrecipForecastResponse
Field Type Description
longitude number Longitude coordinate of the location for which the forecast is prepared
latitude number Latitude coordinate of the location for which the forecast is prepared
summary Classification of the maximum precipitation intensity during the period
forecast array Precipitation forecast for the next 4 hours
PrecipForecastSummary
Field Type Description
intensity Classification of the maximum precipitation intensity during the period
ResponsePrecipIntensity
ResponsePrecipType
ValidationError
Field Type Description
loc array
msg string
type string