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개

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-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`.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

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.

더 살펴보기

관련 API

모든 API
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 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/open-meteo/previous-runs에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Open-Meteo Previous Model Runs API 비용은 얼마인가요?

호출당 $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 키가 필요한가요?

아니요. Open-Meteo Previous Model Runs은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Open-Meteo API 액세스를 별도로 신청할 필요는 없습니다.