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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 39 min ago | Passed | 402 | 48 ms | $0.03 |
| 4 h ago | Passed | 402 | 37 ms | $0.03 |
| 8 h ago | Passed | 402 | 191 ms | $0.03 |
| 11 h ago | Passed | 402 | 39 ms | $0.03 |
| 15 h ago | Passed | 402 | 45 ms | $0.03 |
| 19 h ago | Passed | 402 | 125 ms | $0.03 |
| 22 h ago | Passed | 402 | 57 ms | $0.03 |
| 25 h ago | Passed | 402 | 46 ms | $0.03 |
| 30 h ago | Passed | 402 | 129 ms | $0.03 |
| 33 h ago | Passed | 402 | 59 ms | $0.03 |
| 36 h ago | Passed | 402 | 145 ms | $0.03 |
| 41 h ago | Passed | 402 | 41 ms | $0.03 |
| 44 h ago | Passed | 402 | 37 ms | $0.03 |
| 2 days ago | Passed | 402 | 40 ms | $0.03 |