Smart Commute API

Enhance daily commutes with live transit updates and personalized route planning.

About the API:  

The Smart Commute API focuses on improving daily travel experiences by providing real-time public transit data. Covering bus, train, and metro services in urban areas, it offers features like live tracking, optimal route suggestions, and personalized schedules based on user preferences. The API integrates smoothly with mobile apps, navigation tools, and city planners, delivering up-to-date and actionable transit information. With capabilities like stop-by-stop details and support for intermediate destinations, it ensures a reliable and efficient commuting experience. Its JSON-based responses make it easy to integrate into any system, offering developers a flexible tool for urban transit solutions.

 

API Documentation

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/5860/smart+commute+api/7696/get+smart+commute+routes
                                                                            
                                                                        

get Smart Commute Routes - Endpoint Features

Object Description
origin [Required] Format: latitude,longitude (e.g., 59.971326,30.259275) - Coordinates of the departure point.
destination [Required] Format: latitude,longitude (e.g., 59.933005,30.345936) - Coordinates of the arrival point.
departureTime [Optional] Format: ISO 8601 (e.g., 2024-12-13T12:00:00) - Desired departure time for the route calculation.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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-23T23:26:00","place":{"name":"","type":"place","location":{"lat":59.971326,"lng":30.259275},"id":""}},"arrival":{"time":"2024-12-23T23:27: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-23T23:27:00","place":{"name":"Крестовский остров","description":"Морской пр.  45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"arrival":{"time":"2024-12-23T23:37: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-23T23:30:00","place":{"name":"Чкаловская","description":"Большая Зеленина ул.  12","type":"station","location":{"lat":59.960982,"lng":30.29201},"id":"26385"}}},{"departure":{"time":"2024-12-23T23:32: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":171},"departure":{"time":"2024-12-23T23:37:00","place":{"name":"Адмиралтейская","description":"Кирпичный пер.  1 / Малая Морская ул.  4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"arrival":{"time":"2024-12-23T23:40:00","place":{"name":"Малая Морская улица  станция метро Адмиралтейская","description":"проспект Невский  5","type":"station","location":{"lat":59.936822,"lng":30.313194},"id":"11574"}},"polyline":"BFso6tLi8g5F4EzK","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":480,"length":2079},"departure":{"time":"2024-12-23T23:40:00","place":{"name":"Малая Морская улица  станция метро Адмиралтейская","description":"проспект Невский  5","type":"station","location":{"lat":59.936822,"lng":30.313194},"id":"11574"}},"arrival":{"time":"2024-12-23T23:48:00","place":{"name":"Литейный проспект","description":"Невский просп.  49","type":"station","location":{"lat":59.932388,"lng":30.349442},"id":"13131"}},"polyline":"BFwt6tL0xg5F7IuqC3F2uBhFmpBhImgC","transport":{"mode":"bus","headsign":"Проспект Бакунина","shortName":"10","name":"10"},"intermediateStops":[{"departure":{"time":"2024-12-23T23:43:00","place":{"name":"Станция метро Невский проспект","description":"-","type":"station","location":{"lat":59.935392,"lng":30.325098},"id":"31085"}}},{"departure":{"time":"2024-12-23T23:44:00","place":{"name":"Станция метро Гостиный двор","description":"Невский проспект  35","type":"station","location":{"lat":59.934463,"lng":30.332565},"id":"33474"}}},{"departure":{"time":"2024-12-23T23:46:00","place":{"name":"Дворец творчества юных","description":"Невский просп.  39","type":"station","location":{"lat":59.933646,"lng":30.339149},"id":"14703"}}}],"agency":{"id":"42","name":"СПб ГУП Горэлектротранс (ОСП Троллейбусный парк №3)","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-23T23:48:00","place":{"name":"Литейный проспект","description":"Невский просп.  49","type":"station","location":{"lat":59.932388,"lng":30.349442},"id":"13131"}},"arrival":{"time":"2024-12-23T23:52:00","place":{"name":"","type":"place","location":{"lat":59.933005,"lng":30.345936},"id":""}},"polyline":"BFux5tLg0n5F6D7V","transport":{"mode":"pedestrian"}}]},{"id":"C1","duration":1680,"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-23T23:26:00","place":{"name":"","type":"place","location":{"lat":59.971326,"lng":30.259275},"id":""}},"arrival":{"time":"2024-12-23T23:27: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-23T23:27:00","place":{"name":"Крестовский остров","description":"Морской пр.  45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"arrival":{"time":"2024-12-23T23:37: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-23T23:30:00","place":{"name":"Чкаловская","description":"Большая Зеленина ул.  12","type":"station","location":{"lat":59.960982,"lng":30.29201},"id":"26385"}}},{"departure":{"time":"2024-12-23T23:32: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-23T23:41:00","place":{"name":"Станция метро Адмиралтейская","description":"Малая Морская ул.  4","type":"station","location":{"lat":59.936134,"lng":30.314391},"id":"33473"}},"arrival":{"time":"2024-12-23T23:50:00","place":{"name":"Литейный проспект","description":"Невский просп.  49","type":"station","location":{"lat":59.932388,"lng":30.349442},"id":"13131"}},"polyline":"BF8o6tL-4g5FmB-CScQOiBSzHq-B1F2uBhFmpBhImgC","transport":{"mode":"bus","headsign":"Смольный","shortName":"5","name":"5"},"intermediateStops":[{"departure":{"time":"2024-12-23T23:44:00","place":{"name":"Станция метро Невский проспект","description":"-","type":"station","location":{"lat":59.935392,"lng":30.325098},"id":"31085"}}},{"departure":{"time":"2024-12-23T23:46:00","place":{"name":"Станция метро Гостиный двор","description":"Невский проспект  35","type":"station","location":{"lat":59.934463,"lng":30.332565},"id":"33474"}}},{"departure":{"time":"...
                                                                                                                                                                                                                    
                                                                                                    

Get Smart Commute Routes - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5860/smart+commute+api/7696/get+smart+commute+routes?origin=59.971326,30.259275&destination=59.933005,30.345936&departureTime=2024-12-13T12:00:00' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Smart Commute API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Smart Commute API FAQs

The Smart Commute API is a tool designed to enhance daily travel experiences by providing real-time public transit data, including live tracking and personalized route planning for bus, train, and metro services in urban areas.

The API offers features such as live tracking of transit vehicles, optimal route suggestions, personalized schedules based on user preferences, stop-by-stop details, and support for intermediate destinations.

Developers can integrate the Smart Commute API into their applications using its JSON-based responses, which make it easy to incorporate real-time transit data into mobile apps, navigation tools, and city planning solutions.

Yes, the Smart Commute API covers multiple transit services, including buses, trains, and metros, allowing users to receive comprehensive updates for various modes of public transportation.

Absolutely! The Smart Commute API is designed to assist city planners by delivering up-to-date and actionable transit information, which can be used to improve urban transit solutions and enhance commuter experiences.

The Smart Commute API returns data including route IDs, duration, number of transfers, and detailed sections for each route. Each section includes travel modes, actions, and travel summaries, providing a comprehensive overview of the journey.

Key fields in the response include "id" (route identifier), "duration" (total travel time), "transfers" (number of transfers), and "sections" (details of each leg of the journey), which include actions, travel summaries, and departure/arrival information.

The response data is structured in a JSON format, with a top-level "routes" array containing individual route objects. Each route object includes nested arrays for "sections," detailing each segment of the journey, making it easy to parse and utilize.

The endpoint accepts parameters such as "origin," "destination," and "departureTime." Users can customize their requests by specifying these parameters to receive tailored route suggestions based on real-time data.

Data accuracy is maintained through integration with real-time transit data sources, regular updates, and quality checks to ensure that the information provided reflects current transit conditions and schedules.

Typical use cases include mobile apps for commuters seeking optimal routes, navigation tools that provide real-time transit updates, and city planning applications that analyze transit patterns to improve urban mobility.

Users can utilize the returned data by parsing the JSON response to extract relevant fields, such as route duration and transfer details, allowing them to present clear and actionable transit information in their applications.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


Related APIs


You might also like