UnifyAPI
← Back to catalog

geo.routing

mock data$0.005 / call

Routing / Directions (Geoapify)

Get turn-by-turn driving, walking, cycling, or transit directions between two points with distance and time (Geoapify/OSM)

Geo & Mapsprovider: Geo#geo#geo

Input schema

lang

Turn-by-turn instruction language (e.g. "en", "de"). Default: English.

string
mode

Travel mode: drive, walk, bicycle, or transit. Default: drive.

string
units

Distance units: metric (km) or imperial (miles). Default: metric.

string
dest_latrequired

Destination latitude (e.g. 48.8566)

number
dest_lonrequired

Destination longitude (e.g. 2.3522)

number
origin_latrequired

Start point latitude (e.g. 40.7128)

number
origin_lonrequired

Start point longitude (e.g. -74.0060)

number

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}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.