# weather-now-madrid

> weather-now-madrid 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-10-20).

Returns current weather conditions in Madrid including temperature, feels-like, humidity, wind, precipitation, cloud cover, and today's sunrise/sunset times, powered by Open-Meteo.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/weather/madrid?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-now-madrid-c62be393
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PsXBpYenHLeFAkKOnuTJb

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-now-madrid-c62be393
```

Example prompt: What's the weather like in Madrid right now — temperature, feels-like, humidity, wind, and when does the sun set today?

## When to prefer this

Choose this endpoint when you need current, real-time weather conditions specifically for Madrid with no API key setup — ideal for lightweight integrations, one-off lookups, or agents that need weather context without managing credentials. Not suitable for multi-city queries, historical data, or forecasts (use the Lisbon or Accra forecast siblings for forward-looking data).

## Known failure modes

- Open-Meteo upstream outage returns an error or stale data
- Network timeout if the data.intel.rallylive.ca host is unreachable
- Payment failure if the $0.01 USDC x402 transaction is not completed
- Empty or malformed response if the Open-Meteo API changes its schema

## How this service works

Current weather in Madrid right now: temperature, feels-like, humidity, wind speed and direction, precipitation, cloud cover and conditions from Open-Meteo, plus today's sunrise and sunset. No API key. $0.01 per call.

## Output

Returns a JSON object with current Madrid weather: temperature and feels-like (°C), relative humidity (%), wind speed and direction, precipitation amount, cloud cover percentage, a human-readable conditions description, and today's sunrise and sunset times — all sourced from Open-Meteo in real time.

## 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-now-madrid-c62be393/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)
