# klymax402 Weather API

> klymax402 Weather API is a paid API for AI agents from weather-api.api.klymax402.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns current weather conditions and forecast for a location specified by city name or geographic coordinates

## Facts

- Endpoint: GET https://weather-api.api.klymax402.com/api/weather
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klymax402-weather-api-ae29ad73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jYoIE7vXKXpFJAPKSMsty

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 klymax402-weather-api-ae29ad73
```

Example prompt: What's the current weather and forecast for Tokyo? Use the city name to look it up.

## When to prefer this

Use this endpoint when you need quick weather lookups by city name or coordinates and are comfortable with micropayment-per-call pricing via x402. Suitable for agents that need real-time or forecast weather data without managing API keys, relying instead on USDC micropayments.

## Known failure modes

- Invalid or unrecognized city name returns an error or empty result
- Latitude/longitude out of valid range (-90 to 90 / -180 to 180) causes a validation error
- Missing both city and coordinates may result in a bad request error
- Payment of 0.001 USDC required per call; unpaid requests are rejected with 402
- Network timeout or upstream weather provider outage returns a 5xx error

## How this service works

Get current weather and forecast for a location

## Output

Returns current weather data and forecast for the requested location, including temperature, conditions, and other meteorological details, based on either a city name (geocoded) or explicit latitude/longitude coordinates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "city": {
   "type": "string",
   "description": "City name (alternative to lat/lon, uses geocoding)"
  },
  "latitude": {
   "type": "number",
   "description": "Latitude (-90 to 90)"
  },
  "longitude": {
   "type": "number",
   "description": "Longitude (-180 to 180)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/klymax402-weather-api-ae29ad73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weather-api.api.klymax402.com](https://www.zero.xyz/host/weather-api.api.klymax402.com/llms.txt)
