# Losbeto Weather API

> Losbeto Weather API is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns live current conditions plus 24-hour hourly and 7-day daily weather forecasts for any city or geographic coordinate, powered by Open-Meteo's fused national-model grid

## Facts

- Endpoint: GET https://api.losbeto.xyz/weather?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-weather-api-c81d2230
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YlJ_CqdVq1ajW2KVnpyPI

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 losbeto-weather-api-c81d2230
```

Example prompt: What's the weather like right now in Lisbon, and will it rain any time in the next 7 days? Give me the hourly breakdown for tomorrow too.

## When to prefer this

Choose this endpoint when you need no-API-key weather data fused from multiple authoritative national models (ECMWF, NOAA, DWD) covering current conditions and a full 7-day forecast with hourly granularity for the next 24 hours. It is ideal for agents that need reliable global coverage with precipitation probability, wind, and astronomical data in a single pay-per-call call at $0.01 USDC.

## Known failure modes

- Invalid or unrecognized city name returns an error or empty result
- Missing required location parameter (city or lat/lon) causes a 400-level error
- Open-Meteo upstream outage may result in stale or unavailable data
- Requests for extremely remote coordinates may return limited model coverage
- Payment failure via x402 protocol blocks the response

## How this service works

Live weather for any city or lat/lon on Earth: WMO-decoded current conditions, next 24h hourly and 7-day daily forecast with precipitation probability, sunrise/sunset and wind — from Open-Meteo's fused national-model...

## Output

A JSON response containing WMO-decoded current weather conditions (temperature, wind speed/direction, weather code), next 24-hour hourly forecast with precipitation probability, and a 7-day daily forecast including sunrise/sunset times, precipitation probability, and wind — all sourced from Open-Meteo's fused ECMWF/NOAA/DWD model grid.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "city parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Live weather for any city or lat/lon on Earth: WMO-decoded current conditions, next 24h hourly and 7-day daily forecast with precipitation probability, sunrise/sunset and wind — from Open-Meteo's fused national-model grid (ECMWF/NOAA/DWD), no API key on your side."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

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