Urban Routes API

Optimizes public transport routes in real time with crowdsourced data, offering precise planning between coordinates, customized schedules and visualization of complete routes.

About the API:  

The Urban Routes API provides an advanced solution for integrating real-time public transport routes into your applications. With access to crowdsourced data from over 2000 cities, this API optimizes routes between two points with precision and flexibility, adapting to customized schedules and specific user needs. Its main features include route planning based on current data, configurations of departure or arrival times, and inclusion of intermediate stops for detailed routes. Using information gathered from active public transport users, the API ensures that the results reflect the latest availability in each metropolitan area. In addition, it provides comprehensive route graphs for easy visualization on maps, ideal for navigation applications and transportation services. With simple integration and clear documentation, the API is tailored to users looking for an efficient tool to enhance the travel planning experience. Whether for mapping platforms, travel assistants or urban solutions, this API stands out for its versatility and accuracy.

Documentación de la API

Endpoints


Send origin, destination and departureTime parameters to the endpoint to obtain optimal public transport routes, adjusted to customized schedules and real-time data. 


Country Total | Cities  | Major Cities coverage

Argentina 14 Buenos Aires, Rosario

Armenia 2 Yerevan

Australia 28 Adelaide, Canberra, Melbourne, Sydney

Austria 10 Graz, Innsbruck, Linz, Salzburg, Vienna

Azerbaijan 8 Baku, Sumqayit

Belarus 156 Asipovichy , Babruysk, Baranovichy, Berezino, Borisov, Braslaw, Brest, Cherven, Dzerzhinsk, Gomel, Grodno, Kalinkavichy, Kletsk, Kobrin, Kopyl, Krupki, Lida, Logoisk, Luban, Maladzyechna, Maryina Horka, Minsk, Mogilev, Mozyr, Myadel, Navapolatsk, Nesvizh, Orsha, Pinsk, Pleschenitsy, Polotsk, Pruzhany, Rahachow, Rechytsa, Slutsk, Smalyavichy, Smorgon , Soligorsk, Stowbtsy , Svetlogorsk, Svislach, Uzda, Vileyka , Vitebsk, Volkovisk, Volozhin, Zhlobin, Zhodino

Belgium 4 Antwerp, Brussels

Bosnia and Herzegovina 4 Sarajevo


Brazil 61 Paco do Lumiar, Rio de Janeiro, Santo Andre (Sao Paulo), Sao Jose de Ribamar, São Luís, Sao Paulo
Bulgaria 15 Plovdiv, Sofia, Varna

Canada 7 Calgary, Edmonton, Montreal, Ottawa, Toronto, Vancouver

Canary Islands 4 Santa Cruz de Tenerife

Chile 5 Santiago, Valparaiso

China 16 Beijing, Shanghai

Croatia 7 Split, Zagreb

Cyprus 3 Limassol, Nicosia

Czech Republic 37 Brno, Karlovy Vary, Ostrava, Prague, Usti nad Labem, Zlin

Estonia 47 Haapsalu, jogeva, Kohtla-Jarve, Kuressaare, Maardu, Narva, Paide, Parnu, Polva, Rakvere, Rapla, Tallinn, Tartu, Tyrva, Valga, Viljandi, Voru

Faroe Islands 1 Torshavn

Finland 35 Espoo, Helsinki, Joensuu, Kirkkonummi, Kouvola, Kuopio, Tampere, Turku, Vantaa

France 33 Aix-les-Bains, Annecy, Grenoble, Lyon, Marseille, Nancy, Nantes, Nice, Paris, Toulouse

Georgia 15 Batumi, Kutaisi, Tbilisi

Germany 86 Berlin, Brandenburg, Cottbus, Dortmund, Duisburg, Eberswalde, Frankfurt (Oder), Frankfurt am Main, Luebben (Spreewald), Munich, Potsdam, Schwedt, Strausberg, Wolfsburg, Zehdenick

Greece 11 Athens, Thessaloniki

