82trust / 100

Weather Forecast

by NetIntel in Weather & location

x402 APIPassing, checked 1 h ago

Multi-day weather forecast for any city or lat/lon worldwide — up to 16 days of daily highs/lows, precipitation & probability, UV, sunrise/sunset, wind, and plain-language conditions, plus optional next-24h hourly. Give a city name (geocoded) or coordinates. No API key, metric or imperial. Pass params as query (GET) or a JSON body (POST).

GET https://netintel.dev/weather/forecast

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
184 ms typical, 184 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 GET "https://netintel.dev/weather/forecast?city=London&days=7"
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%2Fnetintel.dev%2Fweather%2Fforecast
const res = await pay("https://netintel.dev/weather/forecast?city=London&days=7");
console.log(await res.json());

Example input

{
  "city": "London",
  "days": 7
}

Example output

{
  "cache_age_seconds": 0,
  "daily": [
    {
      "condition": "Rain",
      "date": "2026-08-31",
      "feels_like_max": 17.9,
      "feels_like_min": 10.4,
      "precip_probability_pct": 60,
      "precipitation": 1.3,
      "sunrise": "2026-08-31T06:12",
      "sunset": "2026-08-31T19:44",
      "temp_max": 18.4,
      "temp_min": 11.2,
      "uv_index_max": 4.1,
      "weather_code": 61,
      "wind_direction_deg": 230,
      "wind_gusts_max": 38.5,
      "wind_speed_max": 21
    },
    {
      "condition": "Partly cloudy",
      "date": "2026-09-01",
      "feels_like_max": 18.6,
      "feels_like_min": 11.3,
      "precip_probability_pct": 10,
      "precipitation": 0,
      "sunrise": "2026-09-01T06:14",
      "sunset": "2026-09-01T19:42",
      "temp_max": 19.1,
      "temp_min": 12,
      "uv_index_max": 5.2,
      "weather_code": 2,
      "wind_direction_deg": 245,
      "wind_gusts_max": 29.2,
      "wind_speed_max": 15.8
    }
  ],
  "days": 7,
  "findings": [],
  "location": {
    "country": "United Kingdom",
    "latitude": 51.51,
    "longitude": -0.13,
    "name": "London",
    "region": "England",
    "timezone": "Europe/London"
  },
  "source": "open-meteo",
  "units": {
    "precipitation": "mm",
    "temperature": "°C",
    "wind_speed": "km/h"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402319 ms$0.003
6 h agoPassed402184 ms$0.003