# Agent Hub Weather Forecast

> Agent Hub Weather Forecast is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns current weather conditions and up to 14-day forecasts for any location by place name or coordinates, with temperature, humidity, rain chance, wind, and sunrise/sunset data.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/weather?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-weather-forecast-b7f1f38f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aMwxqdvov4R6e0_cUp_Ey

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 agent-hub-weather-forecast-b7f1f38f
```

Example prompt: What's the current weather and 7-day forecast for Toronto in metric units — temperature, feels-like, humidity, rain chance, wind, and sunrise/sunset times?

## When to prefer this

Choose this endpoint when you need current weather or multi-day forecasts (up to 14 days) for any global location by place name or coordinates, with flexible metric/imperial unit selection. It is a simple, pay-per-call REST endpoint well-suited for agents needing on-demand weather data without a subscription or API key setup.

## Known failure modes

- Unrecognizable place name returns an error or empty result
- Missing both place and lat/lon parameters causes a validation error
- days parameter out of 1–14 range may return an error or be clamped
- Invalid units value may return an error or default to metric
- Network timeout if the upstream weather provider is slow

## How this service works

Current weather and up to 14-day forecast for any place name or lat/lon: temperature, feels-like, humidity, rain chance, wind, sunrise and sunset. Metric or imperial.

## Output

Returns current weather conditions (temperature, feels-like, humidity, rain chance, wind speed/direction, sunrise, sunset) plus a day-by-day forecast for up to 14 days, in either metric or imperial units, for the requested place name or lat/lon coordinates.

## 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"
      },
      "lon": {
       "type": "number"
      },
      "days": {
       "type": "integer",
       "description": "1 to 14, default 3"
      },
      "place": {
       "type": "string",
       "description": "Place name, e.g. Toronto"
      },
      "units": {
       "type": "string",
       "description": "metric | imperial"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-hub-weather-forecast-b7f1f38f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
