WMATA Bus Route and Stop Methods XML - Schedule at Stop

Washington Metropolitan Area Transit Authority - XML - Schedule at Stop

Description Returns a set of buses scheduled at a stop for a given date. Response Elements Element Description ScheduleArrivals Array containing scheduled arrival information (ScheduleArrival). Stop Structure describing stop information. ScheduleArrival Elements DirectionNum Denotes a binary direction (0 or 1) of the bus. There is no specific mapping to direction, but a different value for the same route signifies that the buses are traveling in opposite directions. Use the TripDirectionText element to show the actual destination of the bus. EndTime Scheduled end date and time (Eastern Standard Time) for this trip. Will be in YYYY-MM-DDTHH:mm:ss format (e.g.: 2014-10-27T13:17:00). RouteID Bus route variant identifier (pattern). This variant can be used in several other bus methods which accept variants. Note that customers will never see anything other than the base route name, so variants 10A, 10Av1, 10Av2, etc. will be displayed as 10A on the bus. ScheduleTime Date and time (Eastern Standard Time) when the bus is scheduled to stop at this location. Will be in YYYY-MM-DDTHH:mm:ss format (e.g.: 2014-10-27T13:17:00). StartTime Scheduled start date and time (Eastern Standard Time) for this trip. Will be in YYYY-MM-DDTHH:mm:ss format (e.g.: 2014-10-27T13:17:00). TripDirectionText General direction of the trip (e.g.: NORTH, SOUTH, EAST, WEST). TripHeadsign Destination of the bus. TripID Trip identifier. This can be correlated with the data in our bus schedule information as well as bus positions. Stop Elements Lat Latitude. Lon Longitude. Name Stop name. May be slightly different from what is spoken or displayed in the bus. Routes String array of route variants which provide service at this stop. Note that these are not date-specific; any route variant which stops at this stop on any day will be listed. StopID 7-digit regional ID which can be used in various bus-related methods. If unavailable, the StopID will be 0 or NULL.

Posted on:

2018-08-27

API Description

Provider

Washington Metropolitan Area Transit Authority

decription

Official feed of Metro/WMATA, not monitored 24/7. Report emergencies to Transit Police at (202) 962-2121. Service updates @metrorailinfo & @metrobusinfo.

Curl command through Streamdata.io

curl -v "https://streamdata.motwin.net/http://api.wmata.com/Bus.svc/StopSchedule?X-Sd-Token={streamdata_token}&Date={field_value}&StopID={field_value}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.