Skip to main content
GET
Open-Meteo Seasonal Forecast

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

cell_selection
enum<string>
默认值:land

Grid-cell preference for the coordinate. Default land.

可用选项:
land,
sea,
nearest
daily
string

Comma-separated list of daily aggregation variables to return. Requires timezone. Common values: temperature_2m_max, temperature_2m_min, temperature_2m_mean, precipitation_sum, rain_sum, snowfall_sum, weather_code, sunrise, sunset, sunshine_duration, wind_speed_10m_max, uv_index_max.

示例:

"temperature_2m_max,temperature_2m_min,precipitation_sum"

end_date
string<date>

End of the interval, yyyy-mm-dd (ISO 8601).

示例:

"2024-01-07"

forecast_days
integer
默认值:0

Number of forecast days to return (0-274). Default 0.

示例:

7

hourly
string

Comma-separated list of hourly variables to return. Interpolated hourly variables (optional). Common values: temperature_2m, relative_humidity_2m, dew_point_2m, apparent_temperature, precipitation, rain, showers, snowfall, weather_code, pressure_msl, cloud_cover, wind_speed_10m, wind_direction_10m, wind_gusts_10m, shortwave_radiation, visibility.

示例:

"temperature_2m"

latitude
string
必填

WGS84 latitude of the location. Multiple coordinates can be comma-separated.

示例:

"52.52"

longitude
string
必填

WGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.

示例:

"13.41"

past_days
integer
默认值:0

Number of past days to include (0-92). Default 0.

precipitation_unit
enum<string>
默认值:mm

Precipitation unit. Default mm.

可用选项:
mm,
inch
six_hourly
string

Comma-separated 6-hourly variables. Common values: temperature_2m, precipitation, wind_speed_10m, weather_code.

示例:

"temperature_2m,precipitation"

start_date
string<date>

Start of the interval, yyyy-mm-dd (ISO 8601).

示例:

"2024-01-01"

temperature_unit
enum<string>
默认值:celsius

Temperature unit. Default celsius.

可用选项:
celsius,
fahrenheit
timeformat
enum<string>
默认值:iso8601

Time output format. Default iso8601.

可用选项:
iso8601,
unixtime
timezone
string

IANA time zone name (e.g. Europe/Berlin) or auto to resolve from coordinates. Defaults to GMT.

示例:

"Europe/Berlin"

wind_speed_unit
enum<string>
默认值:kmh

Wind speed unit. Default kmh.

可用选项:
kmh,
ms,
mph,
kn

响应

Seasonal forecast for the coordinate.

The response is of type object.