81trust / 100

Weather Daily

by Daily forecast (global) in Weather & location

x402 APIPassing, checked 32 min ago

7-day daily weather forecast for any location: high/low temp, precipitation sum and probability, max wind, UV index, sunrise/sunset. Open-Meteo, no key, global.

GET https://agent402.tools/api/weather-daily

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
196 ms typical, 198 ms slowest 5%
Last check
32 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/weather-daily?lat=35.6762&lon=139.6503"
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%2Fagent402.tools%2Fapi%2Fweather-daily
const res = await pay("https://agent402.tools/api/weather-daily?lat=35.6762&lon=139.6503");
console.log(await res.json());

Example input

{
  "lat": 35.6762,
  "lon": 139.6503
}

Example output

{
  "days": [
    {
      "condition": "Slight rain",
      "date": "2026-06-23",
      "precipProbability": 65,
      "precipSum": 2.4,
      "sunrise": "04:25",
      "sunset": "19:01",
      "tempMax": 28.1,
      "tempMin": 21.3,
      "unit": "°C",
      "uvIndex": 7.5,
      "weatherCode": 61,
      "windGusts": 22.1,
      "windMax": 15.2,
      "windUnit": "km/h"
    }
  ],
  "lat": 35.6762,
  "lon": 139.6503,
  "source": "api.open-meteo.com (CC BY 4.0)"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
32 min agoPassed402205 ms$0.002
4 h agoPassed402198 ms$0.002
7 h agoPassed402185 ms$0.002
12 h agoPassed402196 ms$0.002