Hong Kong 2 Hong Kong

Hungary 20 Budapest, Debrecen

India 21 Bengaluru, Mumbai, Pune

Indonesia 40 Bandung, Jakarta, Kupang, Makassar, Malang, Manado, Semarang, Surabaya, Yogyakarta

Italy 35 Milan, Rome

Japan 28 Ichihara, Tokyo

Kazakhstan 42 Aktobe, Almaty, Atyrau, Karaganda, Kokshetau, Kostanay, Nur-Sultan, Pavlodar, Petropavlovsk, Semey, Shymkent, Uralsk, Ust-Kamenogorsk

Kyrgyzstan 10 Bishkek

Latvia 40 Aizkraukle, Aluksne, Balvi, Bauska, Cesis, Daugavpils, Dobele, Gulbene, Jekabpils, Jelgava, Liepaja, Madona, Ogre, Preili, Rezekne, Riga, Saldus, Talsi, Tukums, Valmiera, Ventspils

Lithuania 37 Druskininkai, Kaunas, Klaipeda, Panevezys, Siauliai, Trakai, Vilnius

Luxembourg 1 Luxembourg

Macedonia 2 Skopje

Malaysia 32 Georgetown, Johor Bahru, Kajang, Klang, Kuala Lumpur, Petaling Jaya, Seberang Perai, Selayang, Shah Alam, Subang Jaya

Maldives 1 Male

Mexico 15 Cuernavaca, Mexico City

Moldova 10 Beltsy, Chisinau

Mongolia 1 Ulaanbaatar

Netherlands 7 Amsterdam

New Zealand 3 Wellington

Norway 8 Oslo

Peru 31 Arequipa, Cusco, Huaral, Imperial, Lima, Trujillo

Poland 219 Belchatow, Bialystok, Bielsko-Biala, Bilgoraj, Boleslawiec, Brodnica, Brzeg, Bydgoszcz, Bytom, Bytow, Czestochowa, Gdansk, Gdynia, Golub-Dobrzyn, Gostynin, Grojec, Katowice, Koscierzyna, Krakow, Lodz, Lowicz, Lublin, Miastko, Opoczno, Pajeczno, Plock, Plonsk, Poznan, Rawa Mazowiecka, Rypin, Rzeszow, Skierniewice, Slupsk, Sochaczew, Starogard Gdanski, Szczecin, Tychy, Wagrowiec, Warsaw, Wroclaw, Zamosc, Zielona Gora, Zyrardow

Portugal 8 Braga, Gondomar, Porto

Romania 38 Brasov, Bucharest , Cluj-Napoca, Galatz, Iassy, Ploiesti

