# Agency\_id Query Param

**URL:** <https://opendataforum.transport.nsw.gov.au/t/agency-id-query-param/2726>\
**Category:** Real-time Public Transport\
**Created:** [May 15, 2022, 3:12am UTC](https://opendataforum.transport.nsw.gov.au/t/agency-id-query-param/2726 "2022-05-15T03:12:44Z")\
**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 15, 2022, 3:12am UTC](https://opendataforum.transport.nsw.gov.au/t/agency-id-query-param/2726/1 "2022-05-15T03:12:44Z")

</div>

Does the public transport realtime alerts api support and agency\_id query parameter to return results only for that agency?

---

<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:** [August 16, 2022, 1:51am UTC](https://opendataforum.transport.nsw.gov.au/t/agency-id-query-param/2726/2 "2022-08-16T01:51:24Z")

</div>

> [@Webmaster](#):
>
> ansport realtime alerts api support and agenc

Hi @Webmaster, the realtime alerts do not support an agency\_id query.

Please note that the realtime alerts are now coming from a /v2/gtfs/alerts feed:

> **[Public Transport - Realtime - Alerts - v2 - TfNSW Open Data Hub and Developer...](https://opendata.transport.nsw.gov.au/dataset/public-transport-realtime-alerts-v2)**
>
> Realtime alerts at either the stop, trip, or service line level in GTFS-realtime format for Bus, Train, Ferry, Light Rail, Metro and Coaches.

There is a`/v2/gtfs/alerts/all` feed and individual feeds for each transport mode.
