43trust / 100

Weather Sweden

by Saylor Innovations Data Desk in Weather & location

x402 APIFailing, checked 51 min ago

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

GET
https://saylorinnovations.com/api/weather/sweden
Price
$0.01
per call in USDC
Uptime
75.0%
last 30 days
Response time
208 ms
432 ms slowest 5%
Last check
Failed
51 min ago, next in 21 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 51 min ago: Expected HTTP 402, got 404

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://saylorinnovations.com/api/weather/sweden

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://saylorinnovations.com/api/weather/sweden?lat=59.33&lon=18.07

Parameters

ParameterTypeRequiredDescription
latstringYesLatitude in decimal degrees (Sweden/Nordics/Baltic)
lonstringYesLongitude in decimal degrees

Example response

The provider's example. We can't check it without paying.

Example response, 67 lines
{
  "created_at": "2026-10-16T07:16:24Z",
  "current": {
    "cloud_cover_octas": 8,
    "gust_m_s": 8.4,
    "precipitation_probability_pct": 0,
    "pressure_hpa": 1015.6,
    "relative_humidity_pct": 88,
    "temperature_c": 13,
    "time": "2026-10-16T08:00:00Z",
    "visibility_km": 12.5,
    "wesymb2_symbol": 4,
    "wind_direction_deg": 221,
    "wind_speed_m_s": 4.2
  },
  "daily": [
    {
      "date": "2026-10-16",
      "max_c": 15.7,
      "min_c": 11.9,
      "precip_mm": 2.7
    },
    {
      "date": "2026-10-17",
      "max_c": 10.3,
      "min_c": 3.8,
      "precip_mm": 6.7
    },
    {
      "date": "2026-10-18",
      "max_c": 9.6,
      "min_c": 3.2,
      "precip_mm": 0
    }
  ],
  "latitude": 59.33,
  "longitude": 18.07,
  "next_24_hours": [
    {
      "gust_m_s": 8.4,
      "precipitation_mm": 0,
      "precipitation_probability_pct": 0,
      "temperature_c": 13,
      "time": "2026-10-16T08:00:00Z",
      "wind_speed_m_s": 4.2
    },
    {
      "gust_m_s": 8,
      "precipitation_mm": 0,
      "precipitation_probability_pct": 0,
      "temperature_c": 13.7,
      "time": "2026-10-16T09:00:00Z",
      "wind_speed_m_s": 4.1
    },
    {
      "gust_m_s": 7.9,
      "precipitation_mm": 0,
      "precipitation_probability_pct": 3,
      "temperature_c": 14.3,
      "time": "2026-10-16T10:00:00Z",
      "wind_speed_m_s": 3.7
    }
  ],
  "note": "SMHI point forecast (Sweden and surrounding area). Symbol codes follow the SMHI Wsymb2 scheme. Daily days are UTC.",
  "reference_time": "2026-10-16T07:00:00Z",
  "source": "SMHI (Swedish Meteorological and Hydrological Institute)"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/weather/sweden?lat=59.33&lon=18.07'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/weather/sweden?lat=59.33&lon=18.07' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fweather%2Fsweden
const res = await pay("https://saylorinnovations.com/api/weather/sweden?lat=59.33&lon=18.07");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/weather/sweden?lat=59.33&lon=18.07")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
51 min agoExpected HTTP 402, got 404404274 ms-
18 h agoExpected HTTP 402, got 404404342 ms-
3 days agoTimed out---
4 days agoPassed402225 ms$0.01
5 days agoPassed402187 ms$0.01
Show 10 older checks
6 days agoPassed402279 ms$0.01
6 days agoPassed402188 ms$0.01
7 days agoPassed402300 ms$0.01
7 days agoPassed402397 ms$0.01
8 days agoPassed402202 ms$0.01
8 days agoPassed402233 ms$0.01
9 days agoPassed402304 ms$0.01
9 days agoPassed402171 ms$0.01
10 days agoPassed402432 ms$0.01
10 days agoPassed402363 ms$0.01

History

2 Nov 2026Price on Solana changed from 102137 units of So11111111111111111111111111111111111111112 to 102972 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 103909 units of So11111111111111111111111111111111111111112 to 102137 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102677 units of So11111111111111111111111111111111111111112 to 103909 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102169 units of So11111111111111111111111111111111111111112 to 102677 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101549 units of So11111111111111111111111111111111111111112 to 102169 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 94596 units of So11111111111111111111111111111111111111112 to 96922 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95839 units of So11111111111111111111111111111111111111112 to 94596 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95340 units of So11111111111111111111111111111111111111112 to 95839 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95905 units of So11111111111111111111111111111111111111112 to 95340 units of So11111111111111111111111111111111111111112
27 Oct 2026Price on Solana changed from 95887 units of So11111111111111111111111111111111111111112 to 95905 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 95359 units of So11111111111111111111111111111111111111112 to 95887 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 96067 units of So11111111111111111111111111111111111111112 to 95359 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 95764 units of So11111111111111111111111111111111111111112 to 96067 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 94855 units of So11111111111111111111111111111111111111112 to 95764 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 95972 units of So11111111111111111111111111111111111111112 to 94855 units of So11111111111111111111111111111111111111112