wmata.com

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

🔑 apikey 16 endpoints transport
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (1 total)

go get github.com/awiede/wmata-go-sdk
curl examples
XML - Path Between Stations
curl \
  -H "api_key: $API_KEY" \
  /Path
XML - Lines
curl \
  -H "api_key: $API_KEY" \
  /Lines
XML - Station List
curl \
  -H "api_key: $API_KEY" \
  /Stations
Endpoints (16 total)
GET
/Path
XML - Path Between Stations
GET
/Lines
XML - Lines
GET
/Stations
XML - Station List
GET
/json/jPath
JSON - Path Between Stations
GET
/StationInfo
XML - Station Information
GET
/json/jLines
JSON - Lines
GET
/StationTimes
XML - Station Timings
GET
/StationParking
XML - Parking Information
GET
/json/jStations
JSON - Station List
GET
/StationEntrances
XML - Station Entrances
GET
/json/jStationInfo
JSON - Station Information
GET
/json/jStationTimes
JSON - Station Timings
Language coverage
Go
1
At a glance
Total SDKs1
Languages1
Endpoints16
Authapikey
Categories1