# agent402.tools Weather Brief

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

Returns a full weather briefing for a lat/lon location — current conditions, 7-day forecast, and air quality index — in a single bundled API call.

## Facts

- Endpoint: POST https://agent402.tools/api/skill/weather-brief
- Price: $0.006/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-brief-25a5676a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lk4yEr3QA0xSIow3bDusR

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-brief-25a5676a -d '<json body>'
```

Example prompt: Give me a full weather briefing for Paris — current conditions, the 7-day forecast, and the air quality index. The coordinates are latitude 48.8566 and longitude 2.3522.

## When to prefer this

Use this endpoint when you need current conditions, multi-day forecast, and air quality data all at once for a given location without making three separate API calls. Ideal for agent workflows that need a complete weather picture in one step and want to minimize cost and latency via a single bundled payment.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error or empty result
- Missing lat or lon parameter causes a 400 bad request
- x402 payment failure or insufficient balance prevents execution
- Upstream weather data provider outage results in a 502 or timeout
- Coordinates in remote ocean areas may return limited data

## How this service works

Bundled execution of the Weather briefing workflow - Full weather briefing for a location: current conditions, 7-day forecast, and air quality index in one pass. One x402 payment runs 3 underlying tools (weather-current, weather-daily, weather-air-quality); partial-success per step.

## Output

A combined payload containing current weather conditions (temperature, humidity, wind, etc.), a 7-day daily forecast, and an air quality index (AQI) for the specified coordinates — all returned in a single response from one $0.05 USDC x402 payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "string",
   "description": "Latitude of the location (e.g. 48.8566 for Paris)"
  },
  "lon": {
   "type": "string",
   "description": "Longitude of the location (e.g. 2.3522 for Paris)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "lat": "48.8566",
   "lon": "2.3522"
  },
  "pack": "weather-brief",
  "steps": [
   {
    "ok": true,
    "slug": "weather-current",
    "result": {}
   },
   {
    "ok": true,
    "slug": "weather-daily",
    "result": {}
   },
   {
    "ok": true,
    "slug": "weather-air-quality",
    "result": {}
   }
  ],
  "summary": "3/3 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-weather-brief-25a5676a/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)
