78trust / 100

Intermodal Compare

by api.xynaptic.io in Weather & location

x402 APIPassing, checked 39 min ago

Xynaptic Intermodal Compare — train vs plane between two cities: REAL next train journeys (Navitia/SNCF: times, duration, transfers) vs flight estimate (great-circle distance, typical duration+price range, CO2 per passenger). Composite verdict: when the train wins on total door-to-door time or cost. GET ?from=Paris&to=Nice. France focus. Informational.

GET https://api.xynaptic.io/v1/intermodal-compare

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.xynaptic.io/v1/intermodal-compare"
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%2Fapi.xynaptic.io%2Fv1%2Fintermodal-compare
const res = await pay("https://api.xynaptic.io/v1/intermodal-compare");
console.log(await res.json());

Example input

{}

Example output

{
  "distance_km": 688,
  "from": "Paris",
  "plane": {
    "duration_min": 95,
    "price_hint": "60-180 EUR"
  },
  "service": "intermodal-compare",
  "summary": "Paris-Nice: plane 1h35 vs train 5h36 — train wins on cost, plane on time.",
  "to": "Nice",
  "train": {
    "duration_min": 336,
    "next_departure": "12:45",
    "price_hint": "39-120 EUR"
  },
  "verdict": "plane_faster_but_train_cheaper"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
39 min agoPassed40248 ms$0.03
4 h agoPassed40237 ms$0.03
8 h agoPassed402191 ms$0.03
11 h agoPassed40239 ms$0.03
15 h agoPassed40245 ms$0.03
19 h agoPassed402125 ms$0.03
22 h agoPassed40257 ms$0.03
25 h agoPassed40246 ms$0.03
30 h agoPassed402129 ms$0.03
33 h agoPassed40259 ms$0.03
36 h agoPassed402145 ms$0.03
41 h agoPassed40241 ms$0.03
44 h agoPassed40237 ms$0.03
2 days agoPassed40240 ms$0.03