FaSta - Station Facilities Status
deutschebahn · Data
A RESTful webservice to retrieve data about the operational state of public elevators and escalators in german railway stations.
Authentication
Sample Requests
Access to public facilities (escalators and elevators) in railway stations
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities?area=example&type=ESCALATOR%2CELEVATOR&state=ACTIVE%2CINACTIVE%2CUNKNOWN&stationnumber=1&equipmentnumbers=example"
import requests
params = {
"area": "example",
"type": "ESCALATOR,ELEVATOR",
"state": "ACTIVE,INACTIVE,UNKNOWN",
"stationnumber": "1",
"equipmentnumbers": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities');
url.searchParams.set('area', 'example');
url.searchParams.set('type', 'ESCALATOR,ELEVATOR');
url.searchParams.set('state', 'ACTIVE,INACTIVE,UNKNOWN');
url.searchParams.set('stationnumber', '1');
url.searchParams.set('equipmentnumbers', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities")
q := baseURL.Query()
q.Set("area", "example")
q.Set("type", "ESCALATOR,ELEVATOR")
q.Set("state", "ACTIVE,INACTIVE,UNKNOWN")
q.Set("stationnumber", "1")
q.Set("equipmentnumbers", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities")
uri.query = URI.encode_www_form({
"area" => "example",
"type" => "ESCALATOR,ELEVATOR",
"state" => "ACTIVE,INACTIVE,UNKNOWN",
"stationnumber" => "1",
"equipmentnumbers" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities?" . http_build_query([
"area" => "example",
"type" => "ESCALATOR,ELEVATOR",
"state" => "ACTIVE,INACTIVE,UNKNOWN",
"stationnumber" => "1",
"equipmentnumbers" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns the facility identified by its equipmentnumber.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities/{equipmentnumber}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities/{equipmentnumber}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities/{equipmentnumber}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities/{equipmentnumber}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities/{equipmentnumber}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/facilities/{equipmentnumber}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns information about a station (and its corresponding facilities) identified by a stationnumber.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/stations/{stationnumber}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/stations/{stationnumber}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/stations/{stationnumber}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/stations/{stationnumber}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/stations/{stationnumber}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/deutschebahn.com/fasta/2.1/stations/{stationnumber}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with FaSta - Station Facilities Status?
FaSta - Station Facilities Status is a Data API. Developers commonly use data APIs for:
- enriching your app with third-party datasets
- building data pipelines and ETL workflows
- querying and searching large datasets
- powering research, analysis, and reporting tools
- syncing reference data into your own systems
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. FaSta - Station Facilities Status is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide