# 3HZ Global Weather Forecast

> 3HZ Global Weather Forecast is a paid API for AI agents from wallet-services-poc-clean-mainnet.3hz-services.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Returns current, hourly, and 6-hour-period weather forecasts for any latitude/longitude coordinate using MET Norway Locationforecast 2.0 data.

## Facts

- Endpoint: GET https://wallet-services-poc-clean-mainnet.3hz-services.workers.dev/weather
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/3hz-global-weather-forecast-05ad2735
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iomWEVuNXfq3VE1MSRgey

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 3hz-global-weather-forecast-05ad2735
```

Example prompt: What's the weather forecast right now and over the next several hours at latitude 48.8566, longitude 2.3522 — give me the current conditions, hourly breakdown, and the extended 6-hour periods?

## When to prefer this

Choose this endpoint when you need structured, multi-resolution weather forecast data (current + hourly + 6-hour periods) for any global coordinate, especially when you want honest extended forecast without fabricated hourly precision. Backed by MET Norway's Locationforecast 2.0, it is well-suited for outdoor planning, logistics, field operations, and travel contexts. Prefer it over general weather APIs when you need both short-term hourly granularity and native 6-hour extended periods in a single call for any global lat/lon point.

## Known failure modes

- Missing or out-of-range lat/lon parameters returns a 400-level error
- Coordinates over water or in remote areas may have sparse data
- MET Norway upstream outage causes fetch failure or stale data
- Payment of $0.001 USDC not included leads to 402 Payment Required response
- Invalid numeric format for lat/lon (e.g. string instead of number) causes schema validation error

## How this service works

Global weather forecast for latitude and longitude. Returns the forecast valid now, all available hourly forecast points, and the extended forecast in native 6-hour periods without inventing hourly precision. Data source: MET Norway Locationforecast 2.0.

## Output

A JSON object containing: the queried location coordinates, the current forecast (conditions valid now), an array of all available hourly forecast data points, an array of native 6-hour forecast periods (no synthetic hourly interpolation), the forecast horizon (start/end times), source metadata (MET Norway), the source's last-updated timestamp, and the time the data was fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90,
       "description": "Latitude in decimal degrees"
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180,
       "description": "Longitude in decimal degrees"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "location",
      "current_forecast",
      "hourly_forecast",
      "six_hour_periods",
      "forecast_horizon",
      "source",
      "source_updated_at",
      "fetched_at"
     ],
     "properties": {
      "source": {
       "type": "object"
      },
      "location": {
       "type": "object"
      },
      "fetched_at": {
       "type": "string"
      },
      "hourly_forecast": {
       "type": "array"
      },
      "current_forecast": {
       "type": "object"
      },
      "forecast_horizon": {
       "type": "object"
      },
      "six_hour_periods": {
       "type": "array"
      },
      "source_updated_at": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/3hz-global-weather-forecast-05ad2735/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wallet-services-poc-clean-mainnet.3hz-services.workers.dev](https://www.zero.xyz/host/wallet-services-poc-clean-mainnet.3hz-services.workers.dev/llms.txt)
