search_stations
bahn.deSearches https://bahn.de for stations and locations by partial or full name. Returns relevance-ordered matches with bahn.de IDs, coordinates, type, and available transport products.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_stations?
Searches https://bahn.de for stations and locations by partial or full name. Returns relevance-ordered matches with bahn.de IDs, coordinates, type, and available transport products. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, limit, location_type and get the result back without maintaining a scraper.
Response
{
"count": 0,
"query": "<string>",
"results": [
{
"id": "<string>",
"lat": 0,
"lon": 0,
"name": "<string>",
"type": "<string>",
"extId": "<string>",
"products": [
"<string>"
]
}
]
}Call it
curl --location 'https://us-prod.notte.cc/functions/125daa63-d3ab-4e74-93e5-ee28d16e8585/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "125daa63-d3ab-4e74-93e5-ee28d16e8585",
"variables": {
"query": "Berlin",
"limit": 10,
"location_type": "ALL"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="125daa63-d3ab-4e74-93e5-ee28d16e8585") — the "search_stations" function, which searches https://bahn.de for stations and locations by partial or full name. Returns relevance-ordered matches with bahn.de IDs, coordinates, type, and available transport products.. It takes query (str), limit (int), location_type (str). Return the result as structured JSON.