logistics

Routing

Etas, routes and turn by turn directions

Introduction

A simpler, faster and cheaper alternative to the Google Maps API. Get etas, routes, and turn by turn directions all from OpenStreetMap data.

Features

Directions

Turn by turn directions from a start point to an end point including maneuvers and bearings

Eta

Get the eta for a route from origin to destination. The eta is an estimated time based on car routes

Route

Retrieve a route as a simple list of gps points along with total distance and estimated duration

Pricing

EndpointCredits
Directions0.015
Eta0.015
Route0.015

Base requests are 0.000001 credit per request (1 credit = $1 USD)

Example

Directions Request

Response

{
    "directions": [
        {
            "name": "Torstraße",
            "instruction": "depart ",
            "distance": 748.7000122070312,
            "duration": 122.4000015258789,
            "maneuver": {
                "bearing_after": 265,
                "location": {
                    "latitude": 52.529432,
                    "longitude": 13.397627
                },
                "action": "depart"
            },
            "intersections": [
                {
                    "location": {
                        "latitude": 52.529432,
                        "longitude": 13.397627
                    },
                    "bearings": [
                        265
                    ]
                },
                {
                    "location": {
                        "latitude": 52.529429,
                        "longitude": 13.397565
                    },
                    "bearings": [
                        90,
                        180,
                        255,
                        345
                    ]
                },
                {
                    "location": {
                        "latitude": 52.528996,
                        "longitude": 13.395724
                    },
                    "bearings": [
                        75,
                        255,
                        345
                    ]
                },
                {
                    "location": {
                        "latitude": 52.528526,
                        "longitude": 13.393814
                    },
                    "bearings": [
                        75,
                        135,
                        255,
                        315
                    ]
                },
                {
                    "location": {
                        "latitude": 52.528233,
                        "longitude": 13.392425
                    },
                    "bearings": [
                        75,
                        165,
                        255
                    ]
                },
                {
                    "location": {
                        "latitude": 52.528032,
                        "longitude": 13.391396
                    },
                    "bearings": [
                        75,
                        255,
                        330
                    ]
                },
                {
                    "location": {
                        "latitude": 52.527549,
                        "longitude": 13.389147
                    },
                    "bearings": [
                        75,
                        255,
                        345
                    ]
                }
            ]
        },
        {
            "name": "Friedrichstraße",
            "instruction": "turn left",
            "distance": 1151,
            "duration": 135.8000030517578,
            "maneuver": {
                "bearing_before": 251,
                "bearing_after": 257,
                "location": {
                    "latitude": 52.527166,
                    "longitude": 13.387215
                },
                "action": "turn",
                "direction": "left"
            },
            "intersections": [
                {
                    "location": {
                        "latitude": 52.527166,
                        "longitude": 13.387215
                    },
                    "bearings": [
                        75,
                        180,
                        255,
                        330
                    ]
                },
                {
                    "location": {
                        "latitude": 52.527137,
                        "longitude": 13.386982
                    },
                    "bearings": [
                        75,
                        165,
                        255,
                        330
                    ]
                },
                {
                    "location": {
                        "latitude": 52.526374,
                        "longitude": 13.387144
                    },
                    "bearings": [
                        0,
                        75,
                        180
                    ]
                },
                {
                    "location": {
                        "latitude": 52.526292,
                        "longitude": 13.387156
                    },
                    "bearings": [
                        0,
                        120,
                        180
                    ]
                },
                {
                    "location": {
                        "latitude": 52.525018,
                        "longitude": 13.387368
                    },
                    "bearings": [
                        0,
                        180,
                        255
                    ]
                },
                {
                    "location": {
                        "latitude": 52.523863,
                        "longitude": 13.387568
                    },
                    "bearings": [
                        0,
                        90,
                        180,
                        255
                    ]
                },
                {
                    "location": {
                        "latitude": 52.522524,
                        "longitude": 13.387885
                    },
                    "bearings": [
                        0,
                        180,
                        225
                    ]
                },
                {
                    "location": {
                        "latitude": 52.52175,
                        "longitude": 13.388024
                    },
                    "bearings": [
                        0,
                        60,
                        180,
                        225
                    ]
                },
                {
                    "location": {
                        "latitude": 52.520332,
                        "longitude": 13.388224
                    },
                    "bearings": [
                        0,
                        90,
                        180,
                        285
                    ]
                },
                {
                    "location": {
                        "latitude": 52.520298,
                        "longitude": 13.388228
                    },
                    "bearings": [
                        0,
                        180
                    ]
                },
                {
                    "location": {
                        "latitude": 52.519905,
                        "longitude": 13.388272
                    },
                    "bearings": [
                        0,
                        180
                    ]
                },
                {
                    "location": {
                        "latitude": 52.519822,
                        "longitude": 13.38828
                    },
                    "bearings": [
                        0,
                        195,
                        270
                    ]
                },
                {
                    "location": {
                        "latitude": 52.518716,
                        "longitude": 13.388544
                    },
                    "bearings": [
                        30,
                        90,
                        180,
                        270,
                        315
                    ]
                },
                {
                    "location": {
                        "latitude": 52.518027,
                        "longitude": 13.388643
                    },
                    "bearings": [
                        0,
                        90,
                        180,
                        270
                    ]
                },
                {
                    "location": {
                        "latitude": 52.517155,
                        "longitude": 13.388779
                    },
                    "bearings": [
                        0,
                        90,
                        180,
                        270
                    ]
                }
            ]
        },
        {
            "name": "Friedrichstraße",
            "instruction": "arrive ",
            "maneuver": {
                "bearing_before": 174,
                "location": {
                    "latitude": 52.517036,
                    "longitude": 13.388798
                },
                "action": "arrive"
            },
            "intersections": [
                {
                    "location": {
                        "latitude": 52.517036,
                        "longitude": 13.388798
                    },
                    "bearings": [
                        354
                    ]
                }
            ]
        }
    ],
    "waypoints": [
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.529432,
                "longitude": 13.397627
            }
        },
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.529429,
                "longitude": 13.397565
            }
        },
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.528996,
                "longitude": 13.395724
            }
        },
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.528526,
                "longitude": 13.393814
            }
        },
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.528233,
                "longitude": 13.392425
            }
        },
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.528032,
                "longitude": 13.391396
            }
        },
        {
            "name": "Torstraße",
            "location": {
                "latitude": 52.527549,
                "longitude": 13.389147
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.527166,
                "longitude": 13.387215
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.527137,
                "longitude": 13.386982
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.526374,
                "longitude": 13.387144
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.526292,
                "longitude": 13.387156
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.525018,
                "longitude": 13.387368
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.523863,
                "longitude": 13.387568
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.522524,
                "longitude": 13.387885
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.52175,
                "longitude": 13.388024
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.520332,
                "longitude": 13.388224
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.520298,
                "longitude": 13.388228
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.519905,
                "longitude": 13.388272
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.519822,
                "longitude": 13.38828
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.518716,
                "longitude": 13.388544
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.518027,
                "longitude": 13.388643
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.517155,
                "longitude": 13.388779
            }
        },
        {
            "name": "Friedrichstraße",
            "location": {
                "latitude": 52.517036,
                "longitude": 13.388798
            }
        }
    ],
    "distance": 1899.800048828125,
    "duration": 258.20001220703125
}