get_trip_routes
9292.nlReturns real-time public transport route options from https://9292.nl with times, durations, prices, modes, operators and journey IDs.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_trip_routes?
Returns real-time public transport route options from https://9292.nl with times, durations, prices, modes, operators and journey IDs. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass from_location_id, to_location_id, date_time, request_type, limit, plan_with_accessibility, extra_interchange_time and get the result back without maintaining a scraper.
Response
{
"count": 0,
"journeys": [
{}
],
"to_location": {},
"request_type": "<string>",
"from_location": {},
"to_location_id": "<string>",
"from_location_id": "<string>",
"requested_date_time_utc": "<string>",
"no_journey_available_on_request_date": true
}Call it
curl --location 'https://us-prod.notte.cc/functions/45878715-ff68-4dfd-877e-1e67b66567dc/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "45878715-ff68-4dfd-877e-1e67b66567dc",
"variables": {
"from_location_id": "station-amsterdam-centraal",
"to_location_id": "station-utrecht-centraal",
"date_time": "",
"request_type": "Departure",
"limit": 8,
"plan_with_accessibility": false,
"extra_interchange_time": 0
}
}'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="45878715-ff68-4dfd-877e-1e67b66567dc") — the "get_trip_routes" function, which returns real-time public transport route options from https://9292.nl with times, durations, prices, modes, operators and journey IDs.. It takes from_location_id (str), to_location_id (str), date_time (str), request_type (str), limit (int), plan_with_accessibility (bool), extra_interchange_time (int). Return the result as structured JSON.