get_prices
Retrieve detailed pricing for domestic train journeys, including travel classes, ticket types, and discounts. Input origin, destination, and travel details to receive fare information with conditions.
Instructions
Get price information for domestic train journeys, including different travel classes, ticket types, and discounts. Returns detailed pricing information with conditions and validity.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
adults | No | Number of adults to return the price for | |
children | No | Number of children to return the price for | |
fromStation | Yes | UicCode or station code of the origin station | |
isJointJourney | No | Set to true to return the price including joint journey discount | |
plannedArrivalTime | No | Format - date-time (as date-time in RFC3339). Used to find the correct route if multiple routes are possible. | |
plannedDepartureTime | No | Format - date-time (as date-time in RFC3339). Used to find the correct route if multiple routes are possible. | |
routeId | No | Specific identifier for the route to take between the two stations. This routeId is returned in the /api/v3/trips call. | |
toStation | Yes | UicCode or station code of the destination station | |
travelClass | No | Travel class to return the price for | |
travelType | No | Return the price for a single or return trip | single |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from NS Travel Information MCP Server
Related Tools
- @r-huijts/ns-mcp-server
- @r-huijts/ns-mcp-server
- @r-huijts/ns-mcp-server
- @r-huijts/ns-mcp-server
- @jason-tan-swe/railway-mcp