API

Running Status PNR Route Availablity Fare Train Between Station Train No. Station Name Station Code Train On Station Cancelled FOOD

Live Train Status

Http API

http://indianrailapi.com/api/v1/livetrainstatus/apikey/<apikey>/trainno/<train_number>/dateofjourny/<yyyymmdd>/

Parameter

  • apikey : Your API key.
  • train_number : Train no
  • doj : Date of journy in yyyymmdd format.


Output

{"ResponseCode":200,"StartDate":"31 Oct 2016","TrainNumber":"12394","CurrentPosition":"Train is currently at Source and late by 0 minutes.","CurrentStation":{"SerialNo":1,"StationName":"NEW DELHI","StationCode":"NDLS","Distance":0,"IsDeparted":false,"Day":0,"ActualArrival":"00:00","ScheduleArrival":"Source","ScheduleArrival_Date":"31 Oct 2016","ScheduleDeparture":"17:25","IsArrived":false,"ActualDeparture":"17:25","ActualArrival_Date":"31 Oct 2016","LateInMinute":0,"Status":"0 mins late"},"TrainRoute":[{"SerialNo":1,"StationName":"NEW DELHI","StationCode":"NDLS","Distance":0,"IsDeparted":false,"Day":0,"ActualArrival":"00:00","ScheduleArrival":"Source","ScheduleArrival_Date":"31 Oct 2016","ScheduleDeparture":"17:25","IsArrived":false,"ActualDeparture":"17:25","ActualArrival_Date":"31 Oct 2016","LateInMinute":0,"Status":"0 mins late"},{"SerialNo":2,"StationName":"KANPUR CENTRAL","StationCode":"CNB","Distance":447,"IsDeparted":false,"Day":0,"ActualArrival":"22:25","ScheduleArrival":"22:25","ScheduleArrival_Date":"31 Oct 2016","ScheduleDeparture":"22:33","IsArrived":false,"ActualDeparture":"22:33","ActualArrival_Date":"31 Oct 2016","LateInMinute":0,"Status":"0 mins late"},{"SerialNo":3,"StationName":"MUGHAL SARAI JN","StationCode":"MGS","Distance":795,"IsDeparted":false,"Day":1,"ActualArrival":"03:30","ScheduleArrival":"03:30","ScheduleArrival_Date":"1 Nov 2016","ScheduleDeparture":"03:40","IsArrived":false,"ActualDeparture":"03:40","ActualArrival_Date":"1 Nov 2016","LateInMinute":0,"Status":"0 mins late"},{"SerialNo":4,"StationName":"PATNA JN","StationCode":"PNBE","Distance":1006,"IsDeparted":false,"Day":1,"ActualArrival":"06:55","ScheduleArrival":"06:55","ScheduleArrival_Date":"1 Nov 2016","ScheduleDeparture":"07:05","IsArrived":false,"ActualDeparture":"07:05","ActualArrival_Date":"1 Nov 2016","LateInMinute":0,"Status":"0 mins late"},{"SerialNo":5,"StationName":"RAJENDRANAGAR T","StationCode":"RJPB","Distance":1009,"IsDeparted":false,"Day":1,"ActualArrival":"07:35","ScheduleArrival":"07:35","ScheduleArrival_Date":"1 Nov 2016","ScheduleDeparture":"Destination","IsArrived":false,"ActualDeparture":"00:00","ActualArrival_Date":"1 Nov 2016","LateInMinute":0,"Status":"0 mins late"}],"Message":"Success"}