Skip to content
Navo24Navo24
GETAPI key

Road path between two points

GETapi.navo24.com/v1/parcel/path

Road geometry between two lat,lng points on the Navo road graph (Distance & Time), so a parcel map draws the road and not a straight line. coords trimmed in the example.

Query parameters

fromstringrequired

Start as lat,lng.

tostringrequired

End as lat,lng.

Response schema

4 fields

Derived from the example response, nested as the JSON is.

dataobject

The payload. Everything an endpoint returns sits under this key.

kmnumber
hoursnumber
coordsnumber[][]

Errors

A failure carries { "ok": false, "error": { "code", "message", "severity" } }. Branch on the code, and log the message.

missing_key401

No key in Authorization or x-api-key.

invalid_key401

The key is unknown or revoked.

rate_limited429

More than 40 requests in one minute from one client.

invalid_point400

from or to is not lat,lng.

no_route404

No road route between these points.

curl 'https://api.navo24.com/v1/parcel/path?from=52.2297%2C21.0122&to=52.5200%2C13.4050' \
  -H "Authorization: Bearer tmcp_YOUR_API_KEY"
Response
{
  "data": {
    "km": 572.9,
    "hours": 7.3,
    "coords": [
      [
        21.01226,
        52.22969
      ],
      [
        21.01204,
        52.23009
      ]
    ]
  }
}