← Back to catalog
geo.routing
mock data$0.005 / callRouting / Directions (Geoapify)
Get turn-by-turn driving, walking, cycling, or transit directions between two points with distance and time (Geoapify/OSM)
Input schema
lang
stringTurn-by-turn instruction language (e.g. "en", "de"). Default: English.
mode
stringTravel mode: drive, walk, bicycle, or transit. Default: drive.
units
stringDistance units: metric (km) or imperial (miles). Default: metric.
dest_latrequired
numberDestination latitude (e.g. 48.8566)
dest_lonrequired
numberDestination longitude (e.g. 2.3522)
origin_latrequired
numberStart point latitude (e.g. 40.7128)
origin_lonrequired
numberStart point longitude (e.g. -74.0060)
Call via REST
curl -X POST https://unifyapi.pro/api/call/geo.routing \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"lang":"<lang>","mode":"<mode>","units":"<units>","dest_lat":0,"dest_lon":0,"origin_lat":0,"origin_lon":0}'