# Global Weather Now and 7-Day Forecast (MET Norway)

> Global Weather Now and 7-Day Forecast (MET Norway) is a paid API for AI agents from met-weather-production.up.railway.app, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-22).

Returns current weather conditions plus a 24-hour hourly outlook and up to 9-day daily forecast for any city name or lat/lon coordinate, powered by the Norwegian Meteorological Institute's global model.

## Facts

- Endpoint: GET https://met-weather-production.up.railway.app/v1/weather/forecast?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/global-weather-now-and-7-day-forecast-met-norway-cba7d57c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ABFtcD50n8XJSCAIOVrUo

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 global-weather-now-and-7-day-forecast-met-norway-cba7d57c
```

Example prompt: What's the current temperature, wind, and humidity in Copenhagen right now, and can you give me the 7-day daily forecast with precipitation totals?

## When to prefer this

Choose this endpoint when you need both current conditions and a short-to-medium range forecast (up to 9 days) in a single call, backed by a reputable national meteorological institute (MET Norway). Prefer this over generic weather APIs when global coverage, hourly current conditions, and daily min/max with precipitation totals are all needed together. It supports both city-name lookup (via GeoNames) and precise lat/lon input, making it suitable for both human-facing travel queries and machine-driven logistics or field-work workflows.

## Known failure modes

- City name not found in GeoNames database (30k+ cities covered but very small towns may be missing)
- Ambiguous city name without country code returns wrong city (e.g. 'Springfield' without country)
- Latitude/longitude out of valid range (-90..90 / -180..180) causes validation error
- Days parameter outside 1-9 range rejected
- MET Norway upstream model temporarily unavailable causing 5xx error
- Payment not processed or insufficient USDC balance causes 402 rejection

## How this service works

Weather for any city name or lat/lon worldwide: current temperature, wind, humidity, pressure, cloud and precipitation, next-24h hourly outlook and 7-day daily min/max with precipitation totals and symbols, from the Norwegian Meteorological Institute's global model. City lookup via GeoNames (30k+ cities). Use when an agent needs current conditions and a short-range forecast for any city or coordinate worldwide (travel, logistics, events, field work).

## Output

A JSON object with: a `current` block (timestamp, temperature_c, wind_speed_ms, wind_from_deg, humidity_pct, pressure_hpa, cloud_pct, precipitation_next_1h_mm, symbol_next_1h), a `daily` array of up to 9 days (date, max_c, min_c, precipitation_mm, symbol), a `location` block (lat, lon, name, country, timezone), model_updated_at timestamp, and legal/terms links.

## 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": {
      "lat": {
       "type": "number",
       "description": "Latitude (-90..90) instead of city"
      },
      "lon": {
       "type": "number",
       "description": "Longitude (-180..180) instead of city"
      },
      "city": {
       "type": "string",
       "description": "City name, e.g. Paris"
      },
      "days": {
       "type": "integer",
       "description": "Daily forecast days 1-9 (default 7)"
      },
      "country": {
       "type": "string",
       "description": "Optional ISO2 country to disambiguate the city"
      }
     }
    }
   },
   "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-16",
    "max_c": 16.4,
    "min_c": 12.1,
    "symbol": "rain",
    "precipitation_mm": 3.2
   }
  ],
  "legal": {
   "terms": "https://met-weather-production.up.railway.app/terms",
   "privacy": "https://met-weather-production.up.railway.app/privacy"
  },
  "status": "ok",
  "current": {
   "time": "2026-10-16T15:00:00Z",
   "cloud_pct": 95.6,
   "humidity_pct": 82,
   "pressure_hpa": 1016.2,
   "temperature_c": 16.4,
   "wind_from_deg": 193,
   "wind_speed_ms": 4.6,
   "symbol_next_1h": "cloudy",
   "precipitation_next_1h_mm": 0
  },
  "location": {
   "lat": 55.6759,
   "lon": 12.5655,
   "name": "Copenhagen",
   "country": "DK",
   "timezone": "Europe/Copenhagen"
  },
  "use_when": "Use when an agent needs current conditions and a short-range forecast for any city or coordinate worldwide (travel, logistics, events, field work).",
  "model_updated_at": "2026-10-16T14:30:08Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/global-weather-now-and-7-day-forecast-met-norway-cba7d57c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from met-weather-production.up.railway.app](https://www.zero.xyz/host/met-weather-production.up.railway.app/llms.txt)
