WMATA Bus Route and Stop Methods XML - Schedule

Washington Metropolitan Area Transit Authority - XML - Schedule

Description Returns schedules for a given route variant for a given date. Response Elements Element Description Direction0/Direction1 Arrays containing trip information (Trip). Most routes will return content in both Direction0 and Direction1 elements, though a few (especially ones which run in a loop, such as the U8) will return content only for Direction0 and NULL content for Direction1. 0 or 1 are binary properties. There is no specific mapping to direction, but a different value for the same route signifies that the route is in an opposite direction. Name Descriptive name for the route. Trip Elements DirectionNum Deprecated. Use the TripDirectionText element to denote the general direction of the trip. 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. This can be used in several other bus methods which accept variants. 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). StopTimes Array containing location and time information (StopTime). TripDirectionText General direction of the trip (NORTH, SOUTH, EAST, WEST, LOOP, etc.). TripHeadsign Descriptive text of where the bus is headed. This is similar, but not necessarily identical, to what is displayed on the bus. TripID Unique trip ID. This can be correlated with the data returned from the schedule-related methods. StopTime Elements StopID 7-digit regional ID which can be used in various bus-related methods. If unavailable, the StopID will be 0 or NULL. StopName Stop name. May be slightly different from what is spoken or displayed in the bus. StopSeq Order of the stop in the sequence of StopTimes. Time Scheduled departure date and time (Eastern Standard Time) from this stop. Will be in YYYY-MM-DDTHH:mm:ss format (e.g.: 2014-10-27T13:17:00).

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/RouteSchedule?X-Sd-Token={streamdata_token}&Date={field_value}&IncludingVariations={field_value}&RouteID={field_value}"



Return to Main Page



Submit Your API

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