---
title: "Calculate route between two points."
method: GET
path: "/route/calculate"
tags: ["Routing | Route"]
---

# Calculate route between two points.

`GET /route/calculate`

Calculates the optimal route distance in meters and driving time in seconds between a start and end coordinate.

## Query parameters

- `startLatLng` string, required
- `endLatLng` string, required

## Response `200`

Success Response:

- StandardRoutingRouteResponse
  - `distance` number — The distance of the route in meters.
  - `drivingTime` number — The duration of the route in seconds.

---

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