# Saylor Innovations Data Desk – SMHI Sweden Weather Forecast

> Saylor Innovations Data Desk – SMHI Sweden 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-21).

Returns SMHI-sourced weather data for any Swedish lat/lon, including current conditions, 24 hourly steps with gusts and rain chance, and a daily min/max/precipitation outlook

## Facts

- Endpoint: GET https://saylorinnovations.com/api/weather/sweden?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-smhi-sweden-weather-forecast-3d40ddae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cdrheDgQkQcwZpN1oLYN9

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-data-desk-smhi-sweden-weather-forecast-3d40ddae
```

Example prompt: What's the weather right now and over the next 24 hours at latitude 59.33 and longitude 18.07 in Sweden — including wind gusts and rain chances, plus the daily high and low for the coming days?

## When to prefer this

Choose this endpoint when you need structured, SMHI-authoritative weather data — including wind gusts and rain probability — for a location in Sweden or the Nordic/Baltic region. It is the right choice when hourly granularity and a daily min/max/precipitation summary are both needed in a single call. Prefer it over generic global weather APIs when Sweden-specific forecast fidelity and SMHI sourcing are important.

## Known failure modes

- Missing lat or lon query parameters returns an error — both are required
- Coordinates outside Sweden or the Nordic/Baltic region may return no data or an error, as SMHI coverage is geographically limited
- SMHI upstream unavailability may result in a timeout or empty forecast
- Invalid non-numeric coordinate values will likely cause a parsing error
- Payment failure or insufficient USDC balance will block the x402-gated call

## How this service works

SMHI Sweden weather forecast for any lat/lon - current conditions, 24 hourly steps with gusts and rain chance, and a daily min/max/precipitation outlook

## Output

A JSON object containing the request latitude and longitude, a current conditions snapshot, an array of up to 24 hourly entries each with temperature, wind speed, wind gusts, and rain probability, and a daily array with min temperature, max temperature, and precipitation totals. Also includes the data source attribution (SMHI), a reference time, and a created_at timestamp.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude in decimal degrees (Sweden/Nordics/Baltic)"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in decimal degrees"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "latitude",
      "longitude",
      "current"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "daily": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "date": {
          "type": [
           "string"
          ]
         },
         "max_c": {
          "type": [
           "number"
          ]
         },
         "min_c": {
          "type": [
           "number"
          ]
         },
         "precip_mm": {
          "type": [
           "number"
          ]
         }
        },
        "additionalProperties": true
       },
       "description": "Daily values"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "current": {
       "type": "object",
       "properties": {
        "time": {
         "type": [
          "string"
         ]
        },
        "gust_m_s": {
         "type": [
          "number"
         ]
        },
        "pressure_hpa": {
         "type": [
          "number"
         ]
        },
        "temperature_c": {
         "type": [
          "number"
         ]
        },
        "visibility_km": {
         "type": [
          "number"
         ]
        },
        "wesymb2_symbol": {
         "type": [
          "integer"
         ]
        },
        "wind_speed_m_s": {
         "type": [
          "numbe
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-smhi-sweden-weather-forecast-3d40ddae/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)
