Skip to main content
GET
Open-Meteo Air Quality

授权

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
current
string

Comma-separated list of current-condition variables to return. Same variable set as hourly.

示例:

"european_aqi,pm2_5"

domains
enum<string>
默认值:auto

Model domain. Default auto.

可用选项:
auto,
cams_europe,
cams_global
end_date
string<date>

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

示例:

"2024-01-07"

forecast_days
integer
默认值:5

Number of forecast days to return (0-7). Default 5.

示例:

7

forecast_hours
integer

Limit forecast to a given number of hours.

hourly
string

Comma-separated list of hourly variables to return. Common values: pm10, pm2_5, carbon_monoxide, nitrogen_dioxide, sulphur_dioxide, ozone, aerosol_optical_depth, dust, uv_index, ammonia, european_aqi, us_aqi, and pollen (alder_pollen, birch_pollen, grass_pollen, mugwort_pollen, olive_pollen, ragweed_pollen).

示例:

"pm10,pm2_5,european_aqi"

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"

past_days
integer
默认值:0

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

past_hours
integer

Include a given number of past hours.

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
timezone
string

IANA time zone name (e.g. Europe/Berlin) or auto to resolve from coordinates. Defaults to GMT.

示例:

"Europe/Berlin"

响应

Air-quality forecast for the coordinate.

The response is of type object.