# weather-forecast-shanghai

> weather-forecast-shanghai is a paid API for AI agents from data.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-01).

Returns a 7-day weather forecast for Shanghai including daily highs/lows, precipitation probability, wind, conditions, and hourly detail for today, powered by Open-Meteo.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/forecast/shanghai?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-forecast-shanghai-57ffe00c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TCWm8e3bp9tjHExW18-dY

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 weather-forecast-shanghai-57ffe00c
```

Example prompt: What's the 7-day weather forecast for Shanghai? I need the daily highs and lows, rain chances, and wind conditions, plus the hourly breakdown for today.

## When to prefer this

Choose this endpoint when you need a ready-made, no-API-key 7-day weather forecast specifically for Shanghai, with both daily summaries and today's hourly detail, without setting up your own Open-Meteo integration. Ideal for agents doing trip planning, scheduling, or daily weather briefings for Shanghai at minimal cost ($0.01 per call).

## Known failure modes

- Network or upstream Open-Meteo service unavailability returns an error response
- Invalid or malformed GET request may return a 400 or 422 error
- Payment not processed (x402 protocol failure) blocks access and returns a 402 status
- Rate limiting or quota exhaustion may return 429 errors
- Stale or delayed forecast data if Open-Meteo upstream cache is outdated

## How this service works

7-day weather forecast for Shanghai: daily highs and lows, precipitation probability and totals, wind and conditions, plus hourly detail for today, from Open-Meteo. Trip planning and scheduling for Shanghai without an API key. $0.01 per call.

## Output

Returns a structured JSON response containing a 7-day daily forecast for Shanghai (high/low temperatures, precipitation probability and totals, wind speed and direction, overall weather conditions) plus an hourly breakdown for the current day (temperature, precipitation, wind, conditions by hour).

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weather-forecast-shanghai-57ffe00c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.intel.rallylive.ca](https://www.zero.xyz/host/data.intel.rallylive.ca/llms.txt)
