82trust / 100

Proxy Weather

by Weather Forecast API in Weather & location

x402 APIPassing, checked 1 h ago

Current weather plus daily forecast up to 10 days and optional hourly forecast up to 48 hours, worldwide, from MET Norway. Current: temperature, feels like, humidity, wind and gusts, precipitation, cloud cover, pressure, conditions text. Daily: min/max, conditions, precipitation sum and probability, max wind, UV index, sunrise/sunset.

POST https://agentsvc.io/api/v1/proxy/weather

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
93 ms typical, 93 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/weather" \
  -H "content-type: application/json" \
  -d '{"location":"Berlin"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fweather
const res = await pay("https://agentsvc.io/api/v1/proxy/weather", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"location":"Berlin"}),
});
console.log(await res.json());

Example input

{
  "location": "Berlin"
}

Example output

{
  "data": {
    "current": {
      "feels_like_c": 10.2,
      "humidity_pct": 71,
      "temp_c": 12.5,
      "weather_code": 3,
      "wind_kph": 14.8
    },
    "forecast_3d": [
      {
        "date": "2026-04-07",
        "temp_max_c": 14,
        "temp_min_c": 8.2,
        "weather_code": 1
      },
      {
        "date": "2026-04-08",
        "temp_max_c": 16.5,
        "temp_min_c": 9,
        "weather_code": 2
      },
      {
        "date": "2026-04-09",
        "temp_max_c": 13,
        "temp_min_c": 7.8,
        "weather_code": 61
      }
    ],
    "location": {
      "lat": 52.52,
      "lon": 13.41,
      "name": "Berlin"
    }
  },
  "success": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402143 ms$0.002
6 h agoPassed40293 ms$0.002