> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Open-Meteo

> Keyless weather forecasts, historical weather since 1940, air quality, marine forecasts and place-name geocoding for any coordinate.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/openmeteo.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=b1a3b512ea2af0231296600eb3cbb550)

[Web Catalog · Environment](https://docs.webrouter.net/data-apis.md?category=environment)

No key needed

Endpoints

5

Auth

None

[Vendor docs](https://open-meteo.com/en/docs)

&#x20;·&#x20;

[Pricing](https://open-meteo.com/en/pricing)

## Notes

* No key: the free API is for non-commercial use. Commercial customers call the customer- prefixed hosts with an apikey parameter, which this entry does not cover.
* Locations are latitude/longitude (WGS84); geocode a place name first with openmeteo.geocoding.search. Several comma-separated coordinates return one result per location.
* Nothing is returned unless variables are named: pass hourly, daily and/or current as comma-separated variable names (e.g. temperature\_2m,precipitation).
* Times are GMT unless timezone is set; daily variables need timezone (a tz database name or auto).
* Units default to celsius, km/h and mm; change with temperature\_unit, wind\_speed\_unit and precipitation\_unit.

## Endpoints

GET

Geocode a place name

Places matching a name or postal code, with coordinates, elevation, timezone, country and population.

[Open](#openmeteo-geocoding-search)

GET

Get a weather forecast

Current conditions and hourly, 15-minute or daily forecast variables for up to 16 days, plus up to 92 past days.

[Open](#openmeteo-forecast-get)

GET

Get historical weather

Hourly or daily reanalysis weather for a past date range (ERA5 from 1940).

[Open](#openmeteo-archive-get)

GET

Get air quality

Current and hourly pollutants, AQI (European and US), UV index and pollen from CAMS models.

[Open](#openmeteo-air-quality-get)

GET

Get a marine forecast

Wave height, direction and period, swell, sea surface temperature and ocean currents.

[Open](#openmeteo-marine-get)

### Geocode a place name

GET

`/search`

`openmeteo.geocoding.search`

Places matching a name or postal code, with coordinates, elevation, timezone, country and population.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`name` required</td><td>string</td><td>query</td><td>Place name or postal code; add a comma and a country or region to narrow it. Example `Berlin`</td></tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results, 1 to 100, default 10.
      </td>
    </tr>

    <tr>
      <td>
        `language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language of the returned names, default en.
      </td>
    </tr>

    <tr>
      <td>
        `countryCode`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO-3166-1 alpha-2 country filter.
      </td>
    </tr>

    <tr><td>`format`</td><td>string</td><td>query</td><td>json (default) or protobuf. One of `json`, `protobuf`</td></tr>
  </tbody>
</table>

[Vendor docs](https://open-meteo.com/en/docs/geocoding-api) · Same job: [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-geocoder-search), [CNPJá](https://docs.webrouter.net/data-apis/cnpja.md#cnpja-zip-get), [CompanyEnrich](https://docs.webrouter.net/data-apis/companyenrich.md#companyenrich-geo-regions), [Duffel](https://docs.webrouter.net/data-apis/duffel.md#duffel-places-suggestions), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-reference-locations), [IBGE](https://docs.webrouter.net/data-apis/ibge.md#ibge-aggregates-places)

```python Python theme={null}
router.call_data_api("openmeteo.geocoding.search", {'name': 'Berlin'})
```

```text MCP theme={null}
call_data_api(endpoint="openmeteo.geocoding.search", params={"name": "Berlin"})
```

### Get a weather forecast

GET

`/forecast`

`openmeteo.forecast.get`

Current conditions and hourly, 15-minute or daily forecast variables for up to 16 days, plus up to 92 past days.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`latitude` required</td><td>number</td><td>query</td><td>WGS84 latitude; comma-separate for several locations. Example `52.52`</td></tr>
    <tr><td>`longitude` required</td><td>number</td><td>query</td><td>WGS84 longitude; negative for the Americas. Example `13.41`</td></tr>

    <tr>
      <td>
        `hourly`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated hourly variables, e.g. temperature\_2m,precipitation,wind\_speed\_10m,weather\_code.
      </td>
    </tr>

    <tr>
      <td>
        `daily`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated daily variables, e.g. temperature\_2m\_max,precipitation\_sum,sunrise. Needs timezone.
      </td>
    </tr>

    <tr>
      <td>
        `current`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated current-condition variables, e.g. temperature\_2m,weather\_code.
      </td>
    </tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        tz database name or auto; default GMT.
      </td>
    </tr>

    <tr>
      <td>
        `forecast_days`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0 to 16, default 7.
      </td>
    </tr>

    <tr>
      <td>
        `past_days`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0 to 92, default 0.
      </td>
    </tr>

    <tr>
      <td>
        `start_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        yyyy-mm-dd; with end\_date, replaces forecast\_days/past\_days.
      </td>
    </tr>

    <tr>
      <td>
        `end_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        yyyy-mm-dd.
      </td>
    </tr>

    <tr><td>`temperature_unit`</td><td>string</td><td>query</td><td>Default celsius. One of `celsius`, `fahrenheit`</td></tr>
    <tr><td>`wind_speed_unit`</td><td>string</td><td>query</td><td>Default kmh. One of `kmh`, `ms`, `mph`, `kn`</td></tr>
    <tr><td>`precipitation_unit`</td><td>string</td><td>query</td><td>Default mm. One of `mm`, `inch`</td></tr>
    <tr><td>`timeformat`</td><td>string</td><td>query</td><td>Default iso8601. One of `iso8601`, `unixtime`</td></tr>
  </tbody>
</table>

[Vendor docs](https://open-meteo.com/en/docs) · Same job: [US National Weather Service](https://docs.webrouter.net/data-apis/nws.md#nws-forecast-get), [OpenWeather](https://docs.webrouter.net/data-apis/openweather.md#openweather-forecast-get), [Precip](https://docs.webrouter.net/data-apis/precip.md#precip-forecast), [Tomorrow.io](https://docs.webrouter.net/data-apis/tomorrow-io.md#tomorrow-io-weather-forecast), [WeatherAPI.com](https://docs.webrouter.net/data-apis/weatherapi.md#weatherapi-forecast)

```python Python theme={null}
router.call_data_api("openmeteo.forecast.get", {'latitude': 52.52, 'longitude': 13.41})
```

```text MCP theme={null}
call_data_api(endpoint="openmeteo.forecast.get", params={"latitude": 52.52, "longitude": 13.41})
```

### Get historical weather

GET

`/archive`

`openmeteo.archive.get`

Hourly or daily reanalysis weather for a past date range (ERA5 from 1940).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `latitude`

        required
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        WGS84 latitude.
      </td>
    </tr>

    <tr>
      <td>
        `longitude`

        required
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        WGS84 longitude.
      </td>
    </tr>

    <tr><td>`start_date` required</td><td>string</td><td>query</td><td>yyyy-mm-dd. Example `2024-01-01`</td></tr>
    <tr><td>`end_date` required</td><td>string</td><td>query</td><td>yyyy-mm-dd. Example `2024-01-31`</td></tr>

    <tr>
      <td>
        `hourly`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated hourly variables.
      </td>
    </tr>

    <tr>
      <td>
        `daily`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated daily variables; needs timezone.
      </td>
    </tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        tz database name or auto; default GMT.
      </td>
    </tr>

    <tr>
      <td>
        `temperature_unit`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        &#x20;One of&#x20;

        `celsius`

        ,&#x20;

        `fahrenheit`
      </td>
    </tr>

    <tr>
      <td>
        `wind_speed_unit`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        &#x20;One of&#x20;

        `kmh`

        ,&#x20;

        `ms`

        ,&#x20;

        `mph`

        ,&#x20;

        `kn`
      </td>
    </tr>

    <tr>
      <td>
        `precipitation_unit`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        &#x20;One of&#x20;

        `mm`

        ,&#x20;

        `inch`
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://open-meteo.com/en/docs/historical-weather-api) · Same job: [Environment and Climate Change Canada (GeoMet-OGC-API)](https://docs.webrouter.net/data-apis/eccc-geomet.md#eccc-geomet-climate-daily), [NASA POWER](https://docs.webrouter.net/data-apis/nasapower.md#nasapower-daily-point), [US National Weather Service](https://docs.webrouter.net/data-apis/nws.md#nws-observations-list), [OpenWeather](https://docs.webrouter.net/data-apis/openweather.md#openweather-onecall-timemachine), [ACIS (NOAA Regional Climate Centers)](https://docs.webrouter.net/data-apis/rcc-acis.md#rcc-acis-station-data), [Tomorrow.io](https://docs.webrouter.net/data-apis/tomorrow-io.md#tomorrow-io-weather-recent-history)

> [!NOTE]
>
> * ERA5 data lags about 5 days behind today; ask the forecast endpoint's past\_days for the last few days.

### Get air quality

GET

`/air-quality`

`openmeteo.air_quality.get`

Current and hourly pollutants, AQI (European and US), UV index and pollen from CAMS models.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `latitude`

        required
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        WGS84 latitude.
      </td>
    </tr>

    <tr>
      <td>
        `longitude`

        required
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        WGS84 longitude.
      </td>
    </tr>

    <tr>
      <td>
        `hourly`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated variables, e.g. pm10,pm2\_5,ozone,european\_aqi,us\_aqi,uv\_index.
      </td>
    </tr>

    <tr>
      <td>
        `current`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated current-condition variables.
      </td>
    </tr>

    <tr><td>`domains`</td><td>string</td><td>query</td><td>Default auto. One of `auto`, `cams_europe`, `cams_global`</td></tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        tz database name or auto; default GMT.
      </td>
    </tr>

    <tr>
      <td>
        `forecast_days`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0 to 7, default 5.
      </td>
    </tr>

    <tr>
      <td>
        `past_days`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0 to 92, default 0.
      </td>
    </tr>

    <tr>
      <td>
        `start_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        yyyy-mm-dd.
      </td>
    </tr>

    <tr>
      <td>
        `end_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        yyyy-mm-dd.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://open-meteo.com/en/docs/air-quality-api) · Same job: [OpenWeather](https://docs.webrouter.net/data-apis/openweather.md#openweather-air-pollution-current)

> [!NOTE]
>
> * Pollen variables cover Europe only, in pollen season.

### Get a marine forecast

GET

`/marine`

`openmeteo.marine.get`

Wave height, direction and period, swell, sea surface temperature and ocean currents.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `latitude`

        required
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        WGS84 latitude.
      </td>
    </tr>

    <tr>
      <td>
        `longitude`

        required
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        WGS84 longitude.
      </td>
    </tr>

    <tr>
      <td>
        `hourly`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated variables, e.g. wave\_height,wave\_direction,wave\_period,swell\_wave\_height,sea\_surface\_temperature.
      </td>
    </tr>

    <tr>
      <td>
        `daily`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated daily variables; needs timezone.
      </td>
    </tr>

    <tr>
      <td>
        `current`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated current-condition variables.
      </td>
    </tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        tz database name or auto; default GMT.
      </td>
    </tr>

    <tr>
      <td>
        `forecast_days`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0 to 8.
      </td>
    </tr>

    <tr>
      <td>
        `past_days`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        0 to 92, default 0.
      </td>
    </tr>

    <tr><td>`length_unit`</td><td>string</td><td>query</td><td>Default metric. One of `metric`, `imperial`</td></tr>
  </tbody>
</table>

[Vendor docs](https://open-meteo.com/en/docs/marine-weather-api) · Same job: [WeatherAPI.com](https://docs.webrouter.net/data-apis/weatherapi.md#weatherapi-marine)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.