Deutschebahn

Reisezentren-API

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

Logistics & shipping#openapi#transport#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

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

Endpoints 4

  • GETGet all station infos/reisezentren?name=stringGet all station infos
  • GETGet information about a station near a location/reisezentren/loc/:lat/:lonGet information about a station near a location
  • GETGet stations in a given radius/reisezentren/loc/:lat/:lon/:distGet stations in a given radius
  • GETGet information about a specific station/reisezentren/:idGet information about a specific station

API details

Base URL
https://api.deutschebahn.com/reisezentren/v1
http://api.deutschebahn.com/reisezentren/v1
Authentication
None declared in the description
Operations
4 operations on 4 pathsGET 4
Response formats
application/json */*
Description format
OpenAPI 3.0.0, API version v1
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Reisezentren-API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Reisezentren-API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Get all station infos” (GET /reisezentren?name=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Reisezentren-API?

This REST-API enables you to query information about travel centers in Germany. It is listed under Logistics & shipping and has 4 endpoints.

Who publishes the Reisezentren-API?

It is listed from Deutschebahn's public API description (an OpenAPI document), not published by Deutschebahn on Swastik Codes. Anyone who controls deutschebahn.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Reisezentren-API?

Its description lists 2 base URLs: https://api.deutschebahn.com/reisezentren/v1, http://api.deutschebahn.com/reisezentren/v1. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Reisezentren-API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Reisezentren-API have?

4 operations on 4 paths (4 GET).

Is forking the Reisezentren-API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.