# NetIntel Weather Forecast

> NetIntel Weather Forecast is a paid API for AI agents from netintel.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns a multi-day weather forecast (up to 16 days) for any city or coordinates, including daily highs/lows, precipitation, UV index, wind, sunrise/sunset, and optional 24-hour hourly breakdown.

## Facts

- Endpoint: GET https://netintel.dev/weather/forecast
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-weather-forecast-c0e289d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TaX0k3u9MAdHZtdKTSjpe

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 netintel-weather-forecast-c0e289d8
```

Example prompt: What's the 10-day weather forecast for Barcelona, Spain in metric units — include daily highs, lows, precipitation chance, and UV index?

## When to prefer this

Choose this endpoint when you need structured multi-day weather data (up to 16 days) for any location worldwide without managing your own API keys or weather provider accounts. It is particularly useful when you need a single pay-per-call model (USDC via x402), want both city-name geocoding and coordinate-based lookup in one call, or need optional hourly data bundled alongside the daily forecast in one response. Prefer it over raw open-meteo direct calls when your agent stack already handles x402 micropayments.

## Known failure modes

- Unresolvable city name returns a geocoding error with no forecast data
- Days parameter outside 1-16 is clamped and noted in the 'findings' field rather than erroring
- Missing both city and coordinates returns a validation error
- Coordinates out of range (-90..90 lat, -180..180 lon) return an error
- Network or upstream open-meteo outage may result in a 502 or timeout
- x402 payment failure returns 402 before any forecast data is served

## How this service works

Multi-day weather forecast for any city or lat/lon worldwide — up to 16 days of daily highs/lows, precipitation & probability, UV, sunrise/sunset, wind, and plain-language conditions, plus optional next-24h hourly. Give a city name (geocoded) or coordinates. No API key, metric or imperial. Pass params as query (GET) or a JSON body (POST).

## Output

A JSON object containing: resolved location details (name, region, country, lat/lon, timezone), the number of forecast days used, unit labels, a 'daily' array with one object per day (date, temp_max, temp_min, feels_like_max, feels_like_min, precipitation, precip_probability_pct, uv_index_max, sunrise, sunset, wind_speed_max, wind_gusts_max, wind_direction_deg, weather_code, condition string), an optional 'hourly' array for the next 24 hours, data source attribution, cache age, and a 'findings' array for any clamping or parameter notices.

## 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": {
      "city": {
       "type": "string",
       "description": "City or place name to geocode, e.g. \"London\" or \"Austin, TX\". Aliases: location, q, place, name. Ignored when coordinates are given"
      },
      "days": {
       "type": "number",
       "description": "Daily forecast length 1-16 (default 7; out-of-range values are clamped with a finding). Alias: forecast_days"
      },
      "units": {
       "type": "string",
       "description": "metric (default: °C, km/h, mm) or imperial (°F, mph, inch). Alias: unit"
      },
      "hourly": {
       "type": "boolean",
       "description": "true to include the next 24 hours hour-by-hour (temperature, precipitation + probability, wind, condition). Default false. Alias: include_hourly; 1/true accepted"
      },
      "latitude": {
       "type": "number",
       "description": "Latitude -90..90 — must be paired with longitude; coordinates skip geocoding and win over city. Alias: lat"
      },
      "longitude": {
       "type": "number",
       "description": "Longitude -180..180 — must be paired with latitude. Aliases: lon, lng"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "days": {
       "type": "number",
       "description": "daily forecast length actually used (after clamping to 1-16)"
      },
      "daily": {
       "type": "array",
       "description": "one object per day: date, temp_max, temp_min, feels_like_max, feels_like_min, precipitation, precip_probability_pct (nullable far out), uv_index_max, sunrise, sunset, wind_speed_max, wind_gusts_max, wind_direction_deg, weather_code, condition"
      },
      "units": {
       "type": "object",
       "properties": {
        "wind_speed": {
         "type": "string"
        },
        "temperature": {
         "type": "string"
        },
        "precipitation": {
         "type": "string"
        
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 7,
  "daily": [
   {
    "date": "2026-08-31",
    "sunset": "2026-08-31T19:44",
    "sunrise": "2026-08-31T06:12",
    "temp_max": 18.4,
    "temp_min": 11.2,
    "condition": "Rain",
    "uv_index_max": 4.1,
    "weather_code": 61,
    "precipitation": 1.3,
    "feels_like_max": 17.9,
    "feels_like_min": 10.4,
    "wind_gusts_max": 38.5,
    "wind_speed_max": 21,
    "wind_direction_deg": 230,
    "precip_probability_pct": 60
   },
   {
    "date": "2026-09-01",
    "sunset": "2026-09-01T19:42",
    "sunrise": "2026-09-01T06:14",
    "temp_max": 19.1,
    "temp_min": 12,
    "condition": "Partly cloudy",
    "uv_index_max": 5.2,
    "weather_code": 2,
    "precipitation": 0,
    "feels_like_max": 18.6,
    "feels_like_min": 11.3,
    "wind_gusts_max": 29.2,
    "wind_speed_max": 15.8,
    "wind_direction_deg": 245,
    "precip_probability_pct": 10
   }
  ],
  "units": {
   "wind_speed": "km/h",
   "temperature": "°C",
   "precipitation": "mm"
  },
  "source": "open-meteo",
  "findings": [],
  "location": {
   "name": "London",
   "region": "England",
   "country": "United Kingdom",
   "latitude": 51.51,
   "timezone": "Europe/London",
   "longitude": -0.13
  },
  "cache_age_seconds": 0
 }
}
```

## More

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