{"@context": "https://schema.org", "@type": "WebAPI", "name": "Rail Station Information API", "description": "Rail line and station information, including locations, fares, times, and parking.", "provider": {"@type": "Organization", "name": "wmata.com"}, "documentation": "https://developer.wmata.com/docs/services/5476364f031f590f38092507/export?DocumentFormat=Swagger"}
Index / APIs / wmata.com

Rail Station Information API

Rail line and station information, including locations, fares, times, and parking.

Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.

Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.

base URLs: http://api.wmata.com/Rail.svc http://api.wmata.com/Bus.svc http://api.wmata.com/Incidents.svc http://api.wmata.com/NextBusService.svc http://api.wmata.com/StationPrediction.svc

auth: a p i k e y

find it by capability: POST /search {"query":{"text":"..."}} returns these operations with their invocation detail. Connect any agent client.

Rail Station Information v1.0

Rail line and station information, including locations, fares, times, and parking.

methodpathwhat the vendor says it does
GET/LinesXML - Lines Description Returns information about all rail lines. Response Elements Element
GET/PathXML - Path Between Stations Description Returns a set of ordered stations and distances between two station
GET/SrcStationToDstStationInfoXML - Station to Station Information Description Returns a distance, fare information, and estimated travel t
GET/StationEntrancesXML - Station Entrances Description Returns a list of nearby station entrances based on latitude, longitude
GET/StationInfoXML - Station Information Description Returns station location and address information based on a given Stati
GET/StationParkingXML - Parking Information Description Returns parking information at a station based on a given StationCode.
GET/StationTimesXML - Station Timings Description Returns opening and scheduled first/last train times based on a given St
GET/StationsXML - Station List Description Returns a list of station location and address information based on a given Li
GET/json/jLinesJSON - Lines Description Returns information about all rail lines. Response Elements Element
GET/json/jPathJSON - Path Between Stations Description Returns a set of ordered stations and distances between two statio
GET/json/jSrcStationToDstStationInfoJSON - Station to Station Information Description Returns a distance, fare information, and estimated travel
GET/json/jStationEntrancesJSON - Station Entrances Description Returns a list of nearby station entrances based on latitude, longitud
GET/json/jStationInfoJSON - Station Information Description Returns station location and address information based on a given Stat
GET/json/jStationParkingJSON - Parking Information Description Returns parking information at a station based on a given StationCode.
GET/json/jStationTimesJSON - Station Timings Description Returns opening and scheduled first/last train times based on a given S
GET/json/jStationsJSON - Station List Description Returns a list of station location and address information based on a given L

specification origin: https://developer.wmata.com/docs/services/5476364f031f590f38092507/export?DocumentFormat=S

Bus Route and Stop Methods v1.0

Bus stop information, route and schedule data, and bus positions.

methodpathwhat the vendor says it does
GET/BusPositionsXML - Bus Position Description Returns bus positions for the given route, with an optional search radius. If
GET/RouteDetailsXML - Path Details Description For a given date, returns the set of ordered latitude/longitude points along r
GET/RouteScheduleXML - Schedule Description Returns schedules for a given route variant for a given date. Response Elemen
GET/RoutesXML - Routes Description Returns a list of all bus route variants (patterns). For example, the 10A and 10A
GET/StopScheduleXML - Schedule at Stop Description Returns a set of buses scheduled at a stop for a given date. Response
GET/StopsXML - Stop Search Description Returns a list of nearby bus stops based on latitude, longitude, and radius.
GET/json/jBusPositionsJSON - Bus Position Description Returns bus positions for the given route, with an optional search radius. If
GET/json/jRouteDetailsJSON - Path Details Description For a given date, returns the set of ordered latitude/longitude points alon
GET/json/jRouteScheduleJSON - Schedule Description Returns schedules for a given route variant for a given date. Response Eleme
GET/json/jRoutesJSON - Routes Description Returns a list of all bus route variants (patterns). For example, the 10A and 10
GET/json/jStopScheduleJSON - Schedule at Stop Description Returns a set of buses scheduled at a stop for a given date. Respons
GET/json/jStopsJSON - Stop Search Description Returns a list of nearby bus stops based on latitude, longitude, and radius.

specification origin: https://developer.wmata.com/docs/services/54763629281d83086473f231/export?DocumentFormat=S

Incidents v1.0

Rail, bus, and elevator disruptions/outages.

methodpathwhat the vendor says it does
GET/BusIncidentsXML - Bus Incidents Description Returns a set of reported bus incidents/delays for a given Route. Omit the
GET/ElevatorIncidentsXML - Elevator/Escalator Outages Description Returns a list of reported elevator and escalator outages at a g
GET/IncidentsXML - Rail Incidents Description Returns reported rail incidents (significant disruptions and delays to no
GET/json/BusIncidentsJSON - Bus Incidents Description Returns a set of reported bus incidents/delays for a given Route. Omit the
GET/json/ElevatorIncidentsJSON - Elevator/Escalator Outages Description Returns a list of reported elevator and escalator outages at a
GET/json/IncidentsJSON - Rail Incidents Description Returns reported rail incidents (significant disruptions and delays to n

specification origin: https://developer.wmata.com/docs/services/54763641281d83086473f232/export?DocumentFormat=S

Real-Time Bus Predictions v1.0

Real-time bus prediction methods.

methodpathwhat the vendor says it does
GET/PredictionsXML - Next Buses Description Returns next bus arrival times at a stop. Response Elements Elemen
GET/json/jPredictionsJSON - Next Buses Description Returns next bus arrival times at a stop. Response Elements Eleme

specification origin: https://developer.wmata.com/docs/services/5476365e031f590f38092508/export?DocumentFormat=S

Real-Time Rail Predictions v1.0

Real-time rail prediction methods.

methodpathwhat the vendor says it does
GET/GetPrediction/{StationCodes}XML - Next Trains Description Returns next train arrival information for one or more stations. Will return
GET/json/GetPrediction/{StationCodes}JSON - Next Trains Description Returns next train arrival information for one or more stations. Will return

specification origin: https://developer.wmata.com/docs/services/547636a6f9182302184cda78/export?DocumentFormat=S

nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.