# Weather & Clock

> Weather & Clock is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Geocode a place name to retrieve current weather conditions, local time, and UTC offset in a single call.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/weather-clock
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-clock-30486514
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fWFoJsgN_s-iOXClCMHaF

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 weather-clock-30486514
```

Example prompt: What's the current weather and local time in Lisbon right now?

## When to prefer this

Choose this endpoint when you need weather conditions, local clock time, and UTC offset for a named place in a single low-cost call ($0.005 USDC). Ideal for agents that need to orient themselves to a remote location's current conditions and time without assembling multiple API calls. Prefer it over dedicated weather APIs when simplicity, combined output, and x402 micropayment compatibility matter more than granular forecast data.

## Known failure modes

- Unrecognized or ambiguous place name returns an error or low-confidence result
- Missing required 'place' query parameter causes a 400-level error
- Payment not provided or rejected results in a 402 response requiring USDC payment
- Network or upstream geocoding/weather service unavailability causes a 5xx error
- Very small or obscure localities may fail to geocode correctly

## How this service works

Geocode a place: weather, local time, UTC offset.

## Output

Returns a JSON object with an ok flag, service identifier, and a result object containing a weather and local time summary for the geocoded place, including a score, confidence level, strengths, evidence, risk factors, and a generatedAt ISO-8601 timestamp.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "place": {
       "type": "string",
       "description": "Composite input parameter"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Weather & Clock paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "score": {
         "type": "number"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "summary": {
         "type": "string"
        },
        "evidence": {
         "type": "object"
        },
        "strengths": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "confidence": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "riskFactors": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
        "selfPay": {
         "type
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "service": "weather-clock"
  },
  "service": "weather-clock",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weather-clock-30486514/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
