# x402.donnyautomation.com Weather API

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

Returns current weather conditions and up to a 7-day forecast for any lat/lon coordinates worldwide, including temperature, humidity, precipitation, wind, and WMO condition codes.

## Facts

- Endpoint: POST https://x402.donnyautomation.com/weather?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-donnyautomation-com-weather-api-6da2db74
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_upVN-BLfrfZZkc2ZIxNeh

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 x402-donnyautomation-com-weather-api-6da2db74 -d '<json body>'
```

Example prompt: What's the current weather and 5-day forecast at coordinates 40.7128 latitude, -74.0060 longitude? I need temperature, humidity, wind speed, and precipitation probability.

## When to prefer this

Choose this endpoint when you need structured weather data (current + multi-day forecast) for any global coordinate pair, especially when you already have lat/lon and want WMO-coded conditions with explicit units. Pair with the /geocode sibling endpoint when you only have a place name. Prefer this over scraping weather sites or calling heavy meteorological APIs when you need a lightweight, pay-per-call solution with predictable JSON output.

## Known failure modes

- Missing required lat or lon parameter returns an error
- Latitude out of range (-90 to 90) returns a validation error
- Longitude out of range (-180 to 180) returns a validation error
- days parameter outside 1-7 range returns a validation error
- Payment not completed (402) blocks the response
- Upstream weather model unavailable may return 5xx errors

## How this service works

Pay-per-call (x402/USDC on Base) market-data, geocoding, randomness and hook-risk endpoints. Free demo route included.

## Output

Returns a JSON object with current conditions (temperature, feels-like, humidity, precipitation, wind speed, gusts, direction) and daily forecast entries for up to 7 days (high, low, precipitation total and probability). Every condition includes a WMO weather code and a plain-text description, with units explicitly stated. The response also indicates that the data is model-based forecast data.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-08-02T00:00:00.000Z",
  "lat": 40.7128,
  "lon": -74.006,
  "daily": [
   {
    "date": "2026-08-02",
    "maxC": 29.4,
    "minC": 21.8,
    "description": "slight rain",
    "precipitationMm": 2.1,
    "precipitationProbabilityPct": 45
   }
  ],
  "units": {
   "wind": "km/h",
   "temperature": "celsius",
   "precipitation": "mm"
  },
  "current": {
   "tempC": 24.1,
   "windKmh": 11.2,
   "feelsLikeC": 25.3,
   "description": "overcast",
   "humidityPct": 78,
   "weatherCode": 3
  },
  "timezone": "America/New_York",
  "attribution": "Weather data by Open-Meteo.com (CC BY 4.0)."
 }
}
```

## More

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