For Developers

Image
Two Metra train leaving Union Station

Developers can use Metra's GTFS data to build apps that represent the physical layout, stop locations and static schedule for the entire Metra system. To get the feeds, you must agree to the License Agreement.

General Transit Feed Specification (GTFS) Data

The feeds include GTFS static schedule as well as two methods of obtaining Metra GTFS-realtime information - raw data (.dat) or JSON.  The Raw Data API is based on Protocol Buffers and data is provided as defined in the GTFS-realtime specifications. The JSON API is unserialized, so no protocol buffers are required. Also, note that times that are defined as POSIX in the GTFS-realtime reference material are converted to UTC in the JSON API. We strongly encourage developers to thoroughly digest the reference material provided in the following links:

GTFS Static Reference

GTFS Realtime Reference

General Transit Feed Specification (GTFS) Static Schedule

The GTFS static schedule is updated regularly and may change within a 24-hour span. We suggest you check at least once every 24 hours for an updated schedule.

GTFS Schedule Data : Download

Metra GTFS API

Additional information on the Metra GTFS API is available here. An API Key is required and may be obtained by agreeing to the License Agreement and completing the form below.

License Agreement

Please click here to view our license agreement.

GTFS Realtime API Key Request Form

(Note: You must select this checkbox to submit your application).