78trust / 100

Data Forecast

by weather-forecast in Weather & location

x402 APIPassing, checked 2 h ago

7-day daily weather forecast for a place: high and low temperature, precipitation sum and probability, max wind, sunrise/sunset and condition per day, with the resolved location. Free Open-Meteo data. $0.01 per lookup.

POST https://intel.rallylive.ca/data/forecast

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://intel.rallylive.ca/data/forecast" \
  -H "content-type: application/json" \
  -d '{"location":"Toronto"}'
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%2Fintel.rallylive.ca%2Fdata%2Fforecast
const res = await pay("https://intel.rallylive.ca/data/forecast", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"location":"Toronto"}),
});
console.log(await res.json());

Example input

{
  "location": "Toronto"
}

Example output

{
  "days": [
    {
      "condition": "partly cloudy",
      "date": "2026-09-12",
      "high_c": 22,
      "low_c": 14,
      "precipitation_mm": 0.2,
      "precipitation_prob_pct": 10,
      "sunrise": "06:50",
      "sunset": "19:30",
      "wind_max_kmh": 20
    }
  ],
  "location": "Toronto"
}

Security scan

  • Payment address changed recently in payment
    Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40247 ms$0.01
5 h agoPassed40255 ms$0.01
9 h agoPassed40235 ms$0.01
13 h agoPassed40246 ms$0.01
16 h agoPassed40257 ms$0.01
20 h agoPassed40271 ms$0.01
23 h agoPassed40253 ms$0.01
28 h agoPassed40258 ms$0.01
31 h agoPassed40252 ms$0.01
35 h agoPassed40245 ms$0.01
38 h agoPassed40245 ms$0.01
41 h agoPassed402295 ms$0.01
47 h agoPassed40240 ms$0.01

History

11 Oct 2026Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3