GTFS Scheduled Transit Service Change Auditor avatar

GTFS Scheduled Transit Service Change Auditor

Pricing

from $10.50 / 1,000 gtfs service-date comparison completeds

Go to Apify Store
GTFS Scheduled Transit Service Change Auditor

GTFS Scheduled Transit Service Change Auditor

Compare GTFS schedules for a route and service date. Track trip additions, stop order, timing and frequency changes across two complete editions.

Pricing

from $10.50 / 1,000 gtfs service-date comparison completeds

Rating

0.0

(0)

Developer

Thirdwatch

Thirdwatch

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Compare GTFS schedules for a route and service date. Track trip additions, stop order, timing and frequency changes across two complete editions.

What you get

A transit publisher can review a changed stop pattern and headway on a specific service date before updating a rider timetable.

Give it the link to a publisher’s GTFS ZIP and run it on a schedule. It downloads the file on each run, remembers the last timetable it saw for your date and watchlist, and reports only what changed since. You can also supply both timetables yourself for a one-off comparison.

Archives are limited to 12 MiB compressed, 96 MiB expanded, 32 MiB and 350,000 rows per file, and 100 flat files. A ZIP you paste must also fit in the run input, which is limited to 9 MiB in total. After base64 encoding that leaves about 6.7 MiB of ZIP, shared between currentFeed and previousFeed. The actor checks the ZIP directory before indexing it. It accepts single-disk ZIPs with a directory of at most 128 KiB. ZIP64, encrypted members, dangerous paths and unusually high compression ratios are rejected.

Output fields

The default example produces these top-level fields. Nested records can be expanded in JSON or selected during export.

FieldMeaning
eventTypeWhat this row reports. See the list below.
baselineSourceWhat the current timetable was compared with: previousFeed, savedBaseline, or none when there was nothing earlier.
agencyIdAgency identifier that scopes the record.
tripIdPublisher’s identifier for the route or scheduled trip.
serviceDateService date as reported by the source.
beforeEarlier record or measurements for this identity, when available.
afterCurrent record or measurements for the same identity.
currentFeedArchive identity, scope and attribution for the corresponding GTFS timetable.
previousFeedArchive identity, scope and attribution for the corresponding GTFS timetable.
stopPatternChangedStop pattern changed across comparable observations; missing evidence can leave this empty.
commonStopTimesChangedCommon stop times changed across comparable observations; missing evidence can leave this empty.
frequencyChangedFrequency changed across comparable observations; missing evidence can leave this empty.
routeChangedRoute changed across comparable observations; missing evidence can leave this empty.
serviceIdChangedService ID changed across comparable observations; missing evidence can leave this empty.
timezoneChangedTimezone changed across comparable observations; missing evidence can leave this empty.
routeIds, tripIdsOn a confirmation row: the watchlist that was checked.
routeIdsNotFoundOn a confirmation row: watched route IDs missing from the current timetable. Check these if you expected trips.
tripsInCurrent, tripsInPreviousOn a confirmation row: how many watched trips each timetable has on this date.
noteOn a confirmation row: what the row means in a sentence.

Row types

eventTypeMeaning
trip_added, trip_removed, trip_changedA difference between two complete timetables.
baseline_tripA watched trip in the current timetable when there is nothing earlier to compare with.
first_observedA trip the earlier timetable lacks, where one timetable is marked incomplete. Removals and changes are not claimed in this case.
no_changesConfirmation: two complete timetables were compared and the watched trips match.
no_new_tripsConfirmation: nothing new was seen, and a timetable marked incomplete means removals and changes were not assessed.
no_scheduled_tripsConfirmation: nothing earlier to compare with, and no watched trip on this date.

A run with nothing else to report writes one confirmation row, so a successful run always has a row to read. The row itself carries no charge.

Example output

Selected fields from a verified run on supplied illustrative data. The JSON below is an excerpt from one row.

{
"eventType": "trip_changed",
"baselineSource": "previousFeed",
"agencyId": "EX",
"tripId": "T-CHANGE",
"serviceDate": "2026-11-06",
"stopPatternChanged": true,
"commonStopTimesChanged": true,
"frequencyChanged": true,
"routeChanged": false
}

Input parameters

The form opens with a small sample timetable, so you can start a run straight away and see its baseline rows. To see a comparison, switch to JSON, paste the input below and start the Actor. Open the run’s dataset to inspect or export the result.

The included comparison uses two original encoded GTFS ZIPs. The complete input includes those encoded files. Open the example to copy it without substituting your own files.

ParameterUseMeaning
authorizedRequiredConfirm you may use and keep every feed you supply or link to, and that you will follow its licence. Default: false.
serviceDateRequiredThe agency’s local date to compare, as YYYY-MM-DD. It must fall inside the published dates of every timetable you supply.
routeIdsRequiredWatch 1–20 source route IDs, exactly as they appear in the timetable’s routes.txt. These are identifiers, not public route names.
tripIdsOptional / mode-specificOptional filter for up to 50 trips in the watched routes.
currentFeedRequiredSet scopeId, a stable name for this publisher, and one of: source = url with url, an https:// link to the publisher’s GTFS ZIP, downloaded on each run; zipBase64, your authorized GTFS ZIP, base64-encoded; or source = guelph, the City of Guelph’s official public feed. Mark complete only if the watchlist is fully represented. Optionally set attribution to the credit the feed’s licence requires.
rememberStateOptionalSave what the next comparison needs in a key-value store in your account, and compare the next run against it. Default: true. The input form starts with it off so the sample repeats exactly; turn it on for your own schedule.
previousFeedOptional / mode-specificOptional earlier timetable as zipBase64 with the same scopeId. It takes priority over a saved timetable. With neither, each watched trip in the current timetable is a baseline row.

