GTFS Realtime - Service Alerts - Yarra Trams
GTFS Realtime Yarra Trams Service Alerts data feed provides real time information about disruptions affecting tram services including cancellations or unforeseen events affecting a stop, route or the entire network in Melbourne, Victoria. Note: This API endpoint has a rate limit of 20-27 calls per minute (depending on the data size) and caching time of 30 seconds.
There are no views created for this resource yet.
Data Dictionary
Field Name | Name | Type | Description | Fixed Values |
---|---|---|---|---|
header | Feed Header | FeedHeader() | Metadata about a feed, included in feed messages. | |
header.gtfs_realtime_version | GTFS Realtime Version | STRING() | Version of the feed specification. The current version is 2.0. | |
header.incrementality | Incrementality | ENUM() | Determines whether the current fetch is incremental. Options include: -FULL_DATASET: this feed update will overwrite all preceding realtime information for the feed. Thus this update is expected to provide a full snapshot of all known realtime information. -DIFFERENTIAL: currently, this mode is unsupported and behavior is unspecified for feeds that use this mode. There are discussions on the GTFS Realtime mailing list around fully specifying the behavior of DIFFERENTIAL mode and the documentation will be updated when those discussions are finalized. |
FULL_DATASET, DIFFERENTIAL |
header.timestamp | Feed Header Timestamp | int64() | This timestamp identifies the moment when the content of this feed has been created (in server time). In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). To avoid time skew between systems producing and consuming realtime information it is strongly advised to derive timestamp from a time server. It is completely acceptable to use Stratum 3 or even lower strata servers since time differences up to a couple of seconds are tolerable. | |
entity | Feed Entity | FeedEntity() | A definition (or update) of an entity in the transit feed. If the entity is not being deleted, exactly one of trip_update, vehicle, and alert fields should be populated. This field can be repeated as many times as needed. | |
entity.id | Feed Entity ID | STRING() | Feed-unique identifier for this entity. The ids are used only to provide incrementality support. The actual entities referenced by the feed must be specified by explicit selectors (see EntitySelector below for more info). | |
entity.alert | Feed Entity Alert | Alert() | An alert, indicating some sort of incident in the public transit network. | |
alert.informed_entity | Alert Informed Entity | EntitySelector() | Entities whose users we should notify of this alert. At least one informed_entity must be provided. This field can be repeated as many times as needed. | |
alert.informed_entity.route_id | Alert Informed Entity Route ID | STRING() | The route_id from the GTFS that this selector refers to. If direction_id is provided, route_id must also be provided. | |
alert.url | Alert URL | TranslatedString() | The URL which provides additional information about the alert. | |
alert.url.translation | Alert URL Translation | Translation() | A localized string mapped to a language. This field can be repeated as many times as needed. | |
alert.url.translation.text | Alert URL Translation Text | STRING() | A UTF-8 string containing the message. | |
alert.url.translation.language | Alert URL Translation Language | STRING() | BCP-47 language code. Can be omitted if the language is unknown or if no internationalization is done at all for the feed. At most one translation is allowed to have an unspecified language tag - if there is more than one translation, the language must be provided. | |
alert.header_text | Alert Header Text | TranslatedString() | Header for the alert. This plain-text string will be highlighted, for example in boldface. | |
alert.header_text.translation | Alert Header Text Translation | Translation() | A localized string mapped to a language. This field can be repeated as many times as needed. | |
alert.header_text.translation.language | Alert Header Text Translation Language | STRING() | BCP-47 language code. Can be omitted if the language is unknown or if no internationalization is done at all for the feed. At most one translation is allowed to have an unspecified language tag - if there is more than one translation, the language must be provided. | |
alert.description_text | Alert Description Text | TranslatedString() | Description for the alert. This plain-text string will be formatted as the body of the alert (or shown on an explicit "expand" request by the user). The information in the description should add to the information of the header. | |
alert.header_text.translation | Alert Description Text Translation | Translation() | A localized string mapped to a language. This field can be repeated as many times as needed. | |
alert.header_text.translation.text | Alert Description Text Translation Text | STRING() | A UTF-8 string containing the message. | |
alert.header_text.translation.language | Alert Description Text Translation Language | STRING() | BCP-47 language code. Can be omitted if the language is unknown or if no internationalization is done at all for the feed. At most one translation is allowed to have an unspecified language tag - if there is more than one translation, the language must be provided. |
Additional Information
Field | Value |
---|---|
Data last updated | 4 August 2025 |
Metadata last updated | 6 August 2025 |
Created | 4 August 2025 |
Format | API |
License | Creative Commons Attribution 4.0 International |
Api url | https://api.opendata.transport.vic.gov.au/opendata/public-transport/gtfs/realtime/v1/tram/service-alerts/ |
Attributes | [{"attribute_display_order_id": 1, "db_format": "FeedHeader()", "db_name": "header", "definition": "Metadata about a feed, included in feed messages.", "fixed_values": "", "id": "1378", "name": "Feed Header", "ref_number": "AT-1378"}, {"attribute_display_order_id": 2, "db_format": "STRING()", "db_name": "header.gtfs_realtime_version", "definition": "Version of the feed specification. The current version is 2.0.", "fixed_values": "", "id": "1380", "name": "GTFS Realtime Version", "ref_number": "AT-1380"}, {"attribute_display_order_id": 3, "db_format": "ENUM()", "db_name": "header.incrementality", "definition": "<p>Determines whether the current fetch is incremental. Options include:</p>\n<p>-FULL_DATASET: this feed update will overwrite all preceding realtime information for the feed. Thus this update is expected to provide a full snapshot of all known realtime information.</p>\n<p>-DIFFERENTIAL: currently, this mode is unsupported and behavior is unspecified for feeds that use this mode. There are discussions on the GTFS Realtime mailing list around fully specifying the behavior of DIFFERENTIAL mode and the documentation will be updated when those discussions are finalized.</p>", "fixed_values": "FULL_DATASET, DIFFERENTIAL", "id": "1381", "name": "Incrementality", "ref_number": "AT-1381"}, {"attribute_display_order_id": 4, "db_format": "int64()", "db_name": "header.timestamp", "definition": "This timestamp identifies the moment when the content of this feed has been created (in server time). In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). To avoid time skew between systems producing and consuming realtime information it is strongly advised to derive timestamp from a time server. It is completely acceptable to use Stratum 3 or even lower strata servers since time differences up to a couple of seconds are tolerable.", "fixed_values": "", "id": "1382", "name": "Feed Header Timestamp", "ref_number": "AT-1382"}, {"attribute_display_order_id": 5, "db_format": "FeedEntity()", "db_name": "entity", "definition": "A definition (or update) of an entity in the transit feed. If the entity is not being deleted, exactly one of trip_update, vehicle, and alert fields should be populated. This field can be repeated as many times as needed.", "fixed_values": "", "id": "1379", "name": "Feed Entity", "ref_number": "AT-1379"}, {"attribute_display_order_id": 6, "db_format": "STRING()", "db_name": "entity.id", "definition": "Feed-unique identifier for this entity. The ids are used only to provide incrementality support. The actual entities referenced by the feed must be specified by explicit selectors (see EntitySelector below for more info).", "fixed_values": "", "id": "1383", "name": "Feed Entity ID", "ref_number": "AT-1383"}, {"attribute_display_order_id": 7, "db_format": "Alert()", "db_name": "entity.alert", "definition": "An alert, indicating some sort of incident in the public transit network.", "fixed_values": "", "id": "1385", "name": "Feed Entity Alert", "ref_number": "AT-1385"}, {"attribute_display_order_id": 8, "db_format": "EntitySelector()", "db_name": "alert.informed_entity", "definition": "Entities whose users we should notify of this alert. At least one informed_entity must be provided. This field can be repeated as many times as needed.", "fixed_values": "", "id": "1389", "name": "Alert Informed Entity", "ref_number": "AT-1389"}, {"attribute_display_order_id": 9, "db_format": "STRING()", "db_name": "alert.informed_entity.route_id", "definition": "The route_id from the GTFS that this selector refers to. If direction_id is provided, route_id must also be provided.", "fixed_values": "", "id": "1391", "name": "Alert Informed Entity Route ID", "ref_number": "AT-1391"}, {"attribute_display_order_id": 10, "db_format": "TranslatedString()", "db_name": "alert.url", "definition": "The URL which provides additional information about the alert.", "fixed_values": "", "id": "1404", "name": "Alert URL", "ref_number": "AT-1404"}, {"attribute_display_order_id": 11, "db_format": "Translation()", "db_name": "alert.url.translation", "definition": "A localized string mapped to a language. This field can be repeated as many times as needed.", "fixed_values": "", "id": "1405", "name": "Alert URL Translation", "ref_number": "AT-1405"}, {"attribute_display_order_id": 12, "db_format": "STRING()", "db_name": "alert.url.translation.text", "definition": "A UTF-8 string containing the message.", "fixed_values": "", "id": "1406", "name": "Alert URL Translation Text", "ref_number": "AT-1406"}, {"attribute_display_order_id": 13, "db_format": "STRING()", "db_name": "alert.url.translation.language", "definition": "BCP-47 language code. Can be omitted if the language is unknown or if no internationalization is done at all for the feed. At most one translation is allowed to have an unspecified language tag - if there is more than one translation, the language must be provided.", "fixed_values": "", "id": "1407", "name": "Alert URL Translation Language", "ref_number": "AT-1407"}, {"attribute_display_order_id": 14, "db_format": "TranslatedString()", "db_name": "alert.header_text", "definition": "Header for the alert. This plain-text string will be highlighted, for example in boldface.", "fixed_values": "", "id": "1408", "name": "Alert Header Text", "ref_number": "AT-1408"}, {"attribute_display_order_id": 15, "db_format": "Translation()", "db_name": "alert.header_text.translation", "definition": "A localized string mapped to a language. This field can be repeated as many times as needed.", "fixed_values": "", "id": "1409", "name": "Alert Header Text Translation", "ref_number": "AT-1409"}, {"attribute_display_order_id": 16, "db_format": "STRING()", "db_name": "alert.header_text.translation.language", "definition": "BCP-47 language code. Can be omitted if the language is unknown or if no internationalization is done at all for the feed. At most one translation is allowed to have an unspecified language tag - if there is more than one translation, the language must be provided.", "fixed_values": "", "id": "1411", "name": "Alert Header Text Translation Language", "ref_number": "AT-1411"}, {"attribute_display_order_id": 17, "db_format": "TranslatedString()", "db_name": "alert.description_text", "definition": "Description for the alert. This plain-text string will be formatted as the body of the alert (or shown on an explicit \"expand\" request by the user). The information in the description should add to the information of the header.", "fixed_values": "", "id": "1412", "name": "Alert Description Text", "ref_number": "AT-1412"}, {"attribute_display_order_id": 18, "db_format": "Translation()", "db_name": "alert.header_text.translation", "definition": "A localized string mapped to a language. This field can be repeated as many times as needed.", "fixed_values": "", "id": "1413", "name": "Alert Description Text Translation", "ref_number": "AT-1413"}, {"attribute_display_order_id": 19, "db_format": "STRING()", "db_name": "alert.header_text.translation.text", "definition": "A UTF-8 string containing the message.", "fixed_values": "", "id": "1414", "name": "Alert Description Text Translation Text", "ref_number": "AT-1414"}, {"attribute_display_order_id": 20, "db_format": "STRING()", "db_name": "alert.header_text.translation.language", "definition": "BCP-47 language code. Can be omitted if the language is unknown or if no internationalization is done at all for the feed. At most one translation is allowed to have an unspecified language tag - if there is more than one translation, the language must be provided.", "fixed_values": "", "id": "1415", "name": "Alert Description Text Translation Language", "ref_number": "AT-1415"}] |
Datastore active | False |
Datastore contains all records of source file | False |
Edc sync | True |
Has views | False |
Historical | False |
Id | c1affc17-233b-4124-9e43-457267595d65 |
Last updated date | 2 weeks ago |
Mimetype | application/json |
Open dataset title | GTFS Realtime - Service Alerts - Yarra Trams |
Package id | 53d596e8-7d96-4ef9-85ec-870ace4442fe |
Position | 4 |
Publication date | 2 years ago |
State | active |
File Size | 2.3 KB |