> ## 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.

# OpenWeather One Call

> OpenWeather One Call API 3.0 — comprehensive weather data in a single request: current conditions, minute-level precipitation (1h), hourly forecast (48h), daily forecast (8 days), and national weather alerts.

OpenWeather One Call API 3.0 — comprehensive weather data in a single request: current conditions, minute-level precipitation (1h), hourly forecast (48h), daily forecast (8 days), and national weather alerts. Updated every 10 minutes. Higher resolution and richer data than the free openweather tier, at \$0.0015/call.

1 example endpoint available through Lava's AI Gateway. See the [OpenWeather One Call API docs](https://openweathermap.org/api/one-call-3) for full documentation.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.openweathermap.org/data/3.0` is supported. GET any path under [https://api.openweathermap.org/data/3.0/](https://api.openweathermap.org/data/3.0/) (e.g., /onecall). The endpoints below are curated examples.</Info>

## Endpoints

### One Call API — current, minutely, hourly, daily forecasts

**GET** `https://api.openweathermap.org/data/3.0/onecall?lat=51.5&lon=-0.12&units=metric` — \$0.0015 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.openweathermap.org/data/3.0/onecall?lat=51.5&lon=-0.12&units=metric', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.openweathermap.org%2Fdata%2F3.0%2Fonecall%3Flat%3D51.5%26lon%3D-0.12%26units%3Dmetric" \
      -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>
