# keyronne.com Weather Forecast API

> keyronne.com Weather Forecast API is a paid API for AI agents from keyronne.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-09).

Returns current conditions plus hourly and daily forecasts for any location on Earth, given a city name or lat/lon coordinates, using MET Norway data.

## Facts

- Endpoint: POST https://keyronne.com/api/weather?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/keyronne-com-weather-forecast-api-0370eddc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KYzUjUR7T3btD1QWnh4Dk

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 keyronne-com-weather-forecast-api-0370eddc -d '<json body>'
```

Example prompt: What's the weather forecast for Berlin? Give me the current conditions, the next 12 hours of hourly data, and 3 days of daily summaries.

## When to prefer this

Use this endpoint when you need weather data (current conditions or forecasts) for any global location without managing API keys. It is ideal for single-call, no-auth weather lookups with flexible location input (city name or coordinates), backed by MET Norway's open data. Prefer it over other weather APIs when you want no-key access and are working within the x402 micropayment ecosystem.

## Known failure modes

- Unknown city name returns an error or empty result
- Lat/lon out of valid range (-90 to 90, -180 to 180) causes validation failure
- Requesting more than 90 hourly or more than 10 daily entries is rejected
- Payment failure returns HTTP 402
- Missing both city and lat/lon causes a bad request error

## How this service works

Current conditions plus hourly and daily forecasts for anywhere on Earth. Pass a major city name or lat/lon coordinates; get temperature, wind, humidity, pressure, cloud cover, condition codes and precipitation, with up to 90 hourly and 10 daily entries. Data from MET Norway (CC BY 4.0). No API keys, one call. POST a JSON body like: {"city":"paris","hourly":12,"days":3}

## Output

A JSON object containing current weather conditions (temperature, wind, humidity, pressure, cloud cover, condition codes, precipitation) plus up to 90 hourly forecast entries and up to 10 daily forecast summaries, sourced from MET Norway.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number",
   "maximum": 90,
   "minimum": -90
  },
  "lon": {
   "type": "number",
   "maximum": 180,
   "minimum": -180
  },
  "city": {
   "type": "string",
   "description": "Major city name (e.g. \"tokyo\", \"new york\"). Or use lat/lon."
  },
  "days": {
   "type": "integer",
   "default": 5,
   "maximum": 10,
   "minimum": 1,
   "description": "Daily summaries to return."
  },
  "hourly": {
   "type": "integer",
   "default": 24,
   "maximum": 90,
   "minimum": 0,
   "description": "Hourly entries to return."
  }
 }
}
```

## More

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