# Rail Station Information **Provider:** Rail Station Information **Category:** maps **Base URL:** `http://api.wmata.com/Rail.svc` **Auth:** api-key — `api_key: YOUR_API_KEY` **Rate Limit:** Not officially published **Free Tier:** Yes — available **Pricing:** Enterprise / contact sales (subscription) **Docs:** http://api.wmata.com/Rail.svc ## Description Rail line and station information, including locations, fares, times, and parking. ## Endpoints | Method | Endpoint | Description | |--------|----------|-------------| | GET | `http://api.wmata.com/Rail.svc/Lines` | XML - Lines | | GET | `http://api.wmata.com/Rail.svc/Path` | XML - Path Between Stations | | GET | `http://api.wmata.com/Rail.svc/SrcStationToDstStationInfo` | XML - Station to Station Information | | GET | `http://api.wmata.com/Rail.svc/StationEntrances` | XML - Station Entrances | | GET | `http://api.wmata.com/Rail.svc/StationInfo` | XML - Station Information | | GET | `http://api.wmata.com/Rail.svc/StationParking` | XML - Parking Information | | GET | `http://api.wmata.com/Rail.svc/StationTimes` | XML - Station Timings | | GET | `http://api.wmata.com/Rail.svc/Stations` | XML - Station List | ## Authentication API key in the request header (api_key) ``` api_key: YOUR_API_KEY ``` ## Sample Request ```bash curl -X GET 'http://api.wmata.com/Rail.svc/Lines' \ -H 'api_key: YOUR_API_KEY' ``` ## Sample Response ```json {} ``` ## Pricing Details Free with National Rail API key. UK railway station data and live departures. --- *Source: [API Map](https://apimap.dev/apis/rail-station-information/) — CC BY 4.0*