80trust / 100

Destination EWR

by StableTravel in Weather & location

x402 APIPassing, checked 1 h ago

Get disruption counts for a specific entity

GET https://stabletravel.dev/api/flightaware/disruption-counts/destination/EWR

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
266 ms typical, 300 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://stabletravel.dev/api/flightaware/disruption-counts/destination/EWR?time_period=today"
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%2Fdisruption-counts%2Fdestination%2FEWR
const res = await pay("https://stabletravel.dev/api/flightaware/disruption-counts/destination/EWR?time_period=today");
console.log(await res.json());

Example input

{
  "time_period": "today"
}

Example output

{
  "cancellations": 5,
  "delays": 42,
  "entity_id": "AAL",
  "entity_type": "airline",
  "name": "American Airlines",
  "score": 0.12,
  "total": 47
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402192 ms$0.01
5 h agoPassed402230 ms$0.01
8 h agoPassed402168 ms$0.01
13 h agoPassed402300 ms$0.01
16 h agoPassed402362 ms$0.01
20 h agoPassed402266 ms$0.01
24 h agoPassed402289 ms$0.01
26 h agoPassed402298 ms$0.01
32 h agoPassed402246 ms$0.01