# agent402.tools Weather Daily Forecast

> agent402.tools Weather Daily Forecast is a paid API for AI agents from agent402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns a 7-day daily weather forecast (high/low temp, precipitation, wind, UV index, sunrise/sunset) for any global location using Open-Meteo.

## Facts

- Endpoint: GET https://agent402.tools/api/weather-daily
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-weather-daily-forecast-1202b087
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GUupK0HMArcB6nFn_ADpv

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 agent402-tools-weather-daily-forecast-1202b087
```

Example prompt: What's the 7-day daily weather forecast for Tokyo (lat 35.68, lon 139.69) in Fahrenheit — I need high/low temps, precipitation chance, max wind, and UV index for each day?

## When to prefer this

Use this endpoint when you need a free, key-less, global daily weather forecast covering temperature, precipitation, wind, UV index, and sunrise/sunset for up to 16 days, especially when you only have latitude and longitude coordinates. Prefer this over hourly endpoints when daily summaries are sufficient.

## Known failure modes

- Missing lat or lon parameters returns a 400 error
- Latitude out of range (-90 to 90) or longitude out of range (-180 to 180) causes an error
- Invalid units value (not 'celsius' or 'fahrenheit') may cause unexpected behavior
- days parameter outside 1-16 range may be rejected or clamped
- Payment not included or invalid results in 402 Payment Required
- Open-Meteo upstream outage causes 502 or timeout

## How this service works

7-day daily weather forecast for any location: high/low temp, precipitation sum and probability, max wind, UV index, sunrise/sunset. Open-Meteo, no key, global. ?lat=35.68&lon=139.69.

## Output

A structured 7-day daily forecast per day including high and low temperature, total precipitation sum, precipitation probability, maximum wind speed, UV index, and sunrise/sunset times for the specified coordinates. Powered by Open-Meteo, no API key required, global coverage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude, -90 to 90"
      },
      "lon": {
       "type": "number",
       "description": "Longitude, -180 to 180"
      },
      "days": {
       "type": "number",
       "description": "Forecast days, 1-16 (default 7)"
      },
      "units": {
       "type": "string",
       "description": "Temperature unit: celsius (default) or fahrenheit"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "lat",
      "lon",
      "days",
      "source"
     ],
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      },
      "days": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 35.6762,
  "lon": 139.6503,
  "days": [
   {
    "date": "2026-06-23",
    "unit": "°C",
    "sunset": "19:01",
    "sunrise": "04:25",
    "tempMax": 28.1,
    "tempMin": 21.3,
    "uvIndex": 7.5,
    "windMax": 15.2,
    "windUnit": "km/h",
    "condition": "Slight rain",
    "precipSum": 2.4,
    "windGusts": 22.1,
    "weatherCode": 61,
    "precipProbability": 65
   }
  ],
  "source": "api.open-meteo.com (CC BY 4.0)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-weather-daily-forecast-1202b087/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
