Skip to main content
POST
/
routing
/
route
Calculate route
curl --request POST \
  --url https://staging.api.fryte.xyz/routing/route \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "departure": "48.7758,9.1829",
  "destination": "52.5200,13.4050"
}
'
{
  "route_data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.fryte.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
departure
string
required

Departure coordinates as "latitude,longitude".

destination
string
required

Destination coordinates as "latitude,longitude".

Response

Successful Response

route_data
Route Data · object
required

Route geometry, distance, and duration.