80trust / 100

Launch Weather

by space.halowerk.com in Weather & location

x402 APIPassing, checked 19 min ago

Checks wind, gust, lightning distance, precipitation, cloud fraction, and temperature against caller-supplied limits and reports every failed rule. It does not retrieve observations, forecast weather, interpret vehicle-specific rules, detect upper-level winds, or authorize a launch.

POST https://space.halowerk.com/v1/launch-weather

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
132 ms typical, 215 ms slowest 5%
Last check
19 min ago
Next check
in 8 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://space.halowerk.com/v1/launch-weather" \
  -H "content-type: application/json" \
  -d '{"limits":{"maximum_gust_m_s":18,"maximum_precipitation_mm_h":0.5,"maximum_sustained_wind_m_s":12,"maximum_temperature_c":35,"maximum_thick_cloud_fraction":0.5,"minimum_lightning_distance_km":20,"minimum_temperature_c":0},"weather":{"gust_m_s":13,"nearest_lightning_km":42,"precipitation_mm_h":0,"sustained_wind_m_s":8,"temperature_c":18,"thick_cloud_fraction":0.2}}'
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%2Fspace.halowerk.com%2Fv1%2Flaunch-weather
const res = await pay("https://space.halowerk.com/v1/launch-weather", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limits":{"maximum_gust_m_s":18,"maximum_precipitation_mm_h":0.5,"maximum_sustained_wind_m_s":12,"maximum_temperature_c":35,"maximum_thick_cloud_fraction":0.5,"minimum_lightning_distance_km":20,"minimum_temperature_c":0},"weather":{"gust_m_s":13,"nearest_lightning_km":42,"precipitation_mm_h":0,"sustained_wind_m_s":8,"temperature_c":18,"thick_cloud_fraction":0.2}}),
});
console.log(await res.json());

Example input

{
  "limits": {
    "maximum_gust_m_s": 18,
    "maximum_precipitation_mm_h": 0.5,
    "maximum_sustained_wind_m_s": 12,
    "maximum_temperature_c": 35,
    "maximum_thick_cloud_fraction": 0.5,
    "minimum_lightning_distance_km": 20,
    "minimum_temperature_c": 0
  },
  "weather": {
    "gust_m_s": 13,
    "nearest_lightning_km": 42,
    "precipitation_mm_h": 0,
    "sustained_wind_m_s": 8,
    "temperature_c": 18,
    "thick_cloud_fraction": 0.2
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
19 min agoPassed402166 ms$0.003
4 h agoPassed402277 ms$0.003
8 h agoPassed402141 ms$0.003
11 h agoPassed402135 ms$0.003
15 h agoPassed402132 ms$0.003
18 h agoPassed402103 ms$0.003
22 h agoPassed402114 ms$0.003
26 h agoPassed402105 ms$0.003
29 h agoPassed40238 ms$0.003
34 h agoPassed402215 ms$0.003