1. Get an API Key
- Sign up at justrouting.tech/signup (email only)
- Log in and open the Dashboard, then click Create API Key
- Copy the key — it is shown in full only once
2. Get a route
Try the route in Singapore (replace the key with your own):routes[0].geometry in the response is the route geometry (encoded polyline). Distances are in meters, durations in seconds.
3. Put it on a map
Request withgeometries=geojson and routes[0].geometry is a ready-to-use GeoJSON LineString:
- Leaflet
- Mapbox GL JS
Next steps
Understand every parameter
Complete Directions API parameter and response reference
Learn the quotas
Free tier: 100 requests/day, 5 req/s — all the rules
