Skip to content
Dennis Luxen edited this page Jan 16, 2015 · 35 revisions

We are in principle happy for our demo server to be queried from external users. We don't give any guarantees though and expect anyone to adhere to the following rules:

  • Excessive use (e.g. distance tables by requesting individual distances) is not allowed. See below for how to do this properly.
  • Clearly display appropriate data license attribution (ODbL) and the source of your routes (OSRM).
  • Valid User-Agent identifying application. Faking another app's User-Agent WILL get you blocked.
  • If known, a valid HTTP Referer. See Wikipedia for an explanation.

API Implementation

We expect all external users to implement the API as efficiently as possible. The following is a must:

  • the coordinate hinting mechanism needs to be implemented.
  • The route geometry is compressed by an implementation of Googles Polyline Algorithm Format with a precision of six digits. See here for a proper JavaScript implementation.

Distance Tables

Distance table computation by requesting a quadratic number of individual distances is not allowed. It is regarded as excessive usage.

Instead use the table API call.

Server name

The server is reachable on host router.project-osrm.org and serves http as well as encrypted https traffic.

Register your external App/Service/Whatever

Write a mail to [email protected] to let us know that you are using our service.

Changes to this policy

This policy may change at any time subject to the needs and constraints of the project. Commercial services, or those that seek donations, should be especially aware that access may be withdrawn at any point: you may no longer be able to serve your paying customers if access is withdrawn.

Blocked IPs

The following IPs and subnets have been black listed for repeated violation of the usage policy

  • 150.70.97.0/24

  • 150.70.172.0/24

  • 150.70.173.0/24

  • 109.91.194.250

  • 176.73.143.217

  • 178.134.34.29

  • 178.202.60.220

  • 178.4.5.160

  • 178.95.7.107

  • 188.102.27.66

  • 188.169.60.3

  • 188.96.236.78

  • 217.245.254.23

  • 217.251.133.181

  • 217.8.49.153

  • 37.24.144.69

  • 37.24.145.15

  • 46.214.114.33

  • 46.214.126.41

  • 46.49.31.46

  • 77.12.138.169

  • 77.12.42.9

  • 78.50.19.32

  • 79.228.168.123

  • 79.253.51.205

  • 80.128.89.127

  • 80.131.194.56

  • 80.187.96.237

  • 80.187.96.63

  • 80.187.97.36

  • 82.82.160.6

  • 82.82.166.126

  • 82.83.32.51

  • 82.83.49.186

  • 84.136.121.25

  • 84.152.139.245

  • 85.178.144.212

  • 85.206.77.89

  • 86.106.49.124

  • 86.122.55.174

  • 86.38.15.135

  • 87.148.117.54

  • 87.154.112.187

  • 87.154.118.219

  • 87.184.153.159

  • 88.153.137.29

  • 88.68.203.166

  • 88.70.87.64

  • 88.71.228.175

  • 88.76.181.229

  • 91.23.23.142

  • 92.225.94.79

  • 92.231.94.226

  • 92.76.3.98

  • 93.129.96.106

  • 93.211.85.132

  • 94.43.21.87

Credits

We thank the OSM Tile Usage Policy that served as a skeleton for this page.