City Transit Planner API

Plan real-time public transit routes with detailed schedules and stop-by-stop navigation.

About the API:  

The City Transit Planner API offers real-time public transit routing for cities worldwide. Using crowdsourced and official transit data, it provides optimized route planning with options for departure and arrival times, including step-by-step navigation. With support for over 2,000 urban areas, this API ensures precise and dynamic route suggestions based on live updates. Perfect for developers of mapping tools, travel apps, and urban mobility platforms, the API is designed for seamless integration, delivering reliable data in JSON format. Its comprehensive outputs include detailed route maps and real-time stop information, making it an invaluable resource for efficient urban transit navigation.

 

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/5862/city+transit+planner+api/7698/plan+city+transit
                                                                            
                                                                        

plan City Transit - 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":"...
                                                                                                                                                                                                                    
                                                                                                    

Plan City Transit - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5862/city+transit+planner+api/7698/plan+city+transit?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 City Transit Planner 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 commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • 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

The City Transit Planner API is a service that provides real-time public transit routing for cities worldwide, utilizing crowdsourced and official transit data to offer optimized route planning.

The API allows users to input departure and arrival times, generating step-by-step navigation and precise route suggestions based on live updates.

The API supports over 2,000 urban areas globally, making it a versatile tool for various cities and transit systems.

The API delivers reliable data in JSON format, which is easy to integrate into mapping tools, travel apps, and urban mobility platforms.

The API provides detailed route maps, real-time stop information, and comprehensive outputs to aid in efficient urban transit navigation.

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 1000 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 1000 requests per month, this header will display 1000.

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 3600, it means 3600 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 let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.


Related APIs