Open documentation ↗Overview
A RESTful webservice to retrieve data about the operational state of public elevators and escalators in german railway stations.
FaSta - Station Facilities Status is a transportation API from deutschebahn.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 3 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Transportation
- Base URL
https://api.deutschebahn.com/fasta/v2- Version
- 2.1
- Endpoints
- 3
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.deutschebahn.com/fasta/v2/facilities" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.deutschebahn.com/fasta/v2/facilities", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.deutschebahn.com/fasta/v2/facilities",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /facilities | Access to public facilities (escalators and elevators) in railway stations |
| GET | /facilities/{equipmentnumber} | Returns the facility identified by its equipmentnumber. |
| GET | /stations/{stationnumber} | Returns information about a station (and its corresponding facilities) identified by a stationnumber. |
Questions
Does the FaSta - Station Facilities Status API need an API key?
Yes. The FaSta - Station Facilities Status API uses API key authentication; the documentation explains how to get credentials.
Does the FaSta - Station Facilities Status API support HTTPS?
Yes, the FaSta - Station Facilities Status API is served over HTTPS.
How many endpoints does the FaSta - Station Facilities Status API have?
Its OpenAPI description lists 3 endpoints in version 2.1. All of them are shown on this page.
What are alternatives to the FaSta - Station Facilities Status API?
Other Transportation APIs include airportsapi, Transport for London, England, Uber, Transport for Spain, Amadeus for Developers.
Similar transportation APIs
Compare alternatives →airportsapi
TransportationGet name and website-URL for airports by ICAO code
Transport for London, England
TransportationDiscover TFL APIs
Uber
TransportationUber ride requests and price estimation
Transport for Spain
TransportationPublic trains of Spain
Amadeus for Developers
TransportationTravel Search - Limited usage
Boston MBTA Transit
TransportationStations and predicted arrivals for MBTA
Listed from APIs.guru (CC0).