Run it on a schedule

  1. Set serviceDate and routeIds, point currentFeed at the publisher’s GTFS link, and turn rememberState on.
  2. Save the input as a Task and attach the Task to a schedule. Nothing in the input needs to change while your date stays current.
  3. After each run, read the dataset. The first run is the baseline and is not billed. Later runs report what changed since the run before.

This example watches one route in the official Regina Transit feed:

{
"authorized": true,
"serviceDate": "2026-12-14",
"routeIds": ["1-48"],
"rememberState": true,
"currentFeed": {
"scopeId": "regina-transit",
"source": "url",
"url": "https://opengis.regina.ca/reginagtfs/google_transit.zip",
"complete": true,
"attribution": "Contains information licensed under the Open Government Licence – City of Regina."
}
}

The saved timetable lives in a key-value store named gtfs-service-change-auditor-state in your own account, with one record per combination of scopeId, serviceDate, routeIds and tripIds. Changing any of them starts a new baseline, and two Tasks watching different dates of one feed each keep their own. Only the watched trips for that date are kept, never the whole ZIP.

The timetable is saved only after a run’s rows are delivered, so the changes from a failed run are reported again by the next one. A failed download fails the run with the reason: nothing is billed and the saved timetable stays as it was. A timetable marked incomplete never replaces a complete one. To manage this yourself, set rememberState to false and supply previousFeed.

A completed comparison of two complete timetables is billed once, whether or not anything changed. Baselines and comparisons involving an incomplete timetable are not billed.

API integration

Submit JSON to this Actor’s run endpoint. On success, read defaultDatasetId from the run and export its items as JSON or CSV. Each run also writes RUN_REPORT to its key-value store, with the baseline used, the rows delivered and the comparisons completed.

Limitations

  • Feed size: a feed must fit the limits above, and many larger networks do not. In November 2026 the official feeds for TriMet and the MBTA were over 12 MiB, and those for Calgary Transit, Madison Metro and Sound Transit had a stop_times.txt over the 32 MiB and 350,000-row limits. Such a feed fails with a message naming the limit it passed.
  • Links: a feed link must be a public https:// address that needs no sign-in. Usernames or passwords in the address, private network addresses and redirects to either are refused. Up to 5 redirects are followed, and the download must finish within 90 seconds. Some publishers refuse downloads from hosted services. The run then fails with the server’s answer, and you can supply the ZIP in zipBase64 instead.
  • Access keys: a key in the link’s query string is sent to the publisher but left out of sourceUrl and the results. It does stay in your run input.
  • Dates: a run for a date outside the current timetable’s published dates fails with a message saying so. Update serviceDate as timetables roll forward; the first run on a new date is a new baseline, so a change published on that same day is not reported as a change.
  • Route IDs: publishers can renumber route IDs between editions. A renumbered route reads as removed trips, because its new ID is not on your watchlist. RUN_REPORT lists any watched ID that has gone under routeIdsNotFound.
  • Scope: this compares scheduled service rather than real-time arrivals, and incomplete timetables suppress missing-service claims.

Feed licences

You are responsible for following the licence of any feed you supply or link to, and authorized confirms you may use it. Set attribution to the credit that licence requires, and it is carried on every row from that feed in currentFeed, and in previousFeed when a later run compares against it.

City of Guelph data

Contains information licensed under the Open Government Licence – City of Guelph. See the Open Data Licence Version 2.0. If you publish results from this feed, keep this statement and the link with them. Every row from the guelph source carries them in currentFeed, including rows compared against a saved timetable.

This Actor is independent and is not endorsed by the City of Guelph.

When checked in November 2026, the city’s published file covered 4 January to 2 May 2026, so choose a serviceDate in that range until the city publishes a new edition. A date outside the published range fails, and the example’s route ID may change with a new edition.

Official timetable ZIP · GTFS specification

Compared to alternatives

A timetable lookup can list a departure at one stop. Comparing archived GTFS editions exposes a changed trip pattern, new service exception or headway revision. Related options: l3digital/gtfs-service-date-report and datamule/gtfs-feed-extractor.

FAQ

When can a missing trip be reported as removed?

Both archives must represent the same publisher scope and be marked complete for the watchlist. Weekly schedules and date exceptions are applied first.

Why did my run return one row and no trips?

That is a confirmation row. Read eventType and note: nothing changed, or no watched trip runs on this date. If routeIdsNotFound lists your route, use the ID from the timetable’s routes.txt rather than the public route number.

Which timetable did this run compare against?

baselineSource on each row says, and previousFeed gives that timetable’s checksum and, for a saved timetable, when it was saved.

Last verified: 2026-11. The verified sample run returned 3 dataset rows. Thirdwatch

Observation scope

A comparison pairs two complete schedule releases for a common network and local service date. Changed trips and stop sequences remain linked to their selected routes.