# Modal Types And GTFS-Realtime End Points

**URL:** <https://opendataforum.transport.nsw.gov.au/t/modal-types-and-gtfs-realtime-end-points/2729>\
**Category:** Uncategorized\
**Created:** [May 17, 2022, 10:12pm UTC](https://opendataforum.transport.nsw.gov.au/t/modal-types-and-gtfs-realtime-end-points/2729 "2022-05-17T22:12:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Webmaster](https://sea1.discourse-cdn.com/flex019/user_avatar/opendataforum.transport.nsw.gov.au/webmaster/32/228_2.png) [@Webmaster](https://opendataforum.transport.nsw.gov.au/u/Webmaster)\
**Post date:** [May 17, 2022, 10:12pm UTC](https://opendataforum.transport.nsw.gov.au/t/modal-types-and-gtfs-realtime-end-points/2729/1 "2022-05-17T22:12:39Z")

</div>

Hello,

Can you say what the endpoint will be for GTFS-R for datasets containing new, perhaps temporary, modal types? For example, NSW TrainLink Train. Suppose a bus type appears in that dataset, will the GTFS-R enpoint be the same as for the trains or /buses.

🙄

---

<div class="post-metadata">

**Author:** ![Marcie](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Marcie](https://opendataforum.transport.nsw.gov.au/u/Marcie)\
**Post date:** [June 3, 2022, 6:26am UTC](https://opendataforum.transport.nsw.gov.au/t/modal-types-and-gtfs-realtime-end-points/2729/2 "2022-06-03T06:26:25Z")

</div>

Hi There,

NSW TrainLink contains both train and coach routes in it’s GTFS-R feed. To see all the routes in the bundle you can check out Public Transport - Timetables - For Realtime and get /nswtrains

Routes are listed in the routes.txt file and include the “route\_type” field, which describes the type of service for a particular route. Here’s a link to the extended GTFS route types:

> **[Extended GTFS Route Types  |  Static Transit  |  Google...](https://developers.google.com/transit/gtfs/reference/extended-route-types)**

If a new bus is run by NSW TrainLink, it’s included in their bundle and the endpoint remains /nswtrains.

Hope this helps.  
Marcela
