- Category: places & weather
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 13
- Triggers: 0
- Slug:
GRAPHHOPPER - Version: 20261101_00
- Instant: Supported on the latest version. Support varies by tool.
Tools
Capacity Clustering
Capacity Clustering
Slug:
GRAPHHOPPER_CLUSTER_POSTSolve capacity-constrained clustering problems by assigning customers to clusters while minimizing total travel distance. Useful for delivery zone planning, sales territory optimization, and workload balancing. Supports car, bike, and foot routing profiles. Note: Free tier limited to 5 customers per request.Instant: Supported on the latest version.Instant pricing: $0.004 per 10 API credits. Credit usage varies by request.Input Parameters
Optional pre-defined cluster centers. If omitted, cluster centers are computed automatically. Length must equal num_clusters if provided.
Output
GraphHopper Geocoding
GraphHopper Geocoding
Slug:
GRAPHHOPPER_GEOCODE_GETTool to perform forward or reverse geocoding. Use when converting between textual addresses and latitude/longitude coordinates.Instant: Supported on the latest version.Instant pricing: $0.004 per 10 API credits. Credit usage varies by request.Input Parameters
Text to geocode (forward geocoding). Required when reverse=false; must be omitted if reverse=true.
Your GraphHopper API key. If not provided, it will be automatically injected from the connection.
Coordinate ‘lat,lon’. Required when reverse=true; for forward geocoding, acts as location bias.
Search radius. Default: km for provider=default when reverse=true; meters for provider=gisgraphy.
OSM tags to filter/include or exclude, e.g., ‘tourism:museum’ or ‘!tourism:museum’. Only provider=default.
Output
Get Cluster Solution
Get Cluster Solution
Get Matrix
Get Matrix
Slug:
GRAPHHOPPER_GET_MATRIXTool to compute a distance and/or time matrix using GET request with query parameters. Use for simpler matrix requests with query parameters instead of POST body.Instant: Supported on the latest version.Instant pricing: $0.004 per 10 API credits. Credit usage varies by request.Input Parameters
Specify multiple points in ‘latitude,longitude’ format for which the matrix should be calculated. The starts are identical to the destinations. If there are N points, then NxN entries will be calculated. Specify at least three points. Cannot be used together with from_point or to_point.
The routing profile. It determines the network, speed and other physical attributes used when computing the route. Valid values include ‘car’, ‘bike’, ‘foot’, ‘hike’, ‘mtb’, ‘racingbike’, ‘scooter’, ‘truck’, and ‘small_truck’.
Optional parameter. Specifies on which side a point should be relative to the driver when she leaves/arrives at a start/target/via point. Must be ‘any’, ‘left’, or ‘right’. Specify for either none or all points.
The destination points for the routes in ‘latitude,longitude’ format. Use together with from_point for asymmetric matrices.
Specifies whether or not the matrix calculation should return with an error as soon as possible in case some points cannot be found or some points are not connected. If set to false, the matrix will be calculated for all valid points and contain null values for entries that could not be calculated.
Specifies which arrays should be included in the response. Specify one or more of ‘weights’, ‘times’, ‘distances’. The units of distances are meters, times are seconds, and weights are arbitrary.
The origin points for the routes in ‘latitude,longitude’ format. Use together with to_point for asymmetric matrices.
Optional parameter. Specifies a hint for each point parameter to prefer a certain street for the closest location lookup.
For the to_point parameter. Specifies a hint to prefer a certain street for the closest location lookup.
For the from_point parameter. Specifies a hint to prefer a certain street for the closest location lookup.
Optional parameter to prevent snapping to specific types of roads. Supported values: ‘motorway’, ‘trunk’, ‘ferry’, ‘tunnel’, ‘bridge’, ‘ford’.
Output
Get Matrix Solution
Get Matrix Solution
GET Route
GET Route
Slug:
GRAPHHOPPER_GET_ROUTETool to calculate the best path connecting two or more points using simple GET request. Use when you need basic routing with query parameters.Instant: Supported on the latest version.Instant pricing: From $0.004 per 10 routes; varies with route optionsInput Parameters
Route waypoints as ‘latitude,longitude’ strings. Specify at least origin and destination. Via points are possible. Example: [‘51.131,12.414’, ‘48.224,3.867’]
Path detail types to include. Available: ‘street_name’, ‘street_ref’, ‘street_destination’, ‘leg_time’, ‘leg_distance’, ‘roundabout’, ‘country’, ‘time’, ‘distance’, ‘max_speed’, ‘max_weight’, ‘max_width’, ‘toll’, ‘road_class’, ‘road_class_link’, ‘road_access’, ‘road_environment’, ‘hazmat’, ‘hazmat_tunnel’, ‘hazmat_water’, ‘lanes’, ‘surface’, ‘smoothness’, ‘hike_rating’, ‘mtb_rating’, ‘foot_network’, ‘bike_network’
Preferred heading direction for each point in degrees (0-360, north-based clockwise). Specify one for start or one per point. Requires ch.disable=true.
The routing profile determining network, speed, and physical attributes. Common values: ‘car’, ‘bike’, ‘foot’, ‘motorcycle’, ‘mtb’, ‘racingbike’, ‘hike’. Default: ‘car’
Side of the road for leaving/arriving at each point. Specify for all points or none. Only for motor vehicles.
If ‘true’, reorders points to minimize total travel time. Applies route optimization limits and increases the price.
Special routing algorithm. ‘round_trip’: returns to start with randomness. ‘alternative_route’: provides multiple route options.
Include altitude as third coordinate in response. Changes format of points and snapped_waypoints fields.
Enable flexible mode to use custom_model or advanced options below. Set to true for heading, algorithm, etc.
Prevent snapping to specific road types. Values: ‘motorway’, ‘trunk’, ‘ferry’, ‘tunnel’, ‘bridge’, ‘ford’
Maximum similarity factor between alternative and optimal route. Requires algorithm=‘alternative_route’.
Maximum factor by which alternatives can be longer than optimal route. Requires algorithm=‘alternative_route’.
Output
Get Isochrone
Get Isochrone
Slug:
GRAPHHOPPER_ISOCHRONE_GETTool to compute isochrone polygons for a given point. Use when you need to determine areas reachable within time or distance constraints.Instant: Supported on the latest version.Instant pricing: $0.004 per 10 API credits. Credit usage varies by request.Input Parameters
Start location as ‘latitude,longitude’, e.g., ‘52.529407,13.397634’. Must be a valid coordinate string.
Number of isochrone rings/buckets to return. Divides time_limit/distance_limit into intervals to create nested isochrones. Default is 1.
Routing profile supported by the target Directions API, for example ‘car’, ‘bike’, or ‘foot’. Public transit requires separate GTFS/departure-time inputs that this action does not expose. Required.
Maximum travel time in seconds from the start point. Either time_limit or distance_limit must be provided. Default is 600 seconds if neither is specified by the API.
Direction of reachability calculation. False (default): areas reachable FROM the point. True: areas FROM which the point can be reached.
Maximum travel distance in meters from the start point. Either time_limit or distance_limit must be provided.
Output
Calculate Matrix
Calculate Matrix
Slug:
GRAPHHOPPER_MATRIX_POSTTool to calculate distance, time, or weight matrices via POST. Use when you have multiple origins/destinations or a symmetric point set and need a single batch request.Instant: Supported on the latest version.Instant pricing: $0.004 per 10 API credits. Credit usage varies by request.Input Parameters
Output
Get Custom Profiles
Get Custom Profiles
Slug:
GRAPHHOPPER_PROFILES_GETList custom routing profiles for your GraphHopper account using your own API key. These profiles customize routing behavior and can be used with GraphHopper routing services. The result can be empty if no profiles are returned or the feature is not activated for the account.Output
POST Route
POST Route
Submit Matrix Job
Submit Matrix Job
Map Match GPX Track
Map Match GPX Track
Slug:
GRAPHHOPPER_UPLOAD_GPX_FILEMap-match GPX track points to the road network using your own GraphHopper API key. Results can include matched geometry, distances, travel times, road details and navigation instructions.Input Parameters
Locale for turn instructions. Examples: ‘en’ (English), ‘de’ (German), ‘pt_PT’ (Portuguese), ‘fr’ (French).
Routing profile for map matching. Determines which road network and speed attributes are used. Common values: ‘car’ (default), ‘foot’, ‘bike’, ‘motorcycle’.
GPX XML content containing GPS track points. Must be valid GPX format with at least one track segment (<trkseg>) containing track points (<trkpt> with lat/lon attributes).
If true (default), coordinates are encoded using Google’s polyline algorithm. Set to false for plain GeoJSON-style coordinates.