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

Open-Meteo Flood Forecast

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

Daily river discharge forecast and history for any coordinates from the GloFAS flood model.

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

プレイグラウンド

入力
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 `nearest`.
Comma-separated list of daily aggregation variables to return. Requires `timezone`. Common values: `river_discharge`, `river_discharge_mean`, `river_discharge_median`, `river_discharge_max`, `river_discharge_min`, `river_discharge_p25`, `river_discharge_p75`.
End of the interval, `yyyy-mm-dd` (ISO 8601).
Return all ensemble members instead of the aggregate. Default `false`.
Number of forecast days to return (0-210). Default 92.
Comma-separated GloFAS models. Default best match.
Number of past days to include (0-92). Default 0.
Start of the interval, `yyyy-mm-dd` (ISO 8601).
Time output format. Default `iso8601`.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Open-Meteo Flood Forecast API

Returns daily river discharge values in cubic meters per second for a pair of coordinates, from the GloFAS flood model. It needs latitude and longitude. Add daily to choose which discharge variables come back.

Use cases

  • Chart the expected river flow near a site over the next weeks to spot rising water.
  • Compare recent past discharge with the forecast using past_days and forecast_days.
  • Add a river flow value to a flood risk score for a property or a project location.
  • Pull the same discharge series for several coordinates by passing comma-separated latitude and longitude values.

Request

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

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 nearest.
dailystringNoComma-separated list of daily aggregation variables to return. Requires timezone. Common values: river_discharge, river_discharge_mean, river_discharge_median, river_discharge_max, river_discharge_min, `river
end_datestringNoEnd of the interval, yyyy-mm-dd (ISO 8601).
ensemblebooleanNoReturn all ensemble members instead of the aggregate. Default false.
forecast_daysintegerNoNumber of forecast days to return (0-210). Default 92.
modelsstringNoComma-separated GloFAS models. Default best match.
past_daysintegerNoNumber of past days to include (0-92). Default 0.
start_datestringNoStart of the interval, yyyy-mm-dd (ISO 8601).
timeformatstringNoTime output format. Default iso8601.

Example response

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

{
  "daily": {
    "river_discharge": [
      0.45
    ],
    "time": [
      "2026-11-03"
    ]
  },
  "daily_units": {
    "river_discharge": "m³/s",
    "time": "iso8601"
  },
  "elevation": 38.0,
  "generationtime_ms": 0.18489360809326172,
  "latitude": 52.525,
  "longitude": 13.425003,
  "timezone": "GMT",
  "timezone_abbreviation": "GMT",
  "utc_offset_seconds": 0
}

Response fields

FieldMeaning
daily.time[]Date of each daily value, in yyyy-mm-dd format when timeformat is iso8601. It lines up by position with the values in daily.river_discharge[].
daily.river_discharge[]Forecast river discharge for each date in daily.time[]. The unit is given in daily_units.river_discharge.
daily_units.river_dischargeUnit of the discharge values, shown as m³/s in this response.
latitude / longitudeCoordinates of the grid cell the data comes from. They can differ slightly from the requested point, for example 52.525 and 13.425003 for a request of 52.52 and 13.41.
elevationElevation of the selected grid cell, in the same call as the discharge data.
timezone / timezone_abbreviation / utc_offset_secondsTime zone used for the daily dates, here GMT with an offset of 0 seconds.
generationtime_msTime the server took to build the response, in milliseconds.

Notes

  • Get coordinates for a place name with Open-Meteo Geocoding.
  • Use start_date and end_date for a fixed date range, or past_days and forecast_days for a window around today.
  • Other discharge variables for daily include river_discharge_mean, river_discharge_median, river_discharge_max, river_discharge_min, river_discharge_p25 and river_discharge_p75.
  • Set ensemble to true to get all ensemble members instead of the aggregate.

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 Flood Forecast API はどのように使いますか?

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

Open-Meteo Flood Forecast API の料金はいくらですか?

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

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

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

Open-Meteo Flood Forecast API は何を返しますか?

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

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

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