{"slug":"saylorinnovations-com-api-geo-route-distance-bd4196","title":"Total distance of a multi-stop route from waypoints in km, miles and nautical mi","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/geo/route-distance","category":"other","description":"Total distance of a multi-stop route from waypoints in km, miles and nautical miles, with each great-circle leg, bearing, detour ratio and travel time","price_listed":0.01,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 404 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"speed_kmh":"80","waypoints":"51.5,-0.12;48.85,2.35;52.52,13.4"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"properties":{"speed_kmh":{"description":"optional average speed to estimate travel time","type":"string"},"waypoints":{"description":"Stops in order, written lat,lon;lat,lon;... (2-50)","type":"string"}},"required":["waypoints"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"detour_ratio":{"description":"Detour ratio","type":["number","null"]},"legs":{"type":"array"},"note":{"description":"Caveat or context for reading the result","type":"string"},"source":{"description":"Data source the values come from","type":"string"},"straight_line_km":{"description":"Straight line, in kilometres","type":"number"},"total_km":{"description":"Total km","type":"number"},"total_miles":{"description":"Total miles","type":"number"},"total_nautical_miles":{"description":"Total nautical miles","type":"number"},"travel_time_hours":{"description":"Travel time, in hours","type":["number","null"]},"waypoints":{"type":"number"}},"required":["total_km","legs"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":404,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":230,"error":null}],"description_full":"Total distance of a multi-stop route from waypoints in km, miles and nautical miles, with each great-circle leg, bearing, detour ratio and travel time","last_updated":"2026-10-17T10:24:05.718Z","schemes":["exact"]}