# Wikiroutes Route Planner API
## Introduction
Integrate the Wikiroutes Route Planner API into your applications to deliver seamless public transportation navigation. This API is tailored to offer optimized transit routes and nearby stop information, leveraging real-time and crowdsourced data from active commuters. It is an ideal solution for navigation systems, travel assistance applications, and any project centered around public transit accessibility.
## Features
- **Dynamic Route Optimization**: Determine the most efficient transit routes between two locations using constantly updated, user-contributed data.
- **Customizable Time Settings**: Define departure or arrival times to personalize trip planning according to user preferences.
- **Transfer Adjustments**: Specify the maximum number of transfers allowed to tailor the routing results.
- **Community-Driven Accuracy**: Gain insights from daily commuters, ensuring the most relevant and up-to-date travel information.
- **Straightforward Integration**: Designed with simplicity in mind, the API provides well-documented endpoints that facilitate quick implementation.
## New Endpoints
- **GET /stopsInRadius**: Retrieves a list of upcoming departures from transit stops within a defined radius of the specified coordinates.
- **GET /nextDepartures**: Returns real-time departure information from stops in the vicinity of a given location.
## Coverage
### Supported Regions and Cities
| Country | Total Cities | Major Cities Covered |
|---------|-------------|----------------------|
| 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, Brest, Minsk, Mogilev, Vitebsk, and more... |
| Belgium | 4 | Antwerp, Brussels |
| Bosnia and Herzegovina | 4 | Sarajevo |
| Brazil | 61 | Rio de Janeiro, Sao Paulo, Sao Luis, and more... |
| 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 | Tallinn, Tartu, Parnu, Narva, and more... |
| Finland | 35 | Espoo, Helsinki, Joensuu, Tampere, Turku, Vantaa |
| France | 33 | Aix-les-Bains, Annecy, Grenoble, Lyon, Marseille, Nice, Paris, Toulouse |
| Germany | 86 | Berlin, Munich, Frankfurt, Dortmund, and more... |
| Greece | 11 | Athens, Thessaloniki |
| Hong Kong | 2 | Hong Kong |
| Hungary | 20 | Budapest, Debrecen |
| India | 21 | Bengaluru, Mumbai, Pune |
| Indonesia | 40 | Jakarta, Surabaya, Bandung, and more... |
| Italy | 35 | Milan, Rome |
| Japan | 28 | Tokyo, Ichihara |
| Kazakhstan | 42 | Almaty, Nur-Sultan, Shymkent, and more... |
| Kyrgyzstan | 10 | Bishkek |
| Latvia | 40 | Riga, Liepaja, Daugavpils, and more... |
| Lithuania | 37 | Vilnius, Kaunas, Klaipeda, and more... |
| Luxembourg | 1 | Luxembourg |
| Malaysia | 32 | Kuala Lumpur, Georgetown, Johor Bahru, and more... |
| Mexico | 15 | Mexico City, Cuernavaca |
| Moldova | 10 | Chisinau, Beltsy |
| Netherlands | 7 | Amsterdam |
| New Zealand | 3 | Wellington |
| Norway | 8 | Oslo |
| Peru | 31 | Lima, Arequipa, Cusco, and more... |
| Poland | 219 | Warsaw, Krakow, Wroclaw, and more... |
| Portugal | 8 | Porto, Braga, Gondomar |
| Romania | 38 | Bucharest, Cluj-Napoca, Brasov, and more... |
| Russia | 1686 | Moscow, Saint Petersburg, Novosibirsk, and numerous others... |
| Serbia | 13 | Belgrade, Novi Sad, Nis, and more... |
| Singapore | 1 | Singapore |
| Slovakia | 13 | Bratislava, Kosice, Presov, and more... |
| South Africa | 2 | Cape Town |
| Spain | 40 | Madrid, Barcelona, Valencia, and more... |
| Sweden | 47 | Stockholm, Uppsala, Eskilstuna, and more... |
| Switzerland | 22 | Zurich, Lausanne |
| Turkey | 8 | Istanbul, Ankara, Izmir, and more... |
| Ukraine | 147 | Kiev, Odessa, Kharkiv, and more... |
| United Arab Emirates | 3 | Dubai |
| United Kingdom | 43 | London, Manchester, Edinburgh, and more... |
| USA | 64 | New York, Los Angeles, Chicago, Houston, San Francisco, and more... |
| Uzbekistan | 14 | Tashkent, Samarkand |
| Vietnam | 20 | Hanoi, Ho Chi Minh City |
## Conclusion
Leverage the power of Wikiroutes Route Planner API to enhance public transit navigation within your applications. With real-time data, seamless integration, and extensive city coverage, this API ensures efficient, user-friendly travel planning for individuals worldwide.
This endpoint returns optimized public transport routes between a given origin and destination. Users can specify departure and arrival times, as well as the number of allowed transfers.
{"routes":[{"id":"C0","duration":1440,"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":59},"departure":{"time":"2025-01-20T12:34:00","place":{"name":"","type":"place","location":{"lat":59.971326,"lng":30.259275},"id":""}},"arrival":{"time":"2025-01-20T12:35:00","place":{"name":"ΠΡΠ΅ΡΡΠΎΠ²ΡΠΊΠΈΠΉ ΠΎΡΡΡΠΎΠ²","description":"ΠΠΎΡΡΠΊΠΎΠΉ ΠΏΡ., 45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"polyline":"yc`mJo_uwDoAe@","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":540,"length":6069},"departure":{"time":"2025-01-20T12:35:00","place":{"name":"ΠΡΠ΅ΡΡΠΎΠ²ΡΠΊΠΈΠΉ ΠΎΡΡΡΠΎΠ²","description":"ΠΠΎΡΡΠΊΠΎΠΉ ΠΏΡ., 45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"arrival":{"time":"2025-01-20T12:44:00","place":{"name":"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ","description":"ΠΠΈΡΠΏΠΈΡΠ½ΡΠΉ ΠΏΠ΅Ρ., 1 / ΠΠ°Π»Π°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»., 4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"polyline":"kf`mJu`uwDbNoc@xDkSdVyfB~CqTxD_LvJ_GPCp[}DdLm@`GhBdEtGXZY[rRzUbGlEbCfArH_@bHmHzWeq@bGgVlC{XxCkd@lFw^","transport":{"mode":"subway","headsign":"Π¨ΡΡΠ°ΡΡ","shortName":"ΠΠΈΠ½ΠΈΡ 5 (Π€ΡΡΠ½Π·Π΅Π½ΡΠΊΠΎ-ΠΡΠΈΠΌΠΎΡΡΠΊΠ°Ρ)","color":"#771D7F","name":"ΠΠΈΠ½ΠΈΡ 5 (Π€ΡΡΠ½Π·Π΅Π½ΡΠΊΠΎ-ΠΡΠΈΠΌΠΎΡΡΠΊΠ°Ρ)"},"intermediateStops":[{"departure":{"time":"2025-01-20T12:38:00","place":{"name":"Π§ΠΊΠ°Π»ΠΎΠ²ΡΠΊΠ°Ρ","description":"ΠΠΎΠ»ΡΡΠ°Ρ ΠΠ΅Π»Π΅Π½ΠΈΠ½Π° ΡΠ»., 12","type":"station","location":{"lat":59.960982,"lng":30.29201},"id":"26385"}}},{"departure":{"time":"2025-01-20T12:40:00","place":{"name":"Π‘ΠΏΠΎΡΡΠΈΠ²Π½Π°Ρ","description":"ΠΏΡ. ΠΠΎΠ±ΡΠΎΠ»ΡΠ±ΠΎΠ²Π°, 20ΠΌ","type":"station","location":{"lat":59.951884,"lng":30.291131},"id":"27236"}}}],"agency":{"id":"21","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":"2025-01-20T12:44:00","place":{"name":"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ","description":"ΠΠΈΡΠΏΠΈΡΠ½ΡΠΉ ΠΏΠ΅Ρ., 1 / ΠΠ°Π»Π°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»., 4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"arrival":{"time":"2025-01-20T12:47:00","place":{"name":"Π‘ΡΠ°Π½ΡΠΈΡ ΠΌΠ΅ΡΡΠΎ \"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ\"","description":"ΠΠΎΠ»ΡΡΠ°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»ΠΈΡΠ°, 16","type":"station","location":{"lat":59.935438,"lng":30.316848},"id":"78323"}},"polyline":"kgylJa{_xDzBgK","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":1796},"departure":{"time":"2025-01-20T12:50:00","place":{"name":"Π‘ΡΠ°Π½ΡΠΈΡ ΠΌΠ΅ΡΡΠΎ \"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ\"","description":"ΠΠΎΠ»ΡΡΠ°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»ΠΈΡΠ°, 16","type":"station","location":{"lat":59.935438,"lng":30.316848},"id":"78323"}},"arrival":{"time":"2025-01-20T12:57:00","place":{"name":"ΠΠΈΡΠ΅ΠΉΠ½ΡΠΉ ΠΏΡΠΎΡΠΏΠ΅ΠΊΡ","description":"ΠΠ΅Π²ΡΠΊΠΈΠΉ ΠΏΡΠΎΡΠΏ., 45","type":"station","location":{"lat":59.932654,"lng":30.346915},"id":"13130"}},"polyline":"scylJwf`xDgDgDEEGCt@aM?A~Bs_@vDum@`AiO`B{W`Eqo@","transport":{"mode":"bus","headsign":"ΠΠΊΠ°ΡΠ΅ΡΠΈΠ½ΠΈΠ½ΡΠΊΠΈΠΉ ΠΏΡΠΎΡΠΏΠ΅ΠΊΡ","shortName":"22","name":"22"},"intermediateStops":[{"departure":{"time":"2025-01-20T12:52:00","place":{"name":"Π‘ΡΠ°Π½ΡΠΈΡ ΠΌΠ΅ΡΡΠΎ \"ΠΠ΅Π²ΡΠΊΠΈΠΉ ΠΏΡΠΎΡΠΏΠ΅ΠΊΡ\"","description":"-","type":"station","location":{"lat":59.935392,"lng":30.325098},"id":"31085"}}},{"departure":{"time":"2025-01-20T12:54:00","place":{"name":"Π‘ΡΠ°Π½ΡΠΈΡ ΠΌΠ΅ΡΡΠΎ \"ΠΠΎΡΡΠΈΠ½ΡΠΉ Π΄Π²ΠΎΡ\"","description":"ΠΠ΅Π²ΡΠΊΠΈΠΉ ΠΏΡΠΎΡΠΏΠ΅ΠΊΡ, 35","type":"station","location":{"lat":59.934463,"lng":30.332565},"id":"33474"}}},{"departure":{"time":"2025-01-20T12:56:00","place":{"name":"ΠΠ²ΠΎΡΠ΅Ρ ΡΠ²ΠΎΡΡΠ΅ΡΡΠ²Π° ΡΠ½ΡΡ
","description":"ΠΠ΅Π²ΡΠΊΠΈΠΉ ΠΏΡΠΎΡΠΏ., 39","type":"station","location":{"lat":59.933646,"lng":30.339149},"id":"14703"}}}],"agency":{"id":"19","name":"Π‘ΠΠ± ΠΠ£Π \"ΠΠ°ΡΡΠ°ΠΆΠΈΡΠ°Π²ΡΠΎΡΡΠ°Π½Ρ\" (ΠΠ²ΡΠΎΠ±ΡΡΠ½ΡΠΉ ΠΏΠ°ΡΠΊ β 6 ΠΈ ΠΠ²ΡΠΎΠ±ΡΡΠ½ΡΠΉ ΠΏΠ°ΡΠΊ β 7)","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":60,"length":84},"departure":{"time":"2025-01-20T12:57:00","place":{"name":"ΠΠΈΡΠ΅ΠΉΠ½ΡΠΉ ΠΏΡΠΎΡΠΏΠ΅ΠΊΡ","description":"ΠΠ΅Π²ΡΠΊΠΈΠΉ ΠΏΡΠΎΡΠΏ., 45","type":"station","location":{"lat":59.932654,"lng":30.346915},"id":"13130"}},"arrival":{"time":"2025-01-20T12:58:00","place":{"name":"","type":"place","location":{"lat":59.933005,"lng":30.345936},"id":""}},"polyline":"arxlJgcfxDgAbE","transport":{"mode":"pedestrian"}}]},{"id":"C1","duration":1440,"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":59},"departure":{"time":"2025-01-20T12:29:00","place":{"name":"","type":"place","location":{"lat":59.971326,"lng":30.259275},"id":""}},"arrival":{"time":"2025-01-20T12:30:00","place":{"name":"ΠΡΠ΅ΡΡΠΎΠ²ΡΠΊΠΈΠΉ ΠΎΡΡΡΠΎΠ²","description":"ΠΠΎΡΡΠΊΠΎΠΉ ΠΏΡ., 45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"polyline":"yc`mJo_uwDoAe@","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":540,"length":6069},"departure":{"time":"2025-01-20T12:30:00","place":{"name":"ΠΡΠ΅ΡΡΠΎΠ²ΡΠΊΠΈΠΉ ΠΎΡΡΡΠΎΠ²","description":"ΠΠΎΡΡΠΊΠΎΠΉ ΠΏΡ., 45","type":"station","location":{"lat":59.971733,"lng":30.25947},"id":"11311"}},"arrival":{"time":"2025-01-20T12:39:00","place":{"name":"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ","description":"ΠΠΈΡΠΏΠΈΡΠ½ΡΠΉ ΠΏΠ΅Ρ., 1 / ΠΠ°Π»Π°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»., 4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"polyline":"kf`mJu`uwDbNoc@xDkSdVyfB~CqTxD_LvJ_GPCp[}DdLm@`GhBdEtGXZY[rRzUbGlEbCfArH_@bHmHzWeq@bGgVlC{XxCkd@lFw^","transport":{"mode":"subway","headsign":"Π¨ΡΡΠ°ΡΡ","shortName":"ΠΠΈΠ½ΠΈΡ 5 (Π€ΡΡΠ½Π·Π΅Π½ΡΠΊΠΎ-ΠΡΠΈΠΌΠΎΡΡΠΊΠ°Ρ)","color":"#771D7F","name":"ΠΠΈΠ½ΠΈΡ 5 (Π€ΡΡΠ½Π·Π΅Π½ΡΠΊΠΎ-ΠΡΠΈΠΌΠΎΡΡΠΊΠ°Ρ)"},"intermediateStops":[{"departure":{"time":"2025-01-20T12:33:00","place":{"name":"Π§ΠΊΠ°Π»ΠΎΠ²ΡΠΊΠ°Ρ","description":"ΠΠΎΠ»ΡΡΠ°Ρ ΠΠ΅Π»Π΅Π½ΠΈΠ½Π° ΡΠ»., 12","type":"station","location":{"lat":59.960982,"lng":30.29201},"id":"26385"}}},{"departure":{"time":"2025-01-20T12:35:00","place":{"name":"Π‘ΠΏΠΎΡΡΠΈΠ²Π½Π°Ρ","description":"ΠΏΡ. ΠΠΎΠ±ΡΠΎΠ»ΡΠ±ΠΎΠ²Π°, 20ΠΌ","type":"station","location":{"lat":59.951884,"lng":30.291131},"id":"27236"}}}],"agency":{"id":"21","name":"ΠΠ£Π \"ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³ΡΠΊΠΈΠΉ ΠΌΠ΅ΡΡΠΎΠΏΠΎΠ»ΠΈΡΠ΅Π½\"","website":"https://wikiroutes.info"}},{"id":"C1-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":"2025-01-20T12:39:00","place":{"name":"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ","description":"ΠΠΈΡΠΏΠΈΡΠ½ΡΠΉ ΠΏΠ΅Ρ., 1 / ΠΠ°Π»Π°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»., 4","type":"station","location":{"lat":59.93606,"lng":30.314888},"id":"27231"}},"arrival":{"time":"2025-01-20T12:42:00","place":{"name":"Π‘ΡΠ°Π½ΡΠΈΡ ΠΌΠ΅ΡΡΠΎ \"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ\"","description":"ΠΠΎΠ»ΡΡΠ°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»ΠΈΡΠ°, 16","type":"station","location":{"lat":59.935438,"lng":30.316848},"id":"78323"}},"polyline":"kgylJa{_xDzBgK","transport":{"mode":"pedestrian"}},{"id":"C1-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":1796},"departure":{"time":"2025-01-20T12:44:00","place":{"name":"Π‘ΡΠ°Π½ΡΠΈΡ ΠΌΠ΅ΡΡΠΎ \"ΠΠ΄ΠΌΠΈΡΠ°Π»ΡΠ΅ΠΉΡΠΊΠ°Ρ\"","description":"ΠΠΎΠ»ΡΡΠ°Ρ ΠΠΎΡΡΠΊΠ°Ρ ΡΠ»ΠΈΡΠ°, 16","type":"station","location":{"lat":59.935438,"lng":30.316848},"id":"78323"}},"arrival":{"time":"2025-01-...
curl --location --request GET 'https://zylalabs.com/api/6155/wikiroutes+api/8498/get+public+transport+routes' --header 'Authorization: Bearer YOUR_API_KEY'
Returns a list of public transport stops within a specified radius from a given location. This is useful for identifying nearby transit options.
{"regionName": null, "stops": [{"stopName": "Lower Addison Gardens", "stopTypeGroup": "bus", "stopId": "528605", "stopLat": 51.502039, "stopLon": -0.213042, "stopDesc": "Holland Road, 136 (34172)", "routes": [{"routeId": "35886", "routeShortName": "49", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "49", "tripHeadsign": "Bolingbroke Grove (Stop SC)", "routeType": "bus"}, {"routeId": "35887", "routeShortName": "C1", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "C1", "tripHeadsign": "Victoria Station / Grosvenor Gardens (Stop S)", "routeType": "bus"}]}, {"stopName": "Lower Addison Gardens", "stopTypeGroup": "bus", "stopId": "528674", "stopLat": 51.502116, "stopLon": -0.213399, "stopDesc": "Holland Road, 148 (11197)", "routes": [{"routeId": "35886", "routeShortName": "49", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "49", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}, {"routeId": "35887", "routeShortName": "C1", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "C1", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}]}, {"stopName": "Russell Gardens (Stop Q)", "stopTypeGroup": "bus", "stopId": "528671", "stopLat": 51.500655, "stopLon": -0.211481, "stopDesc": "Holland Road, 96 (1791)", "routes": [{"routeId": "35886", "routeShortName": "49", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "49", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}, {"routeId": "35887", "routeShortName": "C1", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "C1", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}]}, {"stopName": "Holland Road / Upper Addison Gardens", "stopTypeGroup": "bus", "stopId": "528677", "stopLat": 51.50341, "stopLon": -0.215172, "stopDesc": "Holland Road, 141 (839)", "routes": [{"routeId": "35886", "routeShortName": "49", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "49", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}, {"routeId": "35887", "routeShortName": "C1", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "C1", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}]}, {"stopName": "Russell Gardens (Stop A)", "stopTypeGroup": "bus", "stopId": "528606", "stopLat": 51.500154, "stopLon": -0.210545, "stopDesc": "Holland Road, 105 (34173)", "routes": [{"routeId": "35886", "routeShortName": "49", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "49", "tripHeadsign": "Bolingbroke Grove (Stop SC)", "routeType": "bus"}, {"routeId": "35887", "routeShortName": "C1", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "C1", "tripHeadsign": "Victoria Station / Grosvenor Gardens (Stop S)", "routeType": "bus"}]}, {"stopName": "Holland Road / Upper Addison Gardens", "stopTypeGroup": "bus", "stopId": "528604", "stopLat": 51.503839, "stopLon": -0.21547, "stopDesc": "Holland Road, 145 (34171)", "routes": [{"routeId": "35886", "routeShortName": "49", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "49", "tripHeadsign": "Bolingbroke Grove (Stop SC)", "routeType": "bus"}, {"routeId": "35887", "routeShortName": "C1", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "C1", "tripHeadsign": "Victoria Station / Grosvenor Gardens (Stop S)", "routeType": "bus"}]}, {"stopName": "Royal Crescent (Stop HD)", "stopTypeGroup": "bus", "stopId": "518050", "stopLat": 51.505133, "stopLon": -0.214003, "stopDesc": "Holland Park Avenue, 171-199 (837)", "routes": [{"routeId": "35511", "routeShortName": "295", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "295", "tripHeadsign": "Clapham Junction Station / Falcon Road (Stop E)", "routeType": "bus"}, {"routeId": "35510", "routeShortName": "228", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "228", "tripHeadsign": "Central Middlesex Hospital (Stop B)", "routeType": "bus"}, {"routeId": "35513", "routeShortName": "148", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "148", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}, {"routeId": "35508", "routeShortName": "316", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "316", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}, {"routeId": "35495", "routeShortName": "N207", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "N207", "tripHeadsign": "Belmont Road (Stop D)", "routeType": "bus"}, {"routeId": "38219", "routeShortName": "Oxford Tube", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "Oxford Tube", "tripHeadsign": "Gloucester Green Bus Station (Bay 3)", "routeType": "bus"}, {"routeId": "35888", "routeShortName": "31", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "31", "tripHeadsign": "White City Bus Station (Stop WG)", "routeType": "bus"}, {"routeId": "35360", "routeShortName": "94", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "94", "tripHeadsign": "Acton Green (Stop V)", "routeType": "bus"}]}, {"stopName": "Royal Crescent (Stop HJ)", "stopTypeGroup": "bus", "stopId": "518002", "stopLat": 51.505302, "stopLon": -0.213844, "stopDesc": "Holland Park Avenue, 180 (836)", "routes": [{"routeId": "35510", "routeShortName": "228", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "228", "tripHeadsign": "Chippenham Road / Shirland Road (Stop MR)", "routeType": "bus"}, {"routeId": "35513", "routeShortName": "148", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "148", "tripHeadsign": "Denmark Hill / Camberwell Green (Stop P)", "routeType": "bus"}, {"routeId": "35360", "routeShortName": "94", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "94", "tripHeadsign": "Charles II Street (Stop U)", "routeType": "bus"}, {"routeId": "35495", "routeShortName": "N207", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "N207", "tripHeadsign": "Bloomsbury Square (Stop F)", "routeType": "bus"}, {"routeId": "38219", "routeShortName": "Oxford Tube", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "Oxford Tube", "tripHeadsign": "Green Line Coach Station (Stop 10)", "routeType": "bus"}, {"routeId": "35888", "routeShortName": "31", "routeLongName": null, "routeColor": null, "routeTextColor": null, "name": "31", "tripHeadsign": "Camden Town Station (Stop Z1)", "routeType": "bus"}]}]}
curl --location --request GET 'https://zylalabs.com/api/6155/wikiroutes+api/8499/get+stops+in+radius' --header 'Authorization: Bearer YOUR_API_KEY'
Retrieves the next available departures from nearby transit stops based on the user’s location and search radius.
{"requestTime": 1737378060, "stopDepartures": [{"stopId": "521997", "stopName": "Victoria Park (Stop MM)", "stopLat": 51.606784, "stopLon": -0.185735, "departureList": [{"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:02:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:08:00", "date": "2025-01-20"}, {"routeId": "35509", "routeShortName": "460", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Pound Lane (Stop WU)", "departureTime": "13:10:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "13:10:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:14:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:20:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "13:20:00", "date": "2025-01-20"}, {"routeId": "35509", "routeShortName": "460", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Pound Lane (Stop WU)", "departureTime": "13:22:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:26:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "13:30:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:32:00", "date": "2025-01-20"}, {"routeId": "35509", "routeShortName": "460", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Pound Lane (Stop WU)", "departureTime": "13:34:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:38:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "13:40:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:44:00", "date": "2025-01-20"}, {"routeId": "35509", "routeShortName": "460", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Pound Lane (Stop WU)", "departureTime": "13:46:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:50:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "13:50:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "13:56:00", "date": "2025-01-20"}, {"routeId": "35509", "routeShortName": "460", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Pound Lane (Stop WU)", "departureTime": "13:58:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "14:00:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "14:01:00", "date": "2025-01-20"}, {"routeId": "36212", "routeShortName": "13", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Victoria Bus Station (Stop A)", "departureTime": "14:07:00", "date": "2025-01-20"}, {"routeId": "35509", "routeShortName": "460", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Pound Lane (Stop WU)", "departureTime": "14:10:00", "date": "2025-01-20"}, {"routeId": "36583", "routeShortName": "125", "routeLongName": null, "routeDesc": null, "routeColor": null, "routeTextColor": null, "routeType": "bus", "tripHeadsign": "Colindale Station", "departureTime": "14:10:00", "date": "2025-01-20"}]}], "localDate": "2025-01-20", "localTime": "13:01:00"}
curl --location --request GET 'https://zylalabs.com/api/6155/wikiroutes+api/8500/get+next+departures' --header 'Authorization: Bearer YOUR_API_KEY'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Wikiroutes GTFS API provides real-time and scheduled public transport data, allowing users to find routes, stops, and next departures using geographic coordinates.
Currently, no authentication or API key is required to access public endpoints.
Use the /routes endpoint with your origin, destination, and optional parameters like departureTime or arrivalTime to get the best available route.
Yes, the /stopsInRadius endpoint allows you to search for transit stops within a specified radius from a given location.
Departure times are based on the latest GTFS data, but real-time updates depend on the availability of live transit feeds.
Check the Error Handling section. Common issues include incorrect request formatting (HTTP 400), exceeding usage limits (HTTP 429), or temporary service issues (HTTP 500).
All responses are in JSON format.
Yes, but make sure to comply with any terms of service and consider caching responses to minimize load.
You can reach out to our support team via [email protected]
The /routes endpoint returns optimized public transport routes, including details such as duration, number of transfers, and specific sections of the journey. Each route includes actions, travel summaries, and departure and arrival information.
The /nextDepartures response includes fields like stopId, stopName, stopLat, stopLon, and a list of upcoming departures with routeId, routeShortName, and departureTime, providing comprehensive details about transit options.
Users can customize requests by specifying parameters such as origin, destination, departureTime, arrivalTime, and the maximum number of transfers allowed, tailoring the route results to their preferences.
The /stopsInRadius endpoint provides a list of nearby transit stops, including stop names, types, locations (latitude and longitude), and associated routes, helping users identify available transit options in their vicinity.
The API responses are structured in JSON format, organized into key-value pairs. For example, the /routes response includes an array of routes, each containing sections with actions, travel summaries, and location details.
The Wikiroutes API relies on real-time, crowdsourced data from active commuters and public transit agencies, ensuring that the information is current and reflective of actual transit conditions.
Common use cases include integrating transit navigation into mobile apps, providing real-time departure information for web services, and enhancing travel planning tools with optimized route suggestions based on user preferences.
Users should implement error handling to manage partial or empty results gracefully. For example, if no routes are found, the application can prompt users to adjust their search parameters or notify them of limited transit options in that area.
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.
Service Level:
100%
Response Time:
19,514ms
Service Level:
100%
Response Time:
1,070ms
Service Level:
100%
Response Time:
2,173ms
Service Level:
100%
Response Time:
953ms
Service Level:
100%
Response Time:
759ms
Service Level:
100%
Response Time:
2,073ms
Service Level:
100%
Response Time:
143ms
Service Level:
100%
Response Time:
708ms
Service Level:
100%
Response Time:
615ms
Service Level:
100%
Response Time:
547ms