This API provides real-time information on the status of Indian Railways train reservations. To check the status of your train reservation, all you need is your PNR number.
Request Method: GET
Parameters:
pnr_number (required): Your PNR number.
Response:
The API will return a JSON object containing the following fields:
pnr_number: The PNR number you provided.
train_number: The train number of your reservation.
train_name: The name of the train.
from_station: The station code of the departure station.
to_station: The station code of the destination station.
boarding_point: The station code of the boarding point.
reservation_upto: The station code of the final reservation point.
journey_date: The journey date in DD-MM-YYYY format.
class: The class of travel (e.g., AC 3 Tier, Sleeper Class).
passengers: An array containing information about the passengers in the reservation.
status: The current status of the reservation.