Russia 1686 Abakan, Abatskoye, Achinsk, Alapaevsk, Aleksin, Alexandrov, Alexeyevka, Almetyevsk, Alushta, Anapa, Angarsk, Anzhero-Sudzhensk, Apatity, Arkhangelsk, Armavir, Arsenyev, Arti, Arzamas, Astrakhan, Bakhchysarai, Balakovo, Balashikha, Balashov, Barabinsk, Barnaul, Barysh, Bataysk, Belebey, Belgorod, Belovo, Berdsk, Berezniki, Bezhetsk, Birobidzhan, Biysk, Blagoveshchensk, Bogdanovich, Bogorodsk, Bologoye, Bor, Borisoglebsk, Borovichi, Bratsk, Bryansk, Budyonnovsk, Buzuluk , Chebarkul, Cheboksary, Chekhov, Chelyabinsk, Cherepovets, Cherkessk, Chernushka, Chita, Chusovoy, Danilov, Dankov, Dimitrovgrad, Dmitrov, Domodedovo, Dzerzhinsk, Dzhankoy, Efremov, Ekaterinburg, Elektrostal, Elista, Engels, Feodosia , Gatchina, Gdov, Gelendzhik, Georgiyevsk, Glazov, Gorno-Altaysk, Gorodets, Grozny , Gryazi , Gubkin, Guryevsk, Gus-Khrustalny , Irkutsk, Ishim, Ishimbay, Iskitim, Istra, Ivanovo, Izhevsk, Izmalkovo, Kaliningrad, Kaluga, Kamensk-Shakhtinsky, Kamensk-Uralsky, Kamyshin, Kansk, Kashira, Kasimov, Kazan, Kemerovo, Kerch, Khabarovsk, Khanty-Mansiysk, Khimki, Kholmsk, Kimovsk, Kimry, Kineshma, Kingisepp, Kirishi, Kirov, Kirov (Kaluga region), Kirovo-Chepetsk, Kiselevsk, Kislovodsk, Klin, Kolomna, Komsomolsk-on-Amur, Konakovo, Kopeysk, Korolev, Kostroma, Kotelnich, Kotlas, Kovrov, Kozelsk, Kozmodemyansk, Krasnaya Polyana, Krasnodar, Krasnogorsk, Krasnokamsk, Krasnoufimsk, Krasnoyarsk, Krymsk, Kstovo, Kudymkar, Kurgan , Kursk, Kuybyshev, Kyshtym, Kyzyl , Leninsk-Kuznetsky, Lipetsk, Liski, Lobnya, Luga, Lysva, Lyubertsy, Lyudinovo, Magadan, Magnitogorsk, Makhachkala, Maykop , Meleuz, Mezhdurechensk, Miass, Michurinsk, Mineralnye Vody, Minusinsk, Morshansk, Moscow, Mozdok, Mozhaysk, Mtsensk, Murmansk, Murom, Mytishchi, Naberezhnye Chelny, Nakhodka, Nalchik, Naro-Fominsk, Nazran, Neftekamsk, Neryungri, Nevel, Nevinnomyssk, Nizhnekamsk, Nizhnevartovsk, Nizhny Novgorod, Nizhny Tagil, Noginsk, Norilsk, Novoaltaisk, Novocheboksarsk, Novocherkassk, Novokuybyshevsk, Novokuznetsk, Novomoskovsk, Novorossiysk, Novoshakhtinsk, Novosibirsk, Novouralsk, Novy Urengoy , Ob, Obninsk, Odintsovo, Oktyabrsky, Omsk, Orekhovo-Zuyevo, Orel, Orenburg, Orsk, Osa, Ostashkov, Ostrogozhsk, Ostrov, Ozersk, Pavlovo, Pavlovsky Posad, Penza, Pereslavl-Zalessky, Perm, Pervouralsk, Petropavlovsk-Kamchatsky, Petrozavodsk, Podolsk, Pohvistnevo, Poshekhonye, Prokhladny, Prokopyevsk , Promyshlennaya, Pskov, Pushkino, Pyatigorsk, Ramenskoye, Rezh, Roslavl, Rossosh, Rostov, Rostov-on-Don, Rubtsovsk, Ryazan, Rybinsk, Rzhev, Saint-Petersburg, Saky, Salavat, Salsk, Samara, Saransk, Sarapul, Saratov, Sarov, Sasovo, Satka, Sebezh, Semyonov, Sergiev Posad, Serov, Serpukhov, Sevastopol, Severodvinsk, Shadrinsk, Shakhty, Shatura, Shchyokino, Shchyolkovo, Shebekino, Sheregesh, Shuya, Sibay , Simferopol, Slantsy , Slavyansk-na-Kubani, Slobodskoy, Smolensk, Sochi, Solikamsk, Sortavala, Sosnovo, Sosnovy Bor, Staraya Russa, Starica, Stary Oskol, Stavropol, Sterlitamak, Stupino, Sukhoy Log, Surgut, Suzun, Syktyvkar, Syzran, Taganrog, Talitsa, Talovaya, Tambov, Tchaikovsky, Temryuk, Tikhoretsk, Tikhvin, Tobolsk, Tolyatti, Tomsk, Torzhok, Tosno, Troitsk (Chelyabinsk), Tuapse, Tula, Tutayev, Tver, Tyazhinsky, Tyumen, Udomlya, Ufa, Uglich, Ulan-Ude, Ulyanovsk, Uporovo, Uren, Uryupinsk , Ussuriysk, Ust-Ilimsk, Uva, Uzlovaya, Valuyki, Velikiye Luki, Veliky Novgorod, Veliky Ustyug, Velsk, Vidnoye, Vladikavkaz, Vladimir, Vladivostok, Volgodonsk, Volgograd, Volkhov, Vologda, Volosovo, Volzhsky, Vorkuta, Voronezh, Voskresensk, Voskresenskoye, Votkinsk, Vyazma, Vyborg, Vyksa, Vyshny Volochyok, Yakutsk, Yalta, Yalutorovsk , Yaroslavl, Yartsevo, Yashkino, Yegoryevsk, Yelets, Yessentuki , Yevpatoria, Yeysk, Yoshkar-Ola, Yurga, Yuzhno-Sakhalinsk, Zelenogorsk, Zelenograd, Zheleznogorsk (Krasnoyarsk Krai), Zheleznogorsk (Kursk), Zhukovsky, Zlatoust

