Live
search_station_locations
thetrainline.comSearches https://trainline.eu for station locations by partial name and returns station URNs, coordinates, station-group metadata, timezones, and connections.
Parameters2
Runs7
Updated3d ago
Operational7 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_station_locations?
Searches https://trainline.eu for station locations by partial name and returns station URNs, coordinates, station-group metadata, timezones, and connections. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, locale and get the result back without maintaining a scraper.
Response
{
"count": 0,
"query": "<string>",
"locale": "<string>",
"locations": [
{}
]
}Call it
curl --location 'https://us-prod.notte.cc/functions/dedb6ff0-4679-4fce-890a-83ab5ae6b4b5/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "dedb6ff0-4679-4fce-890a-83ab5ae6b4b5",
"variables": {
"query": "London",
"locale": "en-us"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="dedb6ff0-4679-4fce-890a-83ab5ae6b4b5") — the "search_station_locations" function, which searches https://trainline.eu for station locations by partial name and returns station URNs, coordinates, station-group metadata, timezones, and connections.. It takes query (str), locale (str). Return the result as structured JSON.