# OpenWeather 5-Day Forecast (3-Hour Intervals)

> OpenWeather 5-Day Forecast (3-Hour Intervals) is a paid API for AI agents from openweather-coral.vercel.app, paid per call via x402, $0.003/call, status down (last checked 2026-09-15, last successful call 2026-05-04).

Returns a 5-day weather forecast with 3-hour interval data points including precipitation probability for a given city or coordinates

## Facts

- Endpoint: GET https://openweather-coral.vercel.app/weather/forecast
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Last successful call: 2026-05-04
- Success rate: 50% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openweather-coral-vercel-app-e11aadc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3asoYCctah6s0U6OEscrQ

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-coral-vercel-app-e11aadc2
```

Example prompt: What's the 5-day weather forecast for London, including rain chances every 3 hours?

## When to prefer this

Choose this endpoint when you need multi-day weather planning data with fine-grained 3-hour intervals and precipitation probability, rather than just current conditions. Prefer it over the current-weather sibling endpoint when the user's intent involves future forecasting, planning for upcoming days, or assessing rain likelihood over a period.

## Known failure modes

- City name not found — returns error if city is misspelled or unrecognized
- Missing required query parameter — neither city nor lat/lon provided returns a bad request error
- Payment failure — 402 response if x402 payment is not completed
- Rate limit or server error — 5xx response if upstream OpenWeatherMap API is unavailable
- Ambiguous city name — may return forecast for wrong city if name is shared across regions

## How this service works

5-day weather forecast with 3-hour intervals including precipitation probability

## Output

A structured 5-day forecast broken into 3-hour intervals, including precipitation probability, temperature, and weather condition data for the requested city or coordinates.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "city": "London"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude"
      },
      "lon": {
       "type": "string",
       "description": "Longitude"
      },
      "city": {
       "type": "string",
       "description": "City name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "city": {
       "type": "string"
      },
      "forecast": {
       "type": "array",
       "items": {
        "type": "object"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweather-coral-vercel-app-e11aadc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openweather-coral.vercel.app](https://www.zero.xyz/host/openweather-coral.vercel.app/llms.txt)
