Back to services

OpenRouteService

Route service with directions, isochrones, time-distance matrix, route optimization, etc.

View alternatives to OpenRouteService
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

OpenRouteService (ORS) is an open-source route planning and geospatial analysis service built on OpenStreetMap data. It is developed and maintained by HeiGIT gGmbH, a non-profit organization in Heidelberg, Germany. There are two ways to use it: through the officially hosted HTTP API, or by deploying the backend on your own server.

Note: When the official website was crawled, openrouteservice.org was temporarily offline because of a PHP security vulnerability, and the interactive API documentation was also inaccessible. The API service itself remained available, and the entry points for account registration and the backend documentation were not affected.

Key Features

  • Directions: Calculates routes between two or more points and supports multiple modes of travel, such as driving, trucks, cycling, walking, and wheelchair.
  • Isochrones: Calculates the area reachable within a given time or distance.
  • Matrix (distance/time): Calculates distances and travel times from multiple origins to multiple destinations in a single request.
  • Other APIs: Also offers geocoding, points-of-interest queries, elevation queries, route optimization, and more. For exactly which endpoints are available and how to use them, refer to the official documentation.

Using the Hosted API

  1. Sign up for a HeiGIT account at account.heigit.org/signup. A free Standard API Key comes with the account.
  2. View your Key's details and usage in the dashboard.
  3. Use this Key to call the various ORS endpoints. For quota limits and reset times, see the official FAQ.

Self-Hosting

The ORS backend is open source and can be deployed on your own infrastructure. Installation, configuration, and technical details are all covered in the ORS backend documentation. Self-hosting is a good fit in these situations:

  • Your request volume exceeds the free quota;
  • You need to use custom or local OSM data;
  • You have data privacy requirements, or need offline or intranet use.

Note that building the routing graph takes a significant amount of memory, and the larger the area your data covers, the more resources you will need.

Target Users

  • Developers building mapping, logistics, and mobility applications
  • GIS analysts and researchers doing accessibility analysis
  • Urban planners and public-sector bodies planning the coverage of public services
  • Teams that want an open-source alternative to commercial map APIs (such as the Google Maps Directions API)

Core Strengths

  • Open source: Built on open OSM data, so you are not locked into a single commercial platform
  • Flexible deployment: Use the free hosted API, or self-host entirely
  • Many travel modes: Supports specialized routing for trucks, cycling, accessible travel, and more
  • Academic background: HeiGIT, the organization behind it, is an academic non-profit that also develops projects such as ohsome (analysis of OSM historical data) and Climate Action