UnifyAPI
← Back to catalog

geo.distance

mock data$0.003 / call

Distance Matrix

Driving distance and duration between two coordinates.

Geo & Mapsprovider: Mapbox#geo#routing

Input schema

torequired

lat,lon

string
fromrequired

lat,lon

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/geo.distance \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"to":"<to>","from":"<from>"}'

Try it

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