Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Open-Meteo Previous Model Runs

APIドキュメント
https://api.sandbase.ai/v1/api/open-meteo/previous-runs

Weather forecasts from earlier model runs for the same coordinates, to compare how forecasts changed day by day.

料金
$0.0001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 2 件 · 任意 13 件

プレイグラウンド

入力
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-16). Default 7.
Comma-separated list of hourly variables to return. 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`
Comma-separated forecast models. Default best match.
Number of past days to include (0-92). Default 0.
Precipitation unit. Default `mm`.
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 Previous Model Runs API

Returns weather forecasts that earlier model runs produced for a coordinate, so you can see what was predicted one or more days ahead. It needs latitude and longitude, plus the variables you want in hourly or daily.

Use cases

  • Compare the temperature_2m forecast made one day ahead with the forecast from other lead times to see how much it shifted.
  • Check how stable a precipitation forecast was for a planned outdoor event in a given city.
  • Build a chart of forecast error by lead time for a single location.
  • Test whether a previous_day forecast would have given a different result for a past decision.

Request

curl -X POST "https://api.sandbase.ai/v1/api/open-meteo/previous-runs" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"latitude": "52.52", "longitude": "13.41", "hourly": "temperature_2m_previous_day1", "forecast_days": 1}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
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.
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_mean, precipitation_sum, rain_sum, snowfall_sum, `weat
end_datestringNoEnd of the interval, yyyy-mm-dd (ISO 8601).
forecast_daysintegerNoNumber of forecast days to return (0-16). Default 7.
hourlystringNoComma-separated list of hourly variables to return. Common values: temperature_2m, relative_humidity_2m, dew_point_2m, apparent_temperature, precipitation, rain, showers, snowfall, weather_code, `pressu
modelsstringNoComma-separated forecast models. Default best match.
past_daysintegerNoNumber of past days to include (0-92). Default 0.
precipitation_unitstringNoPrecipitation unit. Default mm.
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.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "elevation": 38.0,
  "generationtime_ms": 7.387995719909668,
  "hourly": {
    "temperature_2m_previous_day1": [
      6.9
    ],
    "time": [
      "2026-11-03T00:00"
    ]
  },
  "hourly_units": {
    "temperature_2m_previous_day1": "°C",
    "time": "iso8601"
  },
  "latitude": 52.512604,
  "longitude": 13.419517,
  "timezone": "GMT",
  "timezone_abbreviation": "GMT",
  "utc_offset_seconds": 0
}

Response fields

FieldMeaning
hourly.timeHour timestamps for each value, in the format given by hourly_units.time (iso8601 here). They are in the response timezone.
hourly.temperature_2m_previous_day1Hourly temperature at 2 m as forecast one day earlier. Each value lines up with the same index in hourly.time. The name follows the requested variable, so other variables appear under their own names.
hourly_units.temperature_2m_previous_day1Unit of the hourly temperature values, °C in this response.
latitude / longitudeCoordinates of the grid cell used for the forecast. They can differ slightly from the coordinates you sent.
elevationElevation of the selected grid cell, in the same call result as the coordinates.
timezone / timezone_abbreviationTime zone used for the timestamps. It is GMT here because no timezone was sent.
utc_offset_secondsOffset of the response time zone from UTC, in seconds.
generationtime_msTime the server took to produce the response, in milliseconds.

Notes

  • Add _previous_day1 and similar suffixes to a variable name, for example temperature_2m_previous_day1, to ask for an earlier run. Use the same pattern in daily, for example temperature_2m_max_previous_day1.
  • daily needs timezone. Use an IANA name such as Europe/Berlin or auto.
  • Choose the time range with forecast_days and past_days, or with start_date and end_date in yyyy-mm-dd format.
  • For current forecasts without lead-time suffixes, call Open-Meteo Weather Forecast. For past forecasts stored by date range, see Open-Meteo Historical Forecast.

Pricing

$0.0001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 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

質問

FAQ

Open-Meteo Previous Model Runs API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/open-meteo/previous-runs に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Open-Meteo Previous Model Runs API の料金はいくらですか?

1回あたり $0.0001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Open-Meteo Previous Model Runs API はどのパラメータを受け付けますか?

必須: latitude (string) と longitude (string)。 任意: cell_selection(land, sea, nearest のいずれか), daily (string), end_date (string), forecast_days (integer), hourly (string) と models (string) と他 7 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Open-Meteo Previous Model Runs API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Open-Meteo の開発者アカウントまたは API key は必要ですか?

いいえ。Open-Meteo Previous Model Runs は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Open-Meteo の API アクセスを別途申請する必要はありません。