78trust / 100

Weather Forecast

by StableTravel in Weather & location

x402 APIPassing, checked 4 h ago

Get weather forecast (TAF) for a specific airport

GET https://stabletravel.dev/api/flightaware/airports/CTS/weather/forecast

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://stabletravel.dev/api/flightaware/airports/CTS/weather/forecast?temperature_units=fahrenheit"
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%2Fstabletravel.dev%2Fapi%2Fflightaware%2Fairports%2FCTS%2Fweather%2Fforecast
const res = await pay("https://stabletravel.dev/api/flightaware/airports/CTS/weather/forecast?temperature_units=fahrenheit");
console.log(await res.json());

Example input

{
  "temperature_units": "fahrenheit"
}

Example output

{
  "airport_code": "KJFK",
  "forecast": [],
  "raw_forecast": [],
  "timeframe": "2026-04-22T12:00:00Z/2026-04-23T12:00:00Z"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402242 ms$0.004
7 h agoPassed402237 ms$0.004
11 h agoPassed402264 ms$0.004
14 h agoPassed402281 ms$0.004
18 h agoPassed402259 ms$0.004
22 h agoPassed402404 ms$0.004
25 h agoPassed402237 ms$0.004
29 h agoPassed402260 ms$0.004
33 h agoPassed402428 ms$0.004
36 h agoPassed402413 ms$0.004
40 h agoPassed402230 ms$0.004
43 h agoPassed402291 ms$0.004
2 days agoPassed402158 ms$0.004