Skip to main content
GET
/
v1
/
geo
/
polyline-length
Polyline Length
curl --request GET \
  --url https://api.example.com/v1/geo/polyline-length \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

polyline
string
required

Polyline points as lat1,lon1;lat2,lon2;lat3,lon3...

unit
string
default:km

Unit: km or mi

Response

Successful Response