# x402-factory San Francisco Window Weather Forecast

> x402-factory San Francisco Window Weather Forecast is a paid API for AI agents from x402-factory.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns rain probability and expected weather conditions for a user-specified time window in San Francisco, defaulting to the next six hours.

## Facts

- Endpoint: GET https://x402-factory.com/v1/forecast/san-francisco/window
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-factory-san-francisco-window-weather-forecast-f9059912
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i2czDbfHUTBm_4ixL8b2k

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 x402-factory-san-francisco-window-weather-forecast-f9059912
```

Example prompt: What's the chance of rain in San Francisco this Saturday from 10am to 4pm, and what conditions should I expect overall?

## When to prefer this

Choose this endpoint when you need weather intelligence specifically for San Francisco and want to assess conditions across a defined time window rather than a single point in time. It is purpose-built for scheduling and event decisions, returning aggregated metrics like rain probability and comfort index rather than raw hourly data. Prefer it over generic forecast endpoints when the question is 'will weather be acceptable during this event window in SF?' and you need a fast, pre-scoped answer without specifying coordinates.

## Known failure modes

- Invalid ISO-8601 datetime format for start or end returns a validation error
- Window duration exceeds 12 hours returns a constraint error
- End time before start time returns a bad request error
- Missing payment (x402) results in a 402 Payment Required response
- Future window beyond forecast model horizon may return reduced confidence or unavailable data

## How this service works

Will it rain in San Francisco during your event window — Event-window weather odds for San Francisco: pass a start and end time (or omit them for the next six hours) and get rain probability and expected conditions across the window — built for scheduling decisions. Same shape as /v1/forecast/window with the San Francisco coordinates built in.

## Output

A structured JSON object containing rain probability (0–1), expected precipitation in mm, temperature range (low/high in °C), maximum wind speed, a comfort index (0–1), an array of severity flags for notable conditions, and a plain-English verdict summarizing the window's overall weather outlook.

## 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": [],
     "properties": {
      "end": {
       "type": "string",
       "format": "date-time",
       "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
       "description": "Window end (ISO-8601), ≤12h after start. Default: start + 6h."
      },
      "start": {
       "type": "string",
       "format": "date-time",
       "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
       "description": "Window start (ISO-8601). Default: the top of the next hour."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "rain_probability",
        "expected_precip_mm",
        "temp_range",
        "wind_max",
        "comfort_index",
        "severity_flags",
        "verdict"
       ],
       "properties": {
        "verdict": {
         "type": "string"
        },
        "wind_max": {
         "type": "number"
        },
        "temp_range": {
         "type": "object",
         "required": [
          "low",
          "high"
         ],
         "properties": {
          "low": {
           "type": "number"
          },
          "high": {
           "type": "number"
          }
         },
         "additionalProperties": false
        },
        "comfort_index": {
         "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-factory-san-francisco-window-weather-forecast-f9059912/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-factory.com](https://www.zero.xyz/host/x402-factory.com/llms.txt)
