# SiteCheck Weather Forecast

> SiteCheck Weather Forecast is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Returns current conditions plus hourly and daily weather forecasts for a location specified by coordinates or place name, sourced from MET Norway.

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/weather?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-weather-forecast-40bcdafa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3QDsWFSftzT3QI2a_pg-L

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 sitecheck-weather-forecast-40bcdafa
```

Example prompt: What's the current weather and hourly forecast for Berlin, Germany — give me temperature, wind speed, and whether it's going to rain today?

## When to prefer this

Choose this endpoint when you need structured current-conditions plus hourly and daily forecast data for any global location, especially when you want MET Norway's high-quality European meteorological data. Ideal for lightweight, pay-per-call weather lookups without a subscription. Supports both coordinate-based and place-name-based queries with automatic geocoding.

## Known failure modes

- Invalid or out-of-range latitude/longitude values return an error
- Unrecognizable place name fails geocoding and returns an error
- MET Norway upstream API unavailable causes a service error
- Missing required input parameters (neither lat/lon nor place) returns a validation error

## How this service works

Weather for a place or a coordinate: current conditions, the next 48 hours and 7 days (temperature, precipitation, wind, symbol). Forecast from MET Norway, cached until its own expiry time. Attribution: Data from MET Norway (CC BY 4.0).

## Output

Returns a JSON object with: current conditions (temperature in °C, humidity %, wind speed m/s, wind direction degrees, cloud cover %, weather symbol, timestamp); an hourly array with temp, wind speed, precipitation mm, and weather symbol per hour; a daily array with max/min temps, precipitation mm, and weather symbol per day; location echo (lat, lon, resolved place name); data source attribution to MET Norway (CC BY 4.0); and forecast metadata timestamps.

## 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": {
      "lat": {
       "type": "string",
       "description": "Latitude, -90 to 90"
      },
      "lon": {
       "type": "string",
       "description": "Longitude, -180 to 180"
      },
      "place": {
       "type": "string",
       "description": "Or a place name, geocoded first"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "daily": [
   {
    "date": "2026-10-14",
    "maxC": 15.4,
    "minC": 8.5,
    "symbol": "cloudy",
    "precipitationMm": 0.1
   },
   {
    "date": "2026-10-15",
    "maxC": 15.7,
    "minC": 6.1,
    "symbol": "partlycloudy_day",
    "precipitationMm": 0
   }
  ],
  "units": {
   "wind": "m/s",
   "temperature": "C",
   "precipitation": "mm"
  },
  "hourly": [
   {
    "time": "2026-10-14T04:00:00Z",
    "tempC": 11.3,
    "symbol": "fair_night",
    "windSpeedMs": 4.6,
    "precipitationMm": 0
   },
   {
    "time": "2026-10-14T05:00:00Z",
    "tempC": 10.8,
    "symbol": "partlycloudy_day",
    "windSpeedMs": 4.7,
    "precipitationMm": 0
   }
  ],
  "source": "https://api.met.no/weatherapi/locationforecast/2.0/compact (coordinates rounded to 4 decimals)",
  "current": {
   "time": "2026-10-14T04:00:00Z",
   "tempC": 11.3,
   "symbol": "fair_night",
   "humidityPct": 96,
   "windFromDeg": 271,
   "windSpeedMs": 4.6,
   "cloudAreaPct": 18
  },
  "location": {
   "lat": 52.52,
   "lon": 13.405,
   "place": null
  },
  "checkedAt": "2026-10-14T04:49:23.520Z",
  "attribution": "Data from MET Norway (CC BY 4.0)",
  "forecastUpdatedAt": "2026-10-14T01:17:17Z"
 }
}
```

## More

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