Serbia 13 Belgrade, Mladenovac, Nis, Novi Sad, Obrenovac

Singapore 1 Singapore

Slovakia 13 Bratislava, Kosice, Presov, Zilina

South Africa 2 Cape Town

Spain 40 Alicante, Barcelona, Cordoba, Granada, Madrid, Malaga, Palma, Seville, Valencia

Sweden 47 Eskilstuna, Handen, Katrineholm, Mersta, Norrtälje, Nykoping, Osthammar, Södertälje, Stockholm, Strangnas, Tumba, Uppsala

Switzerland 22 Lausanne, Zurich

Tajikistan 4 Dushanbe

Transnistria 8 Bender, Tiraspol

Turkey 8 Ankara, Istanbul, Izmir, Kayseri

Ukraine 147 Bila Tserkva, Bilhorod-Dnistrovskyi, Boryspil, Cherkasy, Chernihiv, Chernivtsi, Dnipro, Donetsk, Horlivka, Ivano-Frankivsk, Izium , Izmail , Kamenskoe, Kamianets-Podilskyi, Kharkiv, Kherson, Khmelnitsky, Kiev, Konotop, Kramatorsk, Kremenchuk, Krivoy Rog, Kropyvnytskyi, Lugansk, Lutsk, Lviv, Makeyevka, Mariupol, Nikolayev, Nikopol, Odessa, Poltava, Rovno, Sloviansk, Sumy, Ternopil, Uman, Uzhgorod, Vinnytsia, Zaporozhye, Zhytomyr

United Arab Emirates 3 Dubai

United Kingdom 43 Edinburgh, London, Manchester, Poole

USA 64 Albuquerque, Appleton, Boston, Chicago, Cincinnati, Denver, Detroit, El Paso, Houston, Las Vegas, Long Beach (Los Angeles), Los Angeles, Milwaukee, Minneapolis, New Orleans, New York, Norfolk, Oakland, Oxnard (Los Angeles), Riverside (Los Angeles), Salt Lake City, San Bernardino (Los Angeles), San Diego, San Francisco, San Jose, Santa Ana (Los Angeles), Santa Barbara, Santa Clarita (Los Angeles), Seattle, St. Petersburg, Tampa, Washington, D.C.

Uzbekistan 14 Samarkand, Tashkent

Venezuela 3 Caracas

Vietnam 20 Hanoi, Ho Chi Minh City



                                                                            
GET https://zylalabs.com/api/5859/urban+routes+api/7695/get+route+planner
                                                                            
                                                                        

Get Route Planner - Características del Endpoint

