Description
The API allows the following operations to be carried out:
- List stops (nearby or not)
- Obtain waiting time at a stop zone
- Retrieve schedules at a stop
The API only returns the next 1 to 2 passes in real time. The return format is JSON.
The same API is used by the Naolib Tram & bus mobile application (free downloadable for iPhone and Android).
Please consult the swagger for full order details.
Examples of use:
- List of stops near a given point: http://open.tan.fr/ewp/arrets.json/47,21661/-1,556754
- Waiting time at the "Place du Cirque" stop: http://open.tan.fr/ewp/timewait.json/CRQU
- Details of the timetables at the "Pirmil" stop for bus line 27 in direction 1 towards Herdrie: http://open.tan.fr/ewp/ horairesarret.json/PIRA1/27/1
Disclaimer:
From December 2025 this dataset will not be maintained and will be replaced by:
Nanolib de Nantes Métropole real-time public transport information services in SIRI format
It is recommended that re-users prioritise the SIRI format over the GTFS-RT. This preference allows for the more comprehensive functionalities and advanced real-time information management capabilities offered by SIRI, compared to the limited options available in GTFS-RT.
Here are the different Naolib public transport datasets in standardised formats made available to you: NeTEx Judgments, NeTEx offer, GTFS-RT, GTFS-RT, SIRI and SIRI lite.
For all mobility data, you can consult the [catalogue des données de mobilité de Nantes Métropole] (https://data.nantesmetropole.fr/explore/dataset/244400404_catalogue-donnees-mobilite-naolib/table/?disjunctive.mode_de_transport)
Resources
| Name | Format | Description | Link |
|---|---|---|---|
| Version 3 of the API documentation.pdf | Open resource | ||
| 244400404_api-temps-reel-tan.json | JSON | Open resource | |
| 244400404_api-temps-reel-tan.csv | CSV | Open resource |