Technical Notes
METRO released a set of new service alert APIs that replaced the previous service alert API. These new APIs makes service alert information available to 3rd parties in both json and protobuf formats.
API retired: https://api.ridemetro.org/GtfsAlerts/Alerts?subscription-key=
Set of new service alert APIs:
You will need to subscribe to the APIs to utilize them.
JSON
https://api.ridemetro.org/v2alerts/alerts?subscription-key=
https://api.ridemetro.org/v2alerts/alertsbyroute?subscription-key=
https://api.ridemetro.org/v2alerts/routes?subscription-key=
Protobuf
https://api.ridemetro.org/v2alertspb/alerts.pb?subscription-key=
An example of a service alert in json format is located below:
{"alert_id":001,"effect_name":"Delay","effect":"OTHER_EFFECT","cause":"UNKNOWN_CAUSE","header_text":"Route 082 WESTHEIMER experiencing minor delays","short_header_text":"Route 082 WESTHEIMER experiencing minor delays","severity":"Minor","created_dt":"1623082172","last_modified_dt":"1623082172","service_effect_text":"Minor Route 082 WESTHEIMER delay","alert_lifecycle":"New","effect_periods":[{"effect_start":"1623082171","effect_end":"1623089376"}],"affected_services":{"services":[{"route_type":"3","mode_name":"Bus","route_id":"40401","route_name":"WESTHEIMER"},{"route_type":"3","mode_name":"Bus","route_id":"41336","route_name":"WESTHEIMER"}],"elevators":[]}}
If you have any questions about this transition please contact Houston METRO at 713-739-4817 or at 713-615-6543. We appreciate your continued partnership.
Terms of Use
These Terms of Use ("Terms") govern your use of METRO's API (the "Data"). METRO grants you a limited, revocable license to use, reproduce, and redistribute the Data in accordance with these terms. You must present the Data with the following legend, prominently displayed: "Route and arrival data provided by permission of METRO" unless otherwise agreed by METRO in writing. METRO’s trademarks and services marks (its “Marks”) are its valuable intellectual property. METRO retains all rights it has in these Marks. You may use the Mark “METRO” in connection with your use of the Data, but only to identify the goods and services specifically identified by the Mark. If you choose to use the Mark you must indicate it is the property of METRO by marking them with an asterisk (“*”) and stating “* METRO is the registered trademark of the Metropolitan Transit Authority of Harris County, Texas. All rights reserved.” Other than displaying these legends, you are not authorized to make any use of any Marks of METRO or any confusingly similar variant thereof.
THE DATA IS PROVIDED TO YOU "AS IS" AND "AS AVAILABLE" WITHOUT ANY WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, AND NON-INFRINGEMENT.
In no event will METRO be liable for any direct or indirect damages, even if METRO is aware of the possibility of such damages, including without limitation loss of profits or for any other special, consequential, exemplary or incidental damages, however caused, whether based upon contract, negligence, strict liability in tort, warranty, or any other legal theory, arising out of or related to your use of the Data. The parties intend that this limitation should apply even if it causes any warranty to fail of its essential purpose.
You agree to indemnify, defend, and hold harmless METRO and its officers, directors, and employees from and against all fines, suits, proceedings, claims, causes of action, demands, or liabilities of any kind or of any nature arising out of or in connection with your use or distribution of the Data. You agree that METRO retains all right, title, and interest in the Data, and any intellectual property rights embodied therein, that you acquire no such rights from distribution of the Data, and that you will not attempt to restrict, limit or prevent METRO's use of the Data or METRO's service marks in connection therewith.
In the event of any conflict between these Terms and the terms governing general use of METRO transit data, these Terms will be controlling as to matters expressly addressed herein. These Terms constitute the entire agreement between the parties as to their subject matter.
View METRO's privacy policy.