GraphHopper

API

Fast A-to-B routing API with turn-by-turn navigation instructions

Visit Website

Overview

GraphHopper provides RESTful endpoints (e.g., /route) for A-to-B routing with detailed turn-by-turn instructions. Responses are JSON-formatted, including step-by-step directions, distance/duration stats, route geometry, and mode-specific (car, bike, foot, transit) optimizations. It supports customizations like avoiding tolls or prioritizing eco-friendly routes. Ideal for building navigation apps, logistics fleet management tools, fitness trackers with route planning, and location-based services requiring accurate, high-performance routing data.

Example Integration (JavaScript)

script.js JS

fetch('https://docs.graphhopper.com/')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • JSON response format
  • Turn-by-turn navigation instructions
  • Multiple transport modes (car, bike, foot, transit)
  • Customizable route preferences (avoid tolls, eco-friendly)
  • High-performance routing engine

Frequently Asked Questions

? Is GraphHopper free to use?

Yes, GraphHopper offers a freemium model with a free tier (limited monthly requests) and paid plans for higher usage, advanced features like real-time traffic, and commercial licenses.

? Does it require an API Key?

Yes, an API key is mandatory for authentication. You can get one by signing up on the GraphHopper website and accessing your dashboard.

? What is the response format?

All responses are in JSON, including route geometry, step-by-step turn instructions, distance/duration metrics, and mode-specific route details.

Top Alternatives

People Also Ask about GraphHopper

GraphHopper 2025 review

Tool Info

Pricing Freemium
Category Transportation
Platform Public API

Pros

  • Easy-to-integrate RESTful endpoints
  • Flexible transport mode options
  • Detailed step-by-step instructions
  • Freemium pricing for small-scale applications
  • Open-source core (self-hosting option available)

Cons

  • Rate limits apply to the free tier
  • Advanced features (real-time traffic, matrix routing) require paid plans
  • Limited support for certain regional transit systems in basic tiers

More Transportation Tools