# OpenWeather 5-Day Forecast

> OpenWeather 5-Day Forecast is a paid API for AI agents from OpenWeather at openweather.mpp.paywithlocus.com, paid per call via MPP, $0.008/call, not verified (last probed 2026-10-10); live alternatives: NWS Multi-Period Weather Forecast ($0.001) and Weather Forecast ($0.001).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [NWS Multi-Period Weather Forecast](https://www.zero.xyz/c/nws-multi-period-weather-forecast-us-8ecf4277) ($0.001)
- [Weather Forecast](https://www.zero.xyz/c/zeroclick-x402-service-registry-weather-0cd7c167) ($0.001)

Returns a 5-day weather forecast in 3-hour intervals (up to 40 timestamps) for a given latitude/longitude coordinate

## Facts

- Endpoint: POST https://openweather.mpp.paywithlocus.com/openweather/forecast-5day?utm_source=zero.xyz
- Price: $0.008/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-04-29
- Success rate: 67% of calls made through Zero
- Rating: 3.0 / 5 from 2 reviews
- Activations on Zero: 3
- Provider: OpenWeather
- Docs: https://openweathermap.org/api
- Website: https://openweathermap.org
- Tags: weather, forecast, conditions, temperature, data
- Canonical page: https://www.zero.xyz/c/openweather-forecast-5day-9c8e2ba3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tV4ATEkQfZ4VvFWncmC_x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openweather-forecast-5day-9c8e2ba3 -d '<json body>'
```

Example prompt: What's the 5-day weather forecast for coordinates 40.7128, -74.0060 in metric units, giving me the next 10 time slots?

## When to prefer this

Use this endpoint when you need multi-day planning data with 3-hour granularity, as opposed to current conditions (use Current Weather) or a single comprehensive snapshot (use One Call). Ideal when you need up to 5 days of forecast timestamps for route planning, event scheduling, or week-ahead weather awareness at a precise coordinate.

## Known failure modes

- Invalid latitude (outside -90 to 90) or longitude (outside -180 to 180) returns an error
- cnt value outside 1–40 range may return unexpected results
- Invalid units value falls back to standard (Kelvin)
- Unsupported language code may fall back to English descriptions
- Network or upstream OpenWeatherMap API unavailability returns 5xx error

## How this service works

Get 5-day weather forecast with 3-hour step — up to 40 timestamps with temperature, precipitation probability, wind, clouds, and weather conditions.

## Output

Returns a structured JSON object with up to 40 forecast entries spaced 3 hours apart, each containing temperature (current, min, max, feels-like), humidity, pressure, wind speed and direction, cloud coverage, precipitation probability, visibility, and a weather condition description. Also includes city metadata such as name, country, timezone, sunrise/sunset times, and population.

## Example request

```json
{
 "cnt": 10,
 "lat": 40.7128,
 "lon": -74.006,
 "units": "metric"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lat",
  "lon"
 ],
 "properties": {
  "cnt": {
   "type": "number",
   "description": "Number of timestamps to return (1–40). Default: all 40"
  },
  "lat": {
   "type": "number",
   "description": "Latitude (-90 to 90)"
  },
  "lon": {
   "type": "number",
   "description": "Longitude (-180 to 180)"
  },
  "lang": {
   "type": "string",
   "description": "Language code for descriptions"
  },
  "units": {
   "type": "string",
   "description": "Units: standard, metric, imperial. Default: standard"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweather-forecast-5day-9c8e2ba3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openweather.mpp.paywithlocus.com](https://www.zero.xyz/host/openweather.mpp.paywithlocus.com/llms.txt)
