# Weather & Climate Forecast API

> Weather & Climate Forecast API is a paid API for AI agents from weather-climate-api.johntaylor1online.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11).

Returns weather forecasts and climate data for a given location via a paid POST endpoint

## Facts

- Endpoint: POST https://weather-climate-api.johntaylor1online.workers.dev/forecast?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-climate-forecast-api-f0d63d50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JH1sensDTLxBR4dtrfHGT

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 weather-climate-forecast-api-f0d63d50 -d '<json body>'
```

Example prompt: Can you pull the weather forecast for Chicago this week — I need temperature highs and lows, chance of rain, and wind speed for each day?

## When to prefer this

Use this endpoint when you need programmatic access to weather forecasts or climate data and are operating in an x402 micropayment-enabled agent context. At $0.03 per call it suits lightweight, on-demand lookups rather than bulk historical data pulls.

## Known failure modes

- Invalid or unrecognized location input returns an error
- Missing required body parameters cause a 400 Bad Request
- Payment not processed correctly results in 402 Payment Required
- Downstream weather data provider unavailable returns a 503 or timeout
- Unsupported date range or too-far-future forecast returns empty or error response

## How this service works

Weather & Climate Data

## Output

Returns structured weather and climate forecast data including temperature, precipitation probability, wind speed, humidity, and other meteorological variables for the requested location and time range.

## More

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