← Tools Reference

GraphHopper

GraphHopper integration (Location, Developer Tools). Imported from open-connector.

API key5 toolshttps://graphhopper.com/api/1
GET
graphhopper_calculate_route
Calculate the best route connecting two or more coordinates with the GraphHopper Routing API.

/route

23 parameters
ParamTypeRequiredDescription
pointarrayrequiredRoute waypoints in `latitude,longitude` format.
profilestringoptionalThe GraphHopper routing profile, such as `car`, `bike`, `foot`, or a custom pro…
localestringoptionalThe locale for turn instructions, such as `en`, `de`, or `fr`.
pointHintarrayoptionalOptional road name hints for snapping each route waypoint.
snapPreventionarrayoptionalRoad types that should be avoided while snapping input points.
curbsidearrayoptionalCurbside preferences for each route waypoint.
detailsarrayoptionalPath detail types to include in the route response.
optimizebooleanoptionalWhether GraphHopper should reorder more than two points to reduce travel time.
instructionsbooleanoptionalWhether GraphHopper should return turn-by-turn instructions.
calcPointsbooleanoptionalWhether GraphHopper should calculate route geometry points.
pointsEncodedbooleanoptionalWhether GraphHopper should return encoded polyline geometry.
elevationbooleanoptionalWhether GraphHopper should include altitude as a third coordinate.
debugbooleanoptionalWhether GraphHopper should format debug output.
chDisablebooleanoptionalWhether to enable flexible mode for advanced routing options.
headingarrayoptionalPreferred heading directions in degrees, north-based clockwise.
headingPenaltyintegeroptionalThe time penalty in seconds for not obeying heading.
passThroughbooleanoptionalWhether GraphHopper should avoid u-turns at via-points.
algorithmstringoptionalThe special route algorithm to use.
roundTripDistanceintegeroptionalThe approximate round-trip length in meters.
roundTripSeedintegeroptionalThe random seed used for deterministic round-trip results.
alternativeRouteMaxPathsintegeroptionalThe maximum number of alternative routes.
alternativeRouteMaxWeightFactornumberoptionalThe maximum factor by which alternative routes may be longer than the optimal r…
alternativeRouteMaxShareFactornumberoptionalThe maximum similarity factor between an alternative route and the optimal rout…
GET
graphhopper_geocode
Convert text to coordinates or coordinates to place candidates with the GraphHopper Geocoding API.

/geocode

7 parameters
ParamTypeRequiredDescription
qstringoptionalThe textual address or place query for forward geocoding.
pointstringoptionalThe `latitude,longitude` location bias for forward geocoding or target coordina…
reversebooleanoptionalWhether to perform reverse geocoding. When true, point is required and q must b…
localestringoptionalThe locale used for localized geocoding results.
limitintegeroptionalThe maximum number of geocoding results to return.
providerstringoptionalThe GraphHopper geocoding provider, such as `default`, `nominatim`, `gisgraphy`…
debugbooleanoptionalWhether GraphHopper should format debug output.
GET
graphhopper_compute_matrix
Compute a synchronous travel time, distance, or weight matrix with the GraphHopper Matrix API.

/matrix

13 parameters
ParamTypeRequiredDescription
pointarrayoptionalPoints in `latitude,longitude` format used as both origins and destinations.
fromPointarrayoptionalOrigin points in `latitude,longitude` format.
toPointarrayoptionalDestination points in `latitude,longitude` format.
profilestringoptionalThe GraphHopper routing profile, such as `car`, `bike`, `foot`, or a custom pro…
pointHintarrayoptionalHints for point entries.
fromPointHintarrayoptionalHints for origin points.
toPointHintarrayoptionalHints for destination points.
snapPreventionarrayoptionalRoad types that should be avoided while snapping matrix points.
curbsidearrayoptionalCurbside preferences for point entries.
fromCurbsidearrayoptionalCurbside preferences for origin points.
toCurbsidearrayoptionalCurbside preferences for destination points.
outArrayarrayoptionalMatrix arrays to include in the response.
failFastbooleanoptionalWhether GraphHopper should fail immediately when points cannot be resolved.
GET
graphhopper_compute_isochrone
Compute GeoJSON isochrone polygons around a coordinate with the GraphHopper Isochrone API.

/isochrone

6 parameters
ParamTypeRequiredDescription
pointstringrequiredA coordinate string in `latitude,longitude` format.
profilestringoptionalThe GraphHopper routing profile, such as `car`, `bike`, `foot`, or a custom pro…
timeLimitintegeroptionalThe travel time limit in seconds.
distanceLimitintegeroptionalThe travel distance limit in meters.
bucketsintegeroptionalThe number of nested isochrone buckets to return.
reverseFlowbooleanoptionalWhether the flow should go from polygons toward the point.
GET
graphhopper_list_profiles
List custom routing profiles available to the GraphHopper API key.

/profiles