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

# Open-Meteo

> Free weather API providing forecasts, historical weather data, and climate information for any location.

Free weather API providing forecasts, historical weather data, and climate information for any location. No API key required for basic usage. Best for adding weather context to workflows — current conditions, multi-day forecasts, or historical comparisons. Unlike OpenWeather, Open-Meteo is fully free with no rate limits on reasonable usage.

1 example endpoint available through Lava's AI Gateway. See the [Open-Meteo API docs](https://open-meteo.com/en/docs) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.open-meteo.com/v1` is supported. Weather API. Construct URL as [https://api.open-meteo.com/v1/\&#123;endpoint\&#125;?latitude=\&#123;lat\&#125;\&longitude=\&#123;lon\&#125](https://api.open-meteo.com/v1/\&#123;endpoint\&#125;?latitude=\&#123;lat\&#125;\&longitude=\&#123;lon\&#125);. Common endpoints: /forecast, /air-quality, /marine. The endpoints below are curated examples.</Info>

## Endpoints

### Get weather forecast for a location

**GET** `https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current_weather=true` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current_weather=true', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.open-meteo.com%2Fv1%2Fforecast%3Flatitude%3D52.52%26longitude%3D13.41%26current_weather%3Dtrue" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
