developers

Developers

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 provide as defined in the GTFS-realtime specifications. The JSON API is unserialized so no protocol buffers 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. An API Key is required to access the Static Schedule Feed. You can appy for any API Key by agreeing to the License Agreement and completing the form below.

GTFS Schedule Data (API Key required): Download

 

License Agreement

The Commuter Rail Division of the Regional Transportation Authority (Metra) hereby grants you (Licensee) non-exclusive, limited, and revocable rights to use, reproduce, and redistribute Metra Data (Data) subject to the following Terms, as they may be updated or modified by Metra, at any time in its sole discretion.

General Conditions

  1. Licensee shall include in any representation of the Data that its product, application, or site (App) is not sponsored, affiliated, or operated by Metra.

  1. Licensee shall include in any representation of the Data a statement including the date and time the Data was last updated.

  1. Licensee may receive data from Metra directly, but its App must redistribute any data through Licensee’s own host. Use of Licensee’s App must not direct users to access data directly from Metra’s servers.

  1. Licensee must not state or imply that the data is accurate, complete, or timely. Licensee may however state that the data was obtained from Metra, and Licensee is redistributing through its own host.

  1. Licensee must not use or make available Data that is inaccurate, misleading, false, or unlawful. Licensee must not modify or delete Data. Licensee’s App may make limited use of Data, consistent with the other provisions of this license.

  1. All of the Data, including, but not limited to, trademarks, service marks, maps, schedules, arrival information, fare information, photographs and illustrations, is the property of Metra unless otherwise indicated. Metra trademarks and copyrighted materials, including any confusingly similar variants, may not be used in association with Data.

  1. Metra reserves the right to alter how it provides Data and/or no longer provide Data at any time without prior notice. Metra will not be liable under any circumstance for any modification, suspension or discontinuance of the data.

  2. Licensee is solely responsible for development and use of Licensee’s App.

  3. Licensee is responsible for complying with all applicable laws, rules, or regulations.

  4. Metra maintains title, ownership, rights and interest in and to Data.

  5. DATA IS PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS. METRA MAKES NO REPRESENTATION OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED. METRA DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR PURPOSE. METRA AND ITS EMPLOYEES, OFFICERS, DIRECTORS, AND AGENTS WILL NOT BE LIABLE FOR DAMAGES OF ANY KIND ARISING FROM THE USE OF DATA, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, PUNITIVE AND CONSEQUENTIAL DAMAGES.

  6. Metra reserves the right to terminate this license and access to Data or to change its method of providing access.

Applicable Law

The laws of the State of Illinois shall govern all rights and obligations under this Agreement, without giving effect to any principles of conflicts of laws.

Entire Agreement

This Agreement constitutes the complete and exclusive agreement between Metra and Licensee with respect to the subject matter hereof and supersedes all prior oral or written understandings, communications, or agreements not specifically incorporated herein. Metra reserves the right to modify or revoke this Agreement at any time.

GTFS Realtime API Key Request Form

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