InfraNode.dev
MCP InfraNode is also available as an MCP server for AI assistants like Claude and ChatGPT.

GET /api/v1/cities/{slug}/stations

City station catalog, all DB stations (StaDa, Tier A)

List of ALL DB stations within the city (mapped via the official municipality key: StaDa municipalityCode == city ags), not just the long-distance main station. Each carries eva (EVA number, feeds GET /stations/{eva}/departures), name, category (1-7), lat, lon, zip. Source: Deutsche Bahn AG / StaDa (CC BY 4.0). Without credentials OR toggle off -> 200 source_status="disabled"; no DB station in the city -> 200 source_status="no_data". Full coverage (all cities).

Parameters

Name In Required Type Description
slug path yes string
q query no string Optional name filter: umlaut-tolerant substring match on the station name (both munchen and muenchen match "München Hbf"). No match -> 200 source_status="no_data".
limit query no integer Caps the sorted list (default: all stations). Values above 100 are clamped to 100; non-numeric or below 1 -> 422.

Code samples

curl "https://infranode.dev/api/v1/cities/hamburg/stations"

Try it