82trust / 100
Route
by Directions + Travel Times in Weather & location
x402 APIPassing, checked 3 h ago
Point-to-point directions between 2-10 stops by car, bike, or on foot: total and per-leg distance and travel time, plus route geometry as an encoded polyline. Stops can be place names (geocoded automatically) or lat/lon coordinates. Generic travel and delivery routing on OpenStreetMap road data, global coverage. POST a JSON body like: {"stops":["paris","lyon"],"mode":"car"}
POST https://keyronne.com/api/route
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 49 ms typical, 49 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://keyronne.com/api/route" \
-H "content-type: application/json" \
-d '{"mode":"car","stops":["paris","lyon"]}'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%2Fkeyronne.com%2Fapi%2Froute
const res = await pay("https://keyronne.com/api/route", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"mode":"car","stops":["paris","lyon"]}),
});
console.log(await res.json());Example input
{
"mode": "car",
"stops": [
"paris",
"lyon"
]
}Example output
{
"attribution": "Geodata © OpenStreetMap contributors (ODbL)",
"distanceKm": 465.9,
"durationMinutes": 273.5,
"geometryPolyline": "<encoded polyline>",
"legs": [
{
"distanceKm": 465.9,
"durationMinutes": 273.5,
"from": 0,
"to": 1
}
],
"mode": "car",
"stops": [
{
"lat": 48.86,
"lon": 2.35,
"name": "paris"
},
{
"lat": 45.76,
"lon": 4.84,
"name": "lyon"
}
]
}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 | 185 ms | $0.01 |
| 8 h ago | Passed | 402 | 49 ms | $0.01 |