# weather-forecast-casablanca

> weather-forecast-casablanca 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 Casablanca including daily highs/lows, precipitation, wind, conditions, and hourly detail for today, powered by Open-Meteo.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/forecast/casablanca?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-casablanca-39ab879d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q5IFo_WLSspyMaAHUIaVs

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-casablanca-39ab879d
```

Example prompt: What's the 7-day weather forecast for Casablanca? I want to know the daily highs and lows, chance of rain, and wind conditions for the week, plus hourly detail for today.

## When to prefer this

Choose this endpoint when you need a ready-to-use 7-day weather forecast specifically for Casablanca without setting up an Open-Meteo API key or managing geolocation parameters yourself. It is ideal for agents performing trip planning, scheduling, or logistics for Casablanca at minimal cost ($0.01 per call). If you need weather for a different city, use a sibling endpoint (e.g. weather-forecast-barcelona, weather-forecast-riyadh) rather than this one.

## Known failure modes

- Upstream Open-Meteo API unavailability may cause fetch failures or stale data
- No query parameters accepted — the city is hardcoded to Casablanca, so misuse for other cities will return incorrect data
- Payment failure (x402) if USDC balance is insufficient, resulting in a 402 response
- Network timeout if the data.intel.rallylive.ca host is unreachable

## How this service works

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

## Output

A 7-day weather forecast for Casablanca containing daily maximum and minimum temperatures, precipitation probability and totals, wind speed and direction, and general weather conditions for each day, plus hourly temperature and weather detail for the current day.

## 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-casablanca-39ab879d/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)
