# AmanChain Weather Now + Forecast

> AmanChain Weather Now + Forecast is a paid API for AI agents from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.001866/call, status unknown (last checked 2026-09-15).

Returns current weather conditions plus a 3-day forecast for any specified city, paid per call via x402 in USDC on Base.

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-weather
- Price: $0.001866/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-weather-now-forecast-7f6f49c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nTjW9DaaLtPxedw7P2z8X

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 amanchain-weather-now-forecast-7f6f49c6 -d '<json body>'
```

Example prompt: What's the current weather and 3-day forecast for Chicago right now?

## When to prefer this

Choose this endpoint when you need both current conditions and a short-term (3-day) forecast in a single paid call with no API key required, especially in agentic workflows using x402 micropayment settlement on Base. Ideal for agents that need weather data on demand without managing API credentials.

## Known failure modes

- Unrecognized city name returns an error or empty result
- Missing or malformed serviceId field causes request rejection
- Network or node downtime may result in timeout or 503 response
- Payment failure via x402 (insufficient USDC balance) prevents call from completing

## How this service works

Weather Now + Forecast: current weather + 3-day forecast for any city Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-weather","request":"<input>"}. No account, no API key.

## Output

Returns the current weather conditions (temperature, description, humidity, wind, etc.) and a 3-day forecast for the requested city, sourced via the AmanChain node's live consensus state.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-weather-now-forecast-7f6f49c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
