# Saylor Innovations Portugal Weather Forecast

> Saylor Innovations Portugal Weather Forecast is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-04).

Returns daily min/max temperature, rain probability, wind, and conditions for Portuguese cities

## Facts

- Endpoint: GET https://saylorinnovations.com/api/weather/portugal?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-portugal-weather-forecast-55d5fb2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oATxp1fKbrUewb2zWxdHs

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 saylor-innovations-portugal-weather-forecast-55d5fb2a
```

Example prompt: What's the weather forecast for Porto over the next few days — specifically the daily highs and lows, chance of rain, and wind conditions?

## When to prefer this

Choose this endpoint when you specifically need multi-day weather forecasts for cities in Portugal (mainland or Madeira), including structured daily min/max temperature, rain probability, and wind data sourced from IPMA. It is preferable to generic global weather APIs when accuracy for Portuguese locations matters, as it uses Portugal's official meteorological authority as its data source.

## Known failure modes

- Invalid or unrecognized city name returns an error or empty result
- City not covered by IPMA dataset returns null or no days array
- Network or upstream IPMA outage causes delayed or stale data
- Missing required 'city' query parameter returns a 400 or validation error
- Payment failure via x402 protocol blocks access

## How this service works

Portugal weather forecast by city - daily min and max temperature, rain probability, wind and conditions for Lisbon, Porto, Faro and more

## Output

A JSON object containing the city name, coordinates (lat/lon), IPMA location ID, data source, last-updated timestamp, and an array of daily forecast objects each with min and max temperature, rain probability, wind speed/direction, and general weather conditions.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "Portuguese city or district capital: Lisboa, Porto, Faro, Coimbra, Braga, Funchal..."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "city",
      "days"
     ],
     "properties": {
      "lat": {
       "type": [
        "number",
        "null"
       ],
       "description": "Latitude in decimal degrees"
      },
      "lon": {
       "type": [
        "number",
        "null"
       ],
       "description": "Longitude in decimal degrees"
      },
      "city": {
       "type": "string",
       "description": "City"
      },
      "days": {
       "type": "array",
       "description": "Number of days"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "updated": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the record was last updated"
      },
      "ipma_location_id": {
       "type": "number",
       "description": "Ipma location id identifier"
      }
     }
    },
    "description": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-portugal-weather-forecast-55d5fb2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
