Get ticket fare
get_fareRetrieve itemised fare for an Indian Railways train between two stations, class, and quota—including base fare, reservation charges, superfast charges, catering, and GST.
Instructions
Itemised fare for a train, class and quota between two stations: base fare, reservation and superfast charges, catering, dynamic surcharge and GST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Alighting station: either the station code (e.g. "NDLS") or the name (e.g. "New Delhi"). | |
| date | No | Journey date as YYYY-MM-DD, or "today" / "tomorrow". Defaults to today in IST. | |
| from | Yes | Boarding station: either the station code (e.g. "NDLS") or the name (e.g. "New Delhi"). | |
| quota | No | Booking quota (default GN = General). | |
| passengers | No | Number of passengers, for a total (default 1). | |
| ageCategory | No | Passenger category for concessions (default adult). | |
| trainNumber | Yes | Five digit train number. | |
| travelClass | Yes | Class to price, e.g. "SL". |