# AmanChain Weather Now + Forecast

> AmanChain Weather Now + Forecast is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.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 city, paid per call via x402 in USDC on Base

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.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-e9171f73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AC9WKtt0qLiaSnGynaa8C

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-e9171f73 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need both real-time current conditions and a short-range forecast in a single call, paid with no account or API key via x402/USDC micro-payment on Base — ideal for agent workflows that require frictionless, permissionless weather data without managing credentials.

## Known failure modes

- Unknown or misspelled city name returns an error or empty result
- Network timeout if AmanChain node is temporarily unreachable
- Payment failure if USDC balance or x402 authorization is insufficient
- Malformed JSON body (missing serviceId or request field) returns a 400-type error

## 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 current weather conditions (temperature, humidity, wind, description) and a 3-day forecast (daily high/low, precipitation outlook, conditions) for the requested city.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-weather\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-weather-now-forecast-e9171f73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
