Skip to main content
GET
Reference example
Fetch GloFAS river-discharge forecast and historical data for a coordinate. Request daily discharge statistics such as river_discharge, river_discharge_mean, river_discharge_median, river_discharge_max, river_discharge_min, river_discharge_p25, river_discharge_p75. Control the horizon with forecast_days (up to 210) and past_days, or an explicit start_date/end_date; set ensemble=true to return all members. The response returns grid-cell metadata and a daily block with a time array, one array per variable (m³/s), and a matching daily_units object. Example: GET /apis/v1/openmeteo/flood?latitude=59.91&longitude=10.75&daily=river_discharge,river_discharge_mean&forecast_days=30. Billing: per call, metered per request. Current prices are on aisa.one/api. All Open-Meteo endpoints are GET pass-through — authenticate with your AIsa API key as a bearer token (the same key used across every AIsa /apis/* endpoint); AIsa handles provider access.

Request contract

  • Method and path: GET /apis/v1/openmeteo/flood
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/openmeteo/flood
  • cell_selection: query; optional
  • daily: query; optional
  • end_date: query; optional
  • ensemble: query; optional
  • forecast_days: query; optional
  • latitude: query; required
  • longitude: query; required
  • models: query; optional
  • past_days: query; optional
  • start_date: query; optional
  • timeformat: query; optional
  • Runtime facts: sha256:36f55c225a89aa6e29290270a8eeed85c6f6224160884d7fa3a086ea2ad602ef
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.0001 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.0001
  • Cost contract: fixed_success
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

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

Query Parameters

cell_selection
enum<string>
default:nearest

Grid-cell preference for the coordinate. Default nearest.

Available options:
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.

Example:

"river_discharge,river_discharge_mean"

end_date
string<date>

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

Example:

"2024-01-07"

ensemble
boolean
default:false

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

forecast_days
integer
default:92

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

Example:

7

latitude
string
required

WGS84 latitude of the location. Multiple coordinates can be comma-separated.

Example:

"52.52"

longitude
string
required

WGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.

Example:

"13.41"

models
string

Comma-separated GloFAS models. Default best match.

Example:

"seamless_v4"

past_days
integer
default:0

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

start_date
string<date>

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

Example:

"2024-01-01"

timeformat
enum<string>
default:iso8601

Time output format. Default iso8601.

Available options:
iso8601,
unixtime

Response

River discharge for the interval.

The response is of type object.