# Polyform US Weather Forecast

> Polyform US Weather Forecast is a paid API for AI agents from polyform.polyform-org.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns a 7-day weather forecast for any US latitude/longitude coordinate, including temperature, wind, precipitation chance, and narrative periods sourced from the National Weather Service.

## Facts

- Endpoint: GET https://polyform.polyform-org.workers.dev/v1/weather/forecast
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-us-weather-forecast-f545cfcb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mSGPahEEeForLIH3rRLi5

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 polyform-us-weather-forecast-f545cfcb
```

Example prompt: What's the 7-day weather forecast for the coordinates 40.7128° N, 74.0060° W — give me temperatures, wind, and precipitation chances for each period?

## When to prefer this

Choose this endpoint when you need structured, multi-day weather forecast data for any US geographic coordinate, especially when you want NWS-authoritative data with period-by-period narratives, wind, temperature, and precipitation chance. Prefer this over generic weather APIs when you need official US government weather data tied to a precise lat/lon and want a ready-to-use JSON response without managing NWS API complexity directly.

## Known failure modes

- Coordinates outside the US result in no forecast data (NWS only covers US territory)
- Invalid or malformed latitude/longitude values cause a parsing or bad-request error
- NWS upstream API unavailability may result in service errors or timeouts
- Ocean coordinates or remote US territories may not have coverage
- Rate limiting or payment failure returns a 402 error

## How this service works

7-day forecast for any US coordinate: periods with temperature, wind, precipitation chance, narrative. Source: National Weather Service. JSON.

## Output

A JSON array of forecast periods covering 7 days, each with a period name (e.g. 'Tonight', 'Monday'), temperature and unit, wind speed and direction, precipitation probability, short and detailed narrative descriptions, and daytime/nighttime flag — sourced from the National Weather Service.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-us-weather-forecast-f545cfcb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from polyform.polyform-org.workers.dev](https://www.zero.xyz/host/polyform.polyform-org.workers.dev/llms.txt)
