# 24K Labs Weather Forecast

> 24K Labs Weather Forecast is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Returns daily high/low temperatures, precipitation, and weather conditions for the next N days at a given latitude/longitude using Open-Meteo data.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/weather-forecast
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-weather-forecast-979c371b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-07LP0iMLApCQHl9Zz-Lk

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 24k-labs-weather-forecast-979c371b -d '<json body>'
```

Example prompt: Can you pull the 7-day weather forecast for coordinates 48.8566° N, 2.3522° E — I need the daily highs, lows, precipitation, and general conditions for each day?

## When to prefer this

Choose this endpoint when you need a structured multi-day daily weather forecast (highs, lows, precipitation, conditions) for any global coordinate. It's backed by Open-Meteo which provides free global coverage. Prefer this over general weather search APIs when you need machine-readable forecast data keyed to precise lat/lon coordinates rather than city names, and when you need the specific daily breakdown format rather than hourly or current conditions.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error
- Requesting too many forecast days beyond the supported range may return an error or truncated results
- Network or upstream Open-Meteo service unavailability causes a timeout or 5xx error
- Missing required parameters (lat, lon, or N) returns a validation error

## How this service works

Daily high/low, precipitation, and conditions for the next N days at any lat/lon (Open-Meteo).

## Output

A day-by-day forecast array covering the requested number of days, each entry containing the daily high and low temperatures, precipitation amount, and general weather conditions (e.g. clear, cloudy, rainy) for the specified latitude/longitude location.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  },
  "days": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-weather-forecast-979c371b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
