Find an API

Search public APIs with auth details & Postman guides

← All APIs

Reisezentren-API

deutschebahn · Data

Data No Auth Free & Open transport open_data

This REST-API enables you to query information about travel centers in Germany.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Get all station infos

Get all station infos

https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren?name=test

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren?name=test"
import requests
params = {
    "name": "test"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren');
url.searchParams.set('name', 'test');

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/reisezentren/v1/reisezentren")
	q := baseURL.Query()
	q.Set("name", "test")
	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/reisezentren/v1/reisezentren")
uri.query = URI.encode_www_form({
  "name" => "test"
})

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/reisezentren/v1/reisezentren?" . http_build_query([
    "name" => "test"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get information about a specific station

Get information about a specific station

https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/{id}

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/{id}"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/{id}",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/{id}';

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/reisezentren/v1/reisezentren/{id}"
	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/reisezentren/v1/reisezentren/{id}")

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/reisezentren/v1/reisezentren/{id}";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get information about a station near a location

Get information about a station near a location

https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/loc/{lat}/{lon}

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/loc/{lat}/{lon}"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/loc/{lat}/{lon}",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/deutschebahn.com/reisezentren/v1/reisezentren/loc/{lat}/{lon}';

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/reisezentren/v1/reisezentren/loc/{lat}/{lon}"
	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/reisezentren/v1/reisezentren/loc/{lat}/{lon}")

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/reisezentren/v1/reisezentren/loc/{lat}/{lon}";
$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

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Reisezentren-API?

Reisezentren-API 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. Reisezentren-API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