---
title: "Weather API"
---

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

# Weather API

Forecasts and severe-weather alerts for anywhere on Earth.

Version: 1.0.0

## Servers

- `https://api.weather.example/v1`

## Weather

### [Locations](https://docs.npibase.com/api/tags/locations/)

Find places by name.

- [Search locations](https://docs.npibase.com/api/locations/list/) — `GET /locations`
- [Retrieve a location](https://docs.npibase.com/api/locations/retrieve/) — `GET /locations/{location_id}`

### [Forecasts](https://docs.npibase.com/api/tags/forecasts/)

Daily forecasts for any place.

- [Daily forecast](https://docs.npibase.com/api/forecasts/list/) — `GET /forecasts`

### [Alerts](https://docs.npibase.com/api/tags/alerts/)

Official warnings for severe weather.

- [List alerts](https://docs.npibase.com/api/alerts/list/) — `GET /alerts`
- [Retrieve an alert](https://docs.npibase.com/api/alerts/retrieve/) — `GET /alerts/{alert_id}`


Source: https://docs.npibase.com/api/index.md
