跳转到主要内容
GET
Reference example

请求规范

  • 方法与路径: GET /apis/v1/openmeteo/flood
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/openmeteo/flood
  • cell_selection: query; 可选
  • daily: query; 可选
  • end_date: query; 可选
  • ensemble: query; 可选
  • forecast_days: query; 可选
  • latitude: query; 必填
  • longitude: query; 必填
  • models: query; 可选
  • past_days: query; 可选
  • start_date: query; 可选
  • timeformat: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.0001 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

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

查询参数

cell_selection
enum<string>
默认值:nearest

Grid-cell preference for the coordinate. Default nearest.

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

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.

示例:

"river_discharge,river_discharge_mean"

end_date
string<date>

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

示例:

"2024-01-07"

ensemble
boolean
默认值:false

Return all ensemble members instead of the aggregate. Default false.

forecast_days
integer
默认值:92

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

示例:

7

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"

models
string

Comma-separated GloFAS models. Default best match.

示例:

"seamless_v4"

past_days
integer
默认值:0

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

start_date
string<date>

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

示例:

"2024-01-01"

timeformat
enum<string>
默认值:iso8601

Time output format. Default iso8601.

可用选项:
iso8601,
unixtime

响应

River discharge for the interval.

The response is of type object.