## Compute Routes Overview

### Introduction

Compute Routes is a method in the Routes API service that accepts an HTTPS request and returns the ideal route between two locations. Provide directions with real-time traffic for car, motorcycle, bicycle, or foot between multiple locations.

### Why use Compute Routes

With Compute Routes, with a wide range of route details you can route your vehicles or packages according to your preferences while optimizing for cost and quality.

### What you can do with Compute Routes?

With the Routes API `Compute Routes` method, you can do the following things:

- **Get directions for different ways to travel**, and for a single or multiple destinations.


### How Compute Routes works

The Routes API ComputeRoutes method accepts an HTTP GET request with query parameters that contains the request details.

> Example:


```bash
curl -X GET \
-H 'Content-Type: application/json' \
'https://dplace-api.themap.world/navigation/route/v1/car/106.69383688435087,10.783003058597059;106.696304,10.787177?alternatives=true&steps=true&geometries=polyline6&overview=full&annotations=true&apikey=YOUR_API_KEY'
```

The service then calculates the requested route, and returns the fields you've requested.