# OpenWeather Forecast via gateway.apiosk.com

> OpenWeather Forecast via gateway.apiosk.com is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.115/call, status down (last checked 2026-09-15).

Returns a multi-period weather forecast (temperature, humidity, wind, clouds, visibility) for a given location using the OpenWeatherMap API.

## Facts

- Endpoint: GET https://gateway.apiosk.com/openweather/forecast
- Price: $0.115/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openweather-forecast-via-gateway-apiosk-com-93e35b9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zz9_AZwPlpEscGnrMg3-N

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-via-gateway-apiosk-com-93e35b9e
```

Example prompt: What's the weather forecast for London over the next couple of days — temperature, humidity, wind speed, and whether it'll be clear or cloudy?

## When to prefer this

Use this endpoint when you need structured multi-period weather forecast data (temperature, wind, clouds, precipitation) for a city or coordinates, and you are operating in an x402 micropayment-enabled environment. Prefer this over alternatives when you need OpenWeatherMap's specific forecast format with 3-hour interval data and detailed atmospheric metrics.

## Known failure modes

- Invalid or unrecognized location returns an error or empty forecast list
- Missing required query parameters returns a 400 bad request
- Payment not included or insufficient results in a 402 Payment Required response
- Upstream OpenWeatherMap API outage causes 5xx errors
- Rate limiting on the gateway may return 429 Too Many Requests

## How this service works

API call to openweather

## Output

Returns a JSON object with a list of forecast entries, each containing timestamp, temperature (actual, min, max, feels-like), humidity, pressure, wind speed and direction, cloud cover percentage, weather condition description, precipitation probability, and city metadata (name, coordinates, country, timezone, sunrise/sunset).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "cnt": 2,
 "cod": "200",
 "city": {
  "id": 2643743,
  "name": "London",
  "coord": {
   "lat": 51.5085,
   "lon": -0.1257
  },
  "sunset": 1782246103,
  "country": "GB",
  "sunrise": 1782186212,
  "timezone": 3600,
  "population": 1000000
 },
 "list": [
  {
   "dt": 1782248400,
   "pop": 0,
   "sys": {
    "pod": "n"
   },
   "main": {
    "temp": 28.89,
    "humidity": 56,
    "pressure": 1016,
    "temp_max": 28.89,
    "temp_min": 24.06,
    "sea_level": 1016,
    "feels_like": 30.28,
    "grnd_level": 1013
   },
   "wind": {
    "deg": 88,
    "gust": 5.14,
    "speed": 2.66
   },
   "clouds": {
    "all": 9
   },
   "dt_txt": "2026-06-23 21:00:00",
   "weather": [
    {
     "id": 800,
     "icon": "01n",
     "main": "Clear",
     "description": "clear sky"
    }
   ],
   "visibility": 10000
  },
  {
   "dt": 1782259200,
   "pop": 0,
   "sys": {
    "pod": "n"
   },
   "main": {
    "temp": 26.35,
    "humidity": 61,
    "pressure": 1017,
    "temp_max": 26.35,
    "temp_min": 23.87,
    "sea_level": 1017,
    "feels_like": 26.35,
    "grnd_level": 1012
   },
   "wind": {
    "deg": 77,
    "gust": 2.1,
    "speed": 1.57
   },
   "clouds": {
    "all": 6
   },
   "dt_txt": "2026-06-24 00:00:00",
   "weather": [
    {
     "id": 800,
     "icon": "01n",
     "main": "Clear",
     "description": "clear sky"
    }
   ],
   "visibility": 10000
  }
 ],
 "message": 0
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweather-forecast-via-gateway-apiosk-com-93e35b9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
