API for route generation and city suggestion


This api is currently a (full-working) prototype only. We are searching for cooperation.
If you are interested, please contact us via:
yourtravelroute < at ) gmail . com
Please notice that we can not offer this api for free because of server costs.


Try it

Example link

Most parameters should be self explaining. The response is a JSON Object with this schema:

Cities: List of all used cities with IDs.
Routes: Array of array of Segments
Segments: [] = Ordered information about which City (by city ID) and recommended stay duration


Example for the query json object:
{
"tagsfirst":[

],
"roundTripInverse":false,
"tagssecond":"",
"climate":[
    "comfort",
    "warm"
],
"language":"",
"traveltype":"backpacking",
"visa":"dontcare",
"exotic":"",
"hotprice":"",
"include":[

],
"exclude":[

],
"passport":50015,
"expenditures":2,
"timerange":"8/20/2019,9/19/2019",
"duration_min":6,
"duration_max":7,
"durationSlider":7,
"budget_min":489,
"budget_max":1132,
"budgetSlider":790.63,
"endcity_name":"Fira,",
"startcity_name":"Fira,",
"mustVisit":[

],
"mustConnections":[

],
"travelspeed":"normal",
"transtype":"public",
"longtransfer":"sometimes",
"conditionProp":{
    "startCity":null,
    "endCity":null,
    "mustVisit":[

    ],
    "mustConnections":[

    ],
    "other":{
        "include":[

        ]
    }
},
"type":"generate",
"routeid":-1,
"routehash":"",
"temperatures_const":[
    {
        "category":"hot",
        "min":25,
        "max":99
    },
    {
        "category":"warm",
        "min":17,
        "max":25
    },
    {
        "category":"comfort",
        "min":10,
        "max":17
    },
    {
        "category":"cold",
        "min":3,
        "max":10
    },
    {
        "category":"snow",
        "min":-99,
        "max":3
    }
],
"priority":3
}