Skip to main content
POST
Get weather forecast for multiple locations with custom settings

Body

application/json
parameters
string[]

List of weather parameters to include

daily_parameters
string[]

List of daily-only weather parameters to include

locations
object[]

List of locations to get forecasts for

cache
boolean
default:true

Whether to use the current cache if available (default: true). Setting cache=false will invalidate the cache and return fresh data.

start
string
default:now

Start time for the forecast

interval
integer
default:24

Forecast interval in hours

daily
boolean
default:true

Whether to include daily forecast overview

segments
enum<string>
default:false

Segmented overview mode

Available options:
true,
false,
day,
3hrs,
6hrs
hourly
boolean
default:true

Whether to include hourly forecasts

overrides
boolean
default:true

Whether to apply overrides to the forecast data

nowcast
boolean
default:false

Whether to include nowcast data

step
integer
default:1

Time step in hours

timezone
string

Timezone to use for the forecast

model
string
default:default

Weather model to use

hijri
boolean
default:false

Whether to include Hijri date information

info
boolean
default:false

Whether to include location information

Response

Weather forecast data

locations
object[]