80trust / 100
Aviation Distance
by Tanod skypeek in Weather & location
x402 APIPassing, checked 3 h ago
skypeek (Tanod) great-circle distance between airports or points. Not for flight planning or navigation.
POST https://tanod.dev/v1/aviation/distance
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 272 ms typical, 360 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://tanod.dev/v1/aviation/distance" \
-H "content-type: application/json" \
-d '{"from":"RPLL","to":"KSFO"}'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%2Ftanod.dev%2Fv1%2Faviation%2Fdistance
const res = await pay("https://tanod.dev/v1/aviation/distance", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"from":"RPLL","to":"KSFO"}),
});
console.log(await res.json());Example input
{
"from": "RPLL",
"to": "KSFO"
}Example output
{
"disclaimer": "Informational only. Not for operational use or flight planning.",
"distance_km": 11228.61,
"distance_mi": 6977.14,
"distance_nm": 6062.97,
"final_bearing_deg": 118.15,
"from": {
"iata": "MNL",
"icao": "RPLL",
"ident": "RPLL",
"input": "RPLL",
"lat": 14.5086,
"lon": 121.019997,
"name": "Ninoy Aquino International Airport"
},
"initial_bearing_deg": 46.17,
"method": "spherical great circle (haversine), mean Earth radius 6371.0088 km; within ~0.5 % of the WGS-84 geodesic",
"midpoint": {
"lat": 42.58048,
"lon": 170.12387
},
"source": {
"license": "Public Domain",
"name": "OurAirports",
"notice": "Data may contain errors; no accuracy guarantee.",
"terms": "https://ourairports.com/data/",
"url": "https://ourairports.com/data/"
},
"to": {
"iata": "SFO",
"icao": "KSFO",
"ident": "KSFO",
"input": "KSFO",
"lat": 37.619806,
"lon": -122.374821,
"name": "San Francisco International Airport"
}
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 272 ms | $0.001 |
| 7 h ago | Passed | 402 | 272 ms | $0.001 |
| 11 h ago | Passed | 402 | 360 ms | $0.001 |
| 14 h ago | Passed | 402 | 273 ms | $0.001 |
| 18 h ago | Passed | 402 | 276 ms | $0.001 |
| 21 h ago | Passed | 402 | 266 ms | $0.001 |
| 25 h ago | Passed | 402 | 847 ms | $0.001 |
| 30 h ago | Passed | 402 | 271 ms | $0.001 |