Routing
Fastest route by car between up to 10 points, with distance, drive time and the line to draw.
POST /v2/routeTry it Live for Iloilo City
Directions, address search, travel-time areas and distance matrices for your app. Built on OpenStreetMap, served as JSON over HTTPS.
Every capability has a live tool on the test map. Travel-time areas and matrices need a key; the map gives you 5 free tries a day.
Fastest route by car between up to 10 points, with distance, drive time and the line to draw.
POST /v2/routeTry it Turn an address or place name into coordinates, with Iloilo places ranked first.
GET /v2/geocodeTry it Turn a tapped point into the nearest street address.
GET /v2/reverseTry it Snap a GPS point to the road network before you route from it.
GET /v2/nearestTry it Everywhere reachable within 5 to 30 minutes, as map-ready polygons.
Drive times and distances between up to 25 origin and destination pairs in one call.
Three steps from nothing to a route on your screen.
Tell us what you are building. Staff review requests, and the key is shown to you once.
Put the key in the X-API-Key header. Never in the URL, and never in code you ship to browsers.
Distances are in metres, times in seconds, coordinates as [lng, lat].
curl -X POST https://quadruper.com/v2/route \ -H "X-API-Key: $QUADRUPER_KEY" \ -H "Content-Type: application/json" \ -d '{"points": [[122.5642, 10.6968], [122.5587, 10.7201]], "profile": "car"}'
const res = await fetch("https://quadruper.com/v2/route", { method: "POST", headers: { "X-API-Key": process.env.QUADRUPER_KEY, "Content-Type": "application/json" }, body: JSON.stringify({ points: [[122.5642, 10.6968], [122.5587, 10.7201]], profile: "car" }), }); const { routes } = await res.json(); console.log(routes[0].distance_m, routes[0].duration_s);
# → { "routes": [ { "distance_m": 4870, "duration_s": 840, "geometry": { "type": "LineString", … } } ] }
Status: check /health
Building something bigger than a free key covers, or want to talk about coverage outside Iloilo City?