Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Open-Meteo Seasonal Forecast

API 文档
https://api.sandbase.ai/v1/api/open-meteo/seasonal

Seasonal weather forecast up to several months ahead by coordinates, from the ECMWF seasonal model.

价格
$0.0001美元 / 次调用
方法
POST
响应
JSON
参数
2 个必填 · 13 个可选

Playground

输入
WGS84 latitude of the location. Multiple coordinates can be comma-separated.
WGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.
Grid-cell preference for the coordinate. Default `land`.
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_i
End of the interval, `yyyy-mm-dd` (ISO 8601).
Number of forecast days to return (0-274). Default 0.
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_10
Number of past days to include (0-92). Default 0.
Precipitation unit. Default `mm`.
Comma-separated 6-hourly variables. Common values: `temperature_2m`, `precipitation`, `wind_speed_10m`, `weather_code`.
Start of the interval, `yyyy-mm-dd` (ISO 8601).
Temperature unit. Default `celsius`.
Time output format. Default `iso8601`.
IANA time zone name (e.g. `Europe/Berlin`) or `auto` to resolve from coordinates. Defaults to `GMT`.
Wind speed unit. Default `kmh`.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Open-Meteo Seasonal Forecast API

Seasonal weather forecast up to several months ahead by coordinates, from the ECMWF seasonal model.

The result is returned in outputs[0].data as the official Open-Meteo API response, unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/api/open-meteo/seasonal" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"latitude": "52.52", "longitude": "13.41", "daily": "temperature_2m_max"}'

Parameters

NameTypeRequiredDescription
cell_selectionstringNoGrid-cell preference for the coordinate. Default land.
dailystringNoComma-separated list of daily aggregation variables to return. Requires timezone. Common values: temperature_2m_max, temperature_2m_min, `temperature_2m_m
end_datestringNoEnd of the interval, yyyy-mm-dd (ISO 8601).
forecast_daysintegerNoNumber of forecast days to return (0-274). Default 0.
hourlystringNoComma-separated list of hourly variables to return. Interpolated hourly variables (optional). Common values: temperature_2m, relative_humidity_2m, `dew_poin
latitudestringYesWGS84 latitude of the location. Multiple coordinates can be comma-separated.
longitudestringYesWGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.
past_daysintegerNoNumber of past days to include (0-92). Default 0.
precipitation_unitstringNoPrecipitation unit. Default mm.
six_hourlystringNoComma-separated 6-hourly variables. Common values: temperature_2m, precipitation, wind_speed_10m, weather_code.
start_datestringNoStart of the interval, yyyy-mm-dd (ISO 8601).
temperature_unitstringNoTemperature unit. Default celsius.
timeformatstringNoTime output format. Default iso8601.
timezonestringNoIANA time zone name (e.g. Europe/Berlin) or auto to resolve from coordinates. Defaults to GMT.
wind_speed_unitstringNoWind speed unit. Default kmh.

Pricing

Flat price per call. Failed calls are not charged.

探索更多

相关 APIs

全部 APIs
API价格响应
Open-Meteo$0.0001 每次调用JSON
Open-Meteo$0.0001 每次调用JSON
Open-Meteo$0.0001 每次调用JSON
Open-Meteo$0.0001 每次调用JSON
Open-Meteo$0.0001 每次调用JSON
Open-Meteo$0.0001 每次调用JSON

问题

常见问题

如何使用 Open-Meteo Seasonal Forecast API?

向 https://api.sandbase.ai/v1/api/open-meteo/seasonal 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Open-Meteo Seasonal Forecast API 的价格是多少?

每次调用 $0.0001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Open-Meteo Seasonal Forecast API 接受哪些参数?

必填:latitude (string) 和 longitude (string)。 可选:cell_selection(land, sea, nearest 之一), daily (string), end_date (string), forecast_days (integer), hourly (string) 和 past_days (integer) 以及另外 7 项。 Parameters 表和本页的 Playground 列出了每个字段。

Open-Meteo Seasonal Forecast API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。

我需要 Open-Meteo 开发者账户或 API key 吗?

不需要。Open-Meteo Seasonal Forecast 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Open-Meteo API 访问权限。