{"@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"}
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 line and station information, including locations, fares, times, and parking.
| method | path | what the vendor says it does |
|---|---|---|
GET | /Lines | XML - Lines Description Returns information about all rail lines. Response Elements Element |
GET | /Path | XML - Path Between Stations Description Returns a set of ordered stations and distances between two station |
GET | /SrcStationToDstStationInfo | XML - Station to Station Information Description Returns a distance, fare information, and estimated travel t |
GET | /StationEntrances | XML - Station Entrances Description Returns a list of nearby station entrances based on latitude, longitude |
GET | /StationInfo | XML - Station Information Description Returns station location and address information based on a given Stati |
GET | /StationParking | XML - Parking Information Description Returns parking information at a station based on a given StationCode. |
GET | /StationTimes | XML - Station Timings Description Returns opening and scheduled first/last train times based on a given St |
GET | /Stations | XML - Station List Description Returns a list of station location and address information based on a given Li |
GET | /json/jLines | JSON - Lines Description Returns information about all rail lines. Response Elements Element |
GET | /json/jPath | JSON - Path Between Stations Description Returns a set of ordered stations and distances between two statio |
GET | /json/jSrcStationToDstStationInfo | JSON - Station to Station Information Description Returns a distance, fare information, and estimated travel |
GET | /json/jStationEntrances | JSON - Station Entrances Description Returns a list of nearby station entrances based on latitude, longitud |
GET | /json/jStationInfo | JSON - Station Information Description Returns station location and address information based on a given Stat |
GET | /json/jStationParking | JSON - Parking Information Description Returns parking information at a station based on a given StationCode. |
GET | /json/jStationTimes | JSON - Station Timings Description Returns opening and scheduled first/last train times based on a given S |
GET | /json/jStations | JSON - 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 stop information, route and schedule data, and bus positions.
| method | path | what the vendor says it does |
|---|---|---|
GET | /BusPositions | XML - Bus Position Description Returns bus positions for the given route, with an optional search radius. If |
GET | /RouteDetails | XML - Path Details Description For a given date, returns the set of ordered latitude/longitude points along r |
GET | /RouteSchedule | XML - Schedule Description Returns schedules for a given route variant for a given date. Response Elemen |
GET | /Routes | XML - Routes Description Returns a list of all bus route variants (patterns). For example, the 10A and 10A |
GET | /StopSchedule | XML - Schedule at Stop Description Returns a set of buses scheduled at a stop for a given date. Response |
GET | /Stops | XML - Stop Search Description Returns a list of nearby bus stops based on latitude, longitude, and radius. |
GET | /json/jBusPositions | JSON - Bus Position Description Returns bus positions for the given route, with an optional search radius. If |
GET | /json/jRouteDetails | JSON - Path Details Description For a given date, returns the set of ordered latitude/longitude points alon |
GET | /json/jRouteSchedule | JSON - Schedule Description Returns schedules for a given route variant for a given date. Response Eleme |
GET | /json/jRoutes | JSON - Routes Description Returns a list of all bus route variants (patterns). For example, the 10A and 10 |
GET | /json/jStopSchedule | JSON - Schedule at Stop Description Returns a set of buses scheduled at a stop for a given date. Respons |
GET | /json/jStops | JSON - 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
Rail, bus, and elevator disruptions/outages.
| method | path | what the vendor says it does |
|---|---|---|
GET | /BusIncidents | XML - Bus Incidents Description Returns a set of reported bus incidents/delays for a given Route. Omit the |
GET | /ElevatorIncidents | XML - Elevator/Escalator Outages Description Returns a list of reported elevator and escalator outages at a g |
GET | /Incidents | XML - Rail Incidents Description Returns reported rail incidents (significant disruptions and delays to no |
GET | /json/BusIncidents | JSON - Bus Incidents Description Returns a set of reported bus incidents/delays for a given Route. Omit the |
GET | /json/ElevatorIncidents | JSON - Elevator/Escalator Outages Description Returns a list of reported elevator and escalator outages at a |
GET | /json/Incidents | JSON - 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 prediction methods.
| method | path | what the vendor says it does |
|---|---|---|
GET | /Predictions | XML - Next Buses Description Returns next bus arrival times at a stop. Response Elements Elemen |
GET | /json/jPredictions | JSON - 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 prediction methods.
| method | path | what 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.