# Global Weather Rain Outlook

> Global Weather Rain Outlook is a paid API for AI agents from weather-global.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns a rain forecast for the next 6–48 hours at any lat/lon coordinates, including start time, total millimetres, peak hour, wet hours count, and intensity summary.

## Facts

- Endpoint: GET https://weather-global.x402tookit.com/rain-next-hours?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/global-weather-rain-outlook-85f45aa6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3vMncCQUxCNcqGNd_jrIM

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 global-weather-rain-outlook-85f45aa6
```

Example prompt: What's the rain outlook for the next 24 hours at latitude 51.51, longitude -0.13 — when does rain start, how many millimetres total, and which hour will be the heaviest?

## When to prefer this

Choose this endpoint when you need a focused, short-range precipitation forecast (6–48 hours) for any global coordinate pair, especially when you need structured hourly rain data, start time, total mm, and peak intensity rather than a general multi-day weather summary. Prefer this over the general forecast endpoint when rain specifics are the primary concern, and over the day-by-day forecast when sub-24-hour resolution and rain start timing matter.

## Known failure modes

- Missing lat or lon parameters returns a validation error
- Coordinates outside supported coverage area may return null or degraded data
- Hours value outside 6–48 range defaults to 24 or may return an error
- Payment failure (x402) results in a 402 response with no forecast data
- Upstream weather model unavailability may trigger degraded=true with partial results

## How this service works

Rain outlook for the next 6 to 48 hours at any coordinates: when it starts, total millimetres, peak hour and intensity.

## Output

Returns a JSON object with: total expected rainfall in mm, time the first rain begins, the peak rain hour, number of wet hours, an hourly array of mm-per-hour values with timestamps, a plain-language verdict and summary, the data source and model update time, and optional degraded/disclaimer flags if forecast confidence is reduced.

## 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",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude"
      },
      "lon": {
       "type": "number",
       "description": "Longitude"
      },
      "hours": {
       "type": "integer",
       "description": "Window 6 to 48 hours (default 24)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "lat": {
       "type": [
        "null",
        "number"
       ]
      },
      "lon": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "hourly": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "mm": {
          "type": [
           "null",
           "number"
          ]
         },
         "time": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "totalMm": {
       "type": [
        "null",
        "number"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "peakHour": {},
      "wetHours": {
       "type": [
        "null",
        "number"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/global-weather-rain-outlook-85f45aa6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weather-global.x402tookit.com](https://www.zero.xyz/host/weather-global.x402tookit.com/llms.txt)
