# Daily Weather Forecast (Up to 16 Days) – UnyKorn

> Daily Weather Forecast (Up to 16 Days) – UnyKorn is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Returns a daily weather forecast for up to 16 days for a given location, including high/low temperatures, precipitation chance, wind, UV index, and sunrise/sunset times.

## Facts

- Endpoint: POST https://twin.unykorn.org/geo/weather-forecast?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/daily-weather-forecast-up-to-16-days-unykorn-58b0e7ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kq7o-XDenbTyQx3mgof-J

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 daily-weather-forecast-up-to-16-days-unykorn-58b0e7ca -d '<json body>'
```

Example prompt: What's the 10-day weather forecast for Denver, Colorado in imperial units — I need daily highs, lows, rain chance, wind, UV index, and sunrise/sunset times.

## When to prefer this

Choose this endpoint when you need a multi-day (up to 16 days) structured daily weather forecast with rich fields including UV index and sunrise/sunset times, and you want flexible input via either place name or lat/lon coordinates. Prefer this over single-day or hourly forecast endpoints when daily summaries are sufficient. At $0.002 USDC per call it is cost-effective for automated or agent-driven pipelines needing weather enrichment.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error
- Neither lat/lon nor a valid place name provided results in a bad request
- days parameter out of range (less than 1 or more than 16) triggers a validation error
- Unknown or ambiguous place name may fail to resolve to coordinates
- Payment failure (x402 protocol) prevents the response from being returned

## How this service works

Daily weather forecast up to 16 days: highs, lows, rain chance, wind, UV, sunrise/sunset — Genesis402 / UnyKorn Operator Network

## Output

Returns a structured daily forecast array for the requested location, covering up to 16 days. Each day includes maximum and minimum temperature, precipitation probability, wind speed and direction, UV index, and sunrise/sunset times. Units follow the requested system (metric or imperial, defaulting to metric).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "lat": {
     "type": "number",
     "maximum": 90,
     "minimum": -90,
     "description": "latitude"
    },
    "lon": {
     "type": "number",
     "maximum": 180,
     "minimum": -180,
     "description": "longitude"
    },
    "days": {
     "type": "integer",
     "maximum": 16,
     "minimum": 1,
     "description": "optional 1-16, default 7"
    },
    "place": {
     "type": "string",
     "description": "place name (or send lat+lon)"
    },
    "units": {
     "enum": [
      "metric",
      "imperial"
     ],
     "type": "string",
     "description": "optional: metric (default) | imperial"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "weather-forecast",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.002,
   "receipt_id": "g402-<16hex>"
  },
  "sources": [
   {
    "ok": true,
    "name": "<source>"
   }
  ],
  "limitations": "<text>",
  "generated_at": "<iso time>",
  "evidence_hash": "sha256:<64hex>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/daily-weather-forecast-up-to-16-days-unykorn-58b0e7ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
