---
title: "Get a route"
method: GET
path: "/v3/lds/routing"
tags: ["LDS"]
---

# Get a route

`GET /v3/lds/routing`

Returns a route between two points.

Routing is only available when your organization's provider is HERE, TomTom
or TravelTime.

## Query parameters

- `origin` string, required
- `destination` string, required
- `mode` string, required
- `waypoints` string
- `options` string

## Response `200`

The route.

- object
  - `error` string, nullable
  - `value` object
    - `origin` number[]
    - `destination` number[]
    - `route` object, nullable — The route geometry, as GeoJSON.
    - `provider` string
    - `metadata` object — The raw response from the provider.

## Other responses

- `400` — The request is malformed or a parameter failed validation.
- `401` — The token is missing, malformed or expired.
- `403` — The token doesn't grant access to this resource.
- `429` — You went over the [rate limit](#rate-limits) for this API.

---

[API](https://skmtc.net/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.net/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/carto-api/revisions/019f79ecdd6c/schema)
