Route lookup key; can be an integer ID, a '<feed onestop_id>:<gtfs route_id>' key, or a Onestop ID
service_dateoptional string (date)
Search for trips active on this date
trip_idoptional string
Search for records with this GTFS trip_id
include_geometryoptional string
Include shape geometry
Allowed:true, false
use_service_windowoptional string
Use a fall-back service date if the requested service_date is outside the active service period of the feed version. The fall-back date is selected as the matching day-of-week in the week which provides the best level of scheduled service in the feed version. This value defaults to true.
Allowed:true, false
relative_dateoptional string
Search for departures on a relative date label, e.g. TODAY, TOMORROW, TUESDAY, NEXT_WEDNESDAY
Pagination cursor value. This should be treated as an opaque value created by the server and returned as the link to the next result page, which may be empty. For historical reasons, this is based on the integer record ID values, but that should not be assumed to be the case in the future.
limitoptional integer (int32)
Maximum number of records to return
formatoptional string
Response format
Allowed:json, geojson, geojsonl
feed_version_sha1optional string
Search for records in this feed version
feed_onestop_idoptional string
Search for records in this feed
latoptional number
Latitude
lonoptional number
Longitude
license_commercial_use_allowedoptional string
Filter entities by feed license 'commercial_use_allowed' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.
Allowed:yes, no, unknown, exclude_no
license_share_alike_optionaloptional string
Filter entities by feed license 'share_alike_optional' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.
Allowed:yes, no, unknown, exclude_no
license_create_derived_productoptional string
Filter entities by feed license 'create_derived_product' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.
Allowed:yes, no, unknown, exclude_no
license_redistribution_allowedoptional string
Filter entities by feed license 'redistribution_allowed' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.
Allowed:yes, no, unknown, exclude_no
license_use_without_attributionoptional string
Filter entities by feed license 'use_without_attribution' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.
GTFS trips.trip_headsign; text that appears on signage identifying the trip's destination to riders
trips.trip_short_namenullable string
GTFS trips.trip_short_name; public-facing text used to identify the trip to riders, such as a train number
trips.direction_idnullable integer
GTFS trips.direction_id; binary indicator of travel direction [0=outbound, 1=inbound]; meaning depends on the agency
trips.block_idnullable string
GTFS trips.block_id; trips with the same block_id are operated in sequence by the same vehicle
trips.wheelchair_accessiblenullable integer
GTFS trips.wheelchair_accessible [0=no information, 1=vehicle can accommodate at least one rider in a wheelchair, 2=no riders in wheelchairs can be accommodated]
trips.bikes_allowednullable integer
GTFS trips.bikes_allowed [0=no information, 1=vehicle can accommodate at least one bicycle, 2=no bicycles allowed]
trips.cars_allowednullable integer
GTFS trips.cars_allowed [0=no information, 1=vehicle can accommodate at least one car, 2=no cars allowed]
Real-time status of this trip. STATIC means no GTFS-RT data was matched; otherwise reflects the matching TripUpdate's schedule_relationship. See ScheduleRelationship for per-value semantics
Calculated stop pattern ID; an integer scoped to the feed version
trips.feed_versionFeedVersion
Feed version for this entity
trips.feed_version.sha1string
SHA1 hash of the zip file
Example:ab5bdc8b6cedd06792d42186a9b542504c5eef9a
trips.feed_version.fetched_atstring (datetime)
Time when the file was fetched from the URL
Example:2019-11-15T00:45:55.409906
trips.feed_version.feedFeed
Feed associated with this feed version
trips.feed_version.feed.idinteger
Internal integer ID
trips.feed_version.feed.onestop_idstring
Onestop ID for this feed.
Format: f-geohash-name.
Example: f-9q9-bart.
trips.shapenullable Shape
Shape for this trip
trips.shape.shape_idstring
GTFS shapes.shape_id
trips.shape.geometryLineString
Path geometry for this shape as a LineString
trips.shape.generatedboolean
True if this geometry was generated from stop locations because the source feed lacks a shapes.txt
trips.calendarCalendar
Calendar for this trip
trips.calendar.service_idstring
GTFS calendar.service_id
trips.calendar.start_datestring (date)
GTFS calendar.start_date
Example:2019-11-15
trips.calendar.end_datestring (date)
GTFS calendar.end_date
Example:2019-11-15
trips.calendar.mondayinteger
GTFS calendar.monday [1=service runs on Mondays, 0=service does not run]
trips.calendar.tuesdayinteger
GTFS calendar.tuesday [1=service runs on Tuesdays, 0=service does not run]
trips.calendar.wednesdayinteger
GTFS calendar.wednesday [1=service runs on Wednesdays, 0=service does not run]
trips.calendar.thursdayinteger
GTFS calendar.thursday [1=service runs on Thursdays, 0=service does not run]
trips.calendar.fridayinteger
GTFS calendar.friday [1=service runs on Fridays, 0=service does not run]
trips.calendar.saturdayinteger
GTFS calendar.saturday [1=service runs on Saturdays, 0=service does not run]
trips.calendar.sundayinteger
GTFS calendar.sunday [1=service runs on Sundays, 0=service does not run]
trips.calendar.added_datesarray of string (date)
Service-added dates derived from calendar_dates.txt records with exception_type=1
trips.calendar.removed_datesarray of string (date)
Service-removed dates derived from calendar_dates.txt records with exception_type=2
trips.frequenciesarray of Frequency
Frequencies for this trip
trips.frequencies.start_timestring (hms)
GTFS frequencies.start_time
Example:15:21:04
trips.frequencies.end_timestring (hms)
GTFS frequencies.end_time
Example:15:21:04
trips.frequencies.headway_secsinteger
GTFS frequencies.headway_secs; time in seconds between departures from the same stop for this trip
trips.frequencies.exact_timesnullable integer
GTFS frequencies.exact_times [0=frequency-based, not exactly scheduled; 1=schedule-based, same headway throughout]
trips.alertsnullable array of Alert
GTFS-RT service alerts on this trip, whose agency, route and mode, if given, are the trip's; pass active: true to return only currently active alerts
trips.alerts.entity_idstring
Id of the GTFS-RT FeedEntity that carried this alert, as published by its realtime feed. This is the realtime message's own entity id, not a GTFS static id like those in informed_entity. It should be unique within one realtime feed but not across feeds, so identify an alert by rt_feed_onestop_id and entity_id together, for example to merge the copies of an alert reached through a stop, its routes and their agency. Producers are not required to keep it the same between fetches
trips.alerts.rt_feed_onestop_idstring
Onestop ID of the feed whose GTFS-RT data this alert came from. A feed may carry both static and realtime URLs, so this can be the same feed as a feed_onestop_id elsewhere in the schema
GTFS routes.route_short_name; short name of a route, such as a line number or abbreviation
trips.route.route_long_namenullable string
GTFS routes.route_long_name; full descriptive name of a route
trips.route.alertsnullable array of Alert
GTFS-RT service alerts on this route, as a whole or at one of its stops, whose agency and mode, if given, are the route's; pass active: true to return only currently active alerts, include_modes: true to also return alerts on the route's mode, such as all of its agency's subway service, and include_trips: true to also return alerts on the route's trips
trips.route.alerts.entity_idstring
Id of the GTFS-RT FeedEntity that carried this alert, as published by its realtime feed. This is the realtime message's own entity id, not a GTFS static id like those in informed_entity. It should be unique within one realtime feed but not across feeds, so identify an alert by rt_feed_onestop_id and entity_id together, for example to merge the copies of an alert reached through a stop, its routes and their agency. Producers are not required to keep it the same between fetches
trips.route.alerts.rt_feed_onestop_idstring
Onestop ID of the feed whose GTFS-RT data this alert came from. A feed may carry both static and realtime URLs, so this can be the same feed as a feed_onestop_id elsewhere in the schema
Onestop ID for this agency (or its associated operator)
trips.route.agency.alertsnullable array of Alert
GTFS-RT service alerts on this agency as a whole, not those narrowed to a route, stop or trip; pass active: true to return only currently active alerts, and include_modes: true to also return alerts on a mode the agency runs, such as all of its subway service
trips.route.agency.alerts.entity_idstring
Id of the GTFS-RT FeedEntity that carried this alert, as published by its realtime feed. This is the realtime message's own entity id, not a GTFS static id like those in informed_entity. It should be unique within one realtime feed but not across feeds, so identify an alert by rt_feed_onestop_id and entity_id together, for example to merge the copies of an alert reached through a stop, its routes and their agency. Producers are not required to keep it the same between fetches
Onestop ID of the feed whose GTFS-RT data this alert came from. A feed may carry both static and realtime URLs, so this can be the same feed as a feed_onestop_id elsewhere in the schema
GTFS stop_times.stop_sequence; order of stops for this trip; values must increase along the trip but need not be consecutive
trips.stop_times.stop_headsignnullable string
GTFS stop_times.stop_headsign; overrides the trip-level headsign for passengers boarding at this stop
trips.stop_times.pickup_typenullable integer
GTFS stop_times.pickup_type [0=regular scheduled pickup, 1=no pickup available, 2=must phone agency to arrange, 3=must coordinate with driver]
trips.stop_times.drop_off_typenullable integer
GTFS stop_times.drop_off_type [0=regular scheduled drop-off, 1=no drop-off available, 2=must phone agency to arrange, 3=must coordinate with driver]
trips.stop_times.timepointnullable integer
GTFS stop_times.timepoint [0=times are approximate, 1=times are exact]
trips.stop_times.interpolatednullable integer
1 if this arrival/departure time was filled in by interpolation during import; 0 or null otherwise
trips.stop_times.stopStop
Stop associated with this stop time
trips.stop_times.stop.idinteger
Internal integer ID
trips.stop_times.stop.stop_idstring
GTFS stops.stop_id
Example:400029
trips.stop_times.stop.stop_namenullable string
GTFS stops.stop_name
Example:MADISON AV/E 68 ST
trips.stop_times.stop.geometryPoint
Geographic location of this stop as a GeoJSON Point
trips.stop_times.stop.alertsnullable array of Alert
GTFS-RT service alerts on this stop, with or without a route. An agency, route or mode the alert also gives must be in this stop's feed version and agree with each other; alerts on a trip at the stop are on the trip instead. Pass active: true to return only currently active alerts
trips.stop_times.stop.alerts.entity_idstring
Id of the GTFS-RT FeedEntity that carried this alert, as published by its realtime feed. This is the realtime message's own entity id, not a GTFS static id like those in informed_entity. It should be unique within one realtime feed but not across feeds, so identify an alert by rt_feed_onestop_id and entity_id together, for example to merge the copies of an alert reached through a stop, its routes and their agency. Producers are not required to keep it the same between fetches
Onestop ID of the feed whose GTFS-RT data this alert came from. A feed may carry both static and realtime URLs, so this can be the same feed as a feed_onestop_id elsewhere in the schema