Objeto Descripción
origin [Requerido] Format: latitude,longitude (e.g., 59.971326,30.259275) - Coordinates of the departure point.
destination [Requerido] Format: latitude,longitude (e.g., 59.933005,30.345936) - Coordinates of the arrival point.
departureTime Opcional Format: ISO 8601 (e.g., 2024-12-13T12:00:00) - Desired departure time for the route calculation.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"routes":[{"id":"C0","duration":1560,"transfers":1,"sections":[{"id":"C0-S0","type":"pedestrian","actions":[{"action":"depart","duration":0,"instruction":"Depart from Starting Point.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Крестовский остров.","length":0,"offset":0}],"travelSummary":{"duration":60,"length":58},"departure":{"time":"2024-12-18T17:39:00","place":{"name":"","type":"place","location":{"lat":59.971326,"lng":30.259275},"id":""}},"arrival":{"time":"2024-12-18T17:40:00","place":{"name":"Крестовский остров","description":"Морской пр.  45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"polyline":"BF6khuLwg24FwCmB","transport":{"mode":"pedestrian"}},{"id":"C0-S1","type":"transit","actions":[{"action":"depart","duration":0,"instruction":"Depart from Крестовский остров.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Адмиралтейская.","length":0,"offset":0}],"travelSummary":{"duration":600,"length":6069},"departure":{"time":"2024-12-18T17:40:00","place":{"name":"Крестовский остров","description":"Морской пр.  45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"arrival":{"time":"2024-12-18T17:50:00","place":{"name":"Адмиралтейская","description":"Кирпичный пер.  1 / Малая Морская ул.  4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"polyline":"BFsnhuL2h24FjPwkB5FsUlX6nD_EyV5FgN3LgIRExc-FlNuBhIpDlG1IZbaczT7WjItGjEnCzJgBjJuJ7YmyBjIoXtE8Z5EslBtH4f","transport":{"mode":"subway","headsign":"Шушары","shortName":"Линия 5 (Фрунзенско-Приморская)","color":"#771D7F","textColor":"#FFFFFF","name":"Линия 5 (Фрунзенско-Приморская)"},"intermediateStops":[{"departure":{"time":"2024-12-18T17:43:00","place":{"name":"Чкаловская","description":"Большая Зеленина ул.  12","type":"station","location":{"lat":59.960982,"lng":30.29201},"id":"26385"}}},{"departure":{"time":"2024-12-18T17:45:00","place":{"name":"Спортивная","description":"пр. Добролюбова  20м","type":"station","location":{"lat":59.951884,"lng":30.291131},"id":"27236"}}}],"agency":{"id":"16","name":"ГУП Петербургский метрополитен","website":"https://wikiroutes.info/"}},{"id":"C0-S2","type":"pedestrian","actions":[{"action":"depart","duration":0,"instruction":"Depart from Адмиралтейская.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Станция метро Адмиралтейская.","length":0,"offset":0}],"travelSummary":{"duration":180,"length":175},"departure":{"time":"2024-12-18T17:50:00","place":{"name":"Адмиралтейская","description":"Кирпичный пер.  1 / Малая Морская ул.  4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"arrival":{"time":"2024-12-18T17:53:00","place":{"name":"Станция метро Адмиралтейская","description":"Большая Морская улица  16","type":"station","location":{"lat":59.935438,"lng":30.316848},"id":"78323"}},"polyline":"BFso6tLi8g5F7DoM","transport":{"mode":"pedestrian"}},{"id":"C0-S3","type":"transit","actions":[{"action":"depart","duration":0,"instruction":"Depart from Станция метро Адмиралтейская.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Литейный проспект.","length":0,"offset":0}],"travelSummary":{"duration":420,"length":1939},"departure":{"time":"2024-12-18T17:54:00","place":{"name":"Станция метро Адмиралтейская","description":"Большая Морская улица  16","type":"station","location":{"lat":59.935438,"lng":30.316848},"id":"78323"}},"arrival":{"time":"2024-12-18T18:01:00","place":{"name":"Литейный проспект","description":"Невский просп.  49","type":"station","location":{"lat":59.932388,"lng":30.349442},"id":"13131"}},"polyline":"BF0k6tL8nh5FoFoFOGnDyaBgBtCmT1F2uBjFmpB_HogC","transport":{"mode":"bus","headsign":"Ленская улица угол Белорусской улицы","shortName":"27","name":"27"},"intermediateStops":[{"departure":{"time":"2024-12-18T17:56:00","place":{"name":"Станция метро Невский проспект","description":"-","type":"station","location":{"lat":59.935392,"lng":30.325098},"id":"31085"}}},{"departure":{"time":"2024-12-18T17:58:00","place":{"name":"Станция метро Гостиный двор","description":"Невский проспект  35","type":"station","location":{"lat":59.934463,"lng":30.332565},"id":"33474"}}},{"departure":{"time":"2024-12-18T17:59:00","place":{"name":"Дворец творчества юных","description":"Невский просп.  39","type":"station","location":{"lat":59.933646,"lng":30.339149},"id":"14703"}}}],"agency":{"id":"2","name":"СПб ГУП Пассажиравтотранс (Автобусный парк №6)","website":"https://wikiroutes.info/"}},{"id":"C0-S4","type":"pedestrian","actions":[{"action":"depart","duration":0,"instruction":"Depart from Литейный проспект.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Destination Point.","length":0,"offset":0}],"travelSummary":{"duration":240,"length":258},"departure":{"time":"2024-12-18T18:01:00","place":{"name":"Литейный проспект","description":"Невский просп.  49","type":"station","location":{"lat":59.932388,"lng":30.349442},"id":"13131"}},"arrival":{"time":"2024-12-18T18:05:00","place":{"name":"","type":"place","location":{"lat":59.933005,"lng":30.345936},"id":""}},"polyline":"BFux5tLg0n5F6D7V","transport":{"mode":"pedestrian"}}]},{"id":"C1","duration":1560,"transfers":1,"sections":[{"id":"C1-S0","type":"pedestrian","actions":[{"action":"depart","duration":0,"instruction":"Depart from Starting Point.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Крестовский остров.","length":0,"offset":0}],"travelSummary":{"duration":60,"length":58},"departure":{"time":"2024-12-18T17:42:00","place":{"name":"","type":"place","location":{"lat":59.971326,"lng":30.259275},"id":""}},"arrival":{"time":"2024-12-18T17:43:00","place":{"name":"Крестовский остров","description":"Морской пр.  45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"polyline":"BF6khuLwg24FwCmB","transport":{"mode":"pedestrian"}},{"id":"C1-S1","type":"transit","actions":[{"action":"depart","duration":0,"instruction":"Depart from Крестовский остров.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Адмиралтейская.","length":0,"offset":0}],"travelSummary":{"duration":600,"length":6069},"departure":{"time":"2024-12-18T17:43:00","place":{"name":"Крестовский остров","description":"Морской пр.  45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"arrival":{"time":"2024-12-18T17:53:00","place":{"name":"Адмиралтейская","description":"Кирпичный пер.  1 / Малая Морская ул.  4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"polyline":"BFsnhuL2h24FjPwkB5FsUlX6nD_EyV5FgN3LgIRExc-FlNuBhIpDlG1IZbaczT7WjItGjEnCzJgBjJuJ7YmyBjIoXtE8Z5EslBtH4f","transport":{"mode":"subway","headsign":"Шушары","shortName":"Линия 5 (Фрунзенско-Приморская)","color":"#771D7F","textColor":"#FFFFFF","name":"Линия 5 (Фрунзенско-Приморская)"},"intermediateStops":[{"departure":{"time":"2024-12-18T17:46:00","place":{"name":"Чкаловская","description":"Большая Зеленина ул.  12","type":"station","location":{"lat":59.960982,"lng":30.29201},"id":"26385"}}},{"departure":{"time":"2024-12-18T17:48:00","place":{"name":"Спортивная","description":"пр. Добролюбова  20м","type":"station","location":{"lat":59.951884,"lng":30.291131},"id":"27236"}}}],"agency":{"id":"16","name":"ГУП Петербургский метрополитен","website":"https://wikiroutes.info/"}},{"id":"C1-S2","type":"transit","actions":[{"action":"depart","duration":0,"instruction":"Depart from Станция метро Адмиралтейская.","length":0,"offset":0},{"action":"arrive","duration":0,"instruction":"Arrive at Литейный проспект.","length":0,"offset":0}],"travelSummary":{"duration":540,"length":2043},"departure":{"time":"2024-12-18T17:55:00","place":{"name":"Станция метро Адмиралтейская","description":"Малая Морская ул.  4","type":"station","location":{"lat":59.936134,"lng":30.314391},"id":"33473"}},"arrival":{"time":"2024-12-18T18:04:00","place":{"name":"Литейный проспект","description":"Невский просп.  49","type":"station","location":{"lat":59.932388,"lng":30.349442},"id":"13131"}},"polyline":"BF-o6tL84g5FiB4CMQ6BuB9CmZ1EqlB1F2uBhFmpBhImgC","transport":{"mode":"bus","headsign":"Проспект Наставников","shortName":"22","name":"22"},"intermediateStops":[{"departure":{"time":"2024-12-18T17:58:00","place":{"name":"Станция метро Невский проспект","description":"-","type":"station","location":{"lat":59.935392,"lng":30.325098},"id":"31085"}}},{"departure":{"time":"2024-12-18T18:00:00","place":{"name":"Станция метро Гостиный двор","description":"Невский проспект  35","type":"station","location":{"lat":59.934463,"lng":30.332565},"id":"33474"}}},{"departure":{"time":"2024-12-18T18:01:00","place":{"name":"Дворец творчест...
                                                                                                                                                                                                                    
                                                                                                    

Get Route Planner - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/5859/urban+routes+api/7695/get+route+planner?origin=59.971326,30.259275&destination=59.933005,30.345936' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Urban Routes API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Urban Routes API FAQs

The Urban Routes API is a tool that optimizes public transport routes in real time using crowdsourced data from over 2000 cities, allowing for precise planning between coordinates and customized schedules.

The API utilizes real-time data gathered from active public transport users, ensuring that the route results reflect the latest availability and conditions in each metropolitan area.

Yes, the Urban Routes API allows users to configure specific departure or arrival times, enabling tailored route planning based on individual schedules.

Yes, the API includes the option to add intermediate stops, providing detailed routes that accommodate various user needs.

The API provides comprehensive route graphs that can be easily visualized on maps, making it ideal for navigation applications and transportation services.

The Urban Routes API returns data related to optimized public transport routes, including route duration, number of transfers, sections of the journey, and detailed travel instructions for each segment.

Key fields in the response include "id" (route identifier), "duration" (total travel time), "transfers" (number of transfers), "sections" (details of each travel segment), and "travelSummary" (summary of travel duration and length).

The response data is structured as a JSON object containing an array of "routes." Each route includes nested objects for "sections," detailing actions, travel summaries, and transport modes, allowing for easy parsing and utilization.

The endpoint accepts parameters such as "origin" (starting coordinates), "destination" (ending coordinates), and "departureTime" (specific time for departure), allowing users to customize their route requests.

The API covers public transport routes in over 2000 cities across multiple countries, including major urban areas in North America, Europe, Asia, and beyond, providing extensive global coverage.

Data accuracy is maintained through crowdsourced information from active public transport users, which is continuously updated to reflect real-time conditions and availability in metropolitan areas.

Typical use cases include integrating route planning into mapping applications, developing travel assistants, and enhancing urban mobility solutions, allowing users to find optimal public transport routes efficiently.

Users can utilize the returned data by parsing the JSON response to extract relevant fields, such as travel instructions and durations, to display route information in their applications or services, enhancing user experience.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.


APIs Relacionadas


También te puede interesar