# Graphhopper

GraphHopper Directions API provides enterprise-grade routing services, including route planning, optimization, geocoding, and more, for various vehicle types.

- **Category:** developer tools
- **Auth:** API_KEY
- **Tools:** 13
- **Triggers:** 0
- **Slug:** `GRAPHHOPPER`
- **Version:** 20260217_00

## Tools

### Capacity Clustering

**Slug:** `GRAPHHOPPER_CLUSTER_POST`

Solve 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.

### GraphHopper Geocoding

**Slug:** `GRAPHHOPPER_GEOCODE_GET`

Tool to perform forward or reverse geocoding. Use when converting between textual addresses and latitude/longitude coordinates.

### Get Cluster Solution

**Slug:** `GRAPHHOPPER_GET_CLUSTER_SOLUTION`

Tool to retrieve the solution of an asynchronous clustering job. Use when you have a job ID from a previous cluster calculation request and need to fetch the results.

### Get Matrix

**Slug:** `GRAPHHOPPER_GET_MATRIX`

Tool 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.

### Get Matrix Solution

**Slug:** `GRAPHHOPPER_GET_MATRIX_SOLUTION`

Tool to retrieve the result of an asynchronous matrix computation job. Use when you have a job ID from a previous matrix calculation request and need to check if it's finished and get the results.

### GET Route

**Slug:** `GRAPHHOPPER_GET_ROUTE`

Tool to calculate the best path connecting two or more points using simple GET request. Use when you need basic routing with query parameters.

### Get Isochrone

**Slug:** `GRAPHHOPPER_ISOCHRONE_GET`

Tool to compute isochrone polygons for a given point. Use when you need to determine areas reachable within time or distance constraints.

### Calculate Matrix

**Slug:** `GRAPHHOPPER_MATRIX_POST`

Tool 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.

### Get Custom Profiles

**Slug:** `GRAPHHOPPER_PROFILES_GET`

Retrieve all custom routing profiles for your GraphHopper account. Custom profiles allow you to customize routing behavior (e.g., avoid certain roads, limit speeds, prefer certain road types). Use this tool to list available custom profiles that can be used with the Routing, Matrix, and Route Optimization APIs. Note: Custom profiles feature requires a premium GraphHopper package. If not enabled on your account, this returns an empty list.

### POST Route

**Slug:** `GRAPHHOPPER_ROUTE_POST`

Tool to calculate complex routes via POST /route. Use when you need advanced route planning with custom parameters.

### Submit Matrix Job

**Slug:** `GRAPHHOPPER_SUBMIT_MATRIX_JOB`

Tool to submit a matrix computation job for asynchronous processing. Use for large matrices that exceed synchronous limits. Returns a job ID to retrieve results later.

### Map Match GPX Track

**Slug:** `GRAPHHOPPER_UPLOAD_GPX_FILE`

Map-match a GPX track using GraphHopper's Map Matching API. This tool takes GPS track points in GPX format and snaps them to the digital road network. It's useful for: - Cleaning noisy GPS data by aligning points to actual roads - Getting accurate route distances and travel times from recorded GPS tracks - Attaching road information (street names, surfaces) to GPS traces - Generating turn-by-turn instructions for recorded trips The API uses the Viterbi algorithm to find the most likely sequence of road segments that match the input GPS points, accounting for GPS measurement noise.

### GraphHopper VRP POST

**Slug:** `GRAPHHOPPER_VRP_POST`

Tool to initiate VRP optimization. Use when you need to solve vehicle routing problems synchronously.
