http://indianrailapi.com/api/v2/livetrainstatus/apikey/<apikey>/trainnumber/<train_number>/date/<yyyymmdd>/
Parameter :
- apikey : Your API key.
- trainnumber : Train no
- date : Date of journey in yyyymmdd format.
Output :
{"ResponseCode":"200","StartDate":"15-09-2018","TrainNumber":"12565","CurrentPosition":null,"CurrentStation":{"SerialNo":"0","StationName":"Jagatbela","StationCode":"JTB","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"04:27PM","ActualArrival":"04:41PM","DelayInArrival":"14 M","ScheduleDeparture":"04:27PM","ActualDeparture":"04:41PM","DelayInDeparture":"14 M"},"TrainRoute":[{"SerialNo":"0","StationName":"Darbhanga","StationCode":"DBG","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"Source","ActualArrival":"Source","DelayInArrival":"-","ScheduleDeparture":"08:25AM","ActualDeparture":"08:25AM","DelayInDeparture":"00 M"},{"SerialNo":"1","StationName":"Samastipur","StationCode":"SPJ","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"09:15AM","ActualArrival":"09:15AM","DelayInArrival":"00 M","ScheduleDeparture":"09:35AM","ActualDeparture":"09:35AM","DelayInDeparture":"00 M"},{"SerialNo":"2","StationName":"Muzaffarpur","StationCode":"MFP","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"10:25AM","ActualArrival":"10:50AM","DelayInArrival":"25 M","ScheduleDeparture":"10:30AM","ActualDeparture":"10:55AM","DelayInDeparture":"25 M"},{"SerialNo":"3","StationName":"Hajipur","StationCode":"HJP","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"11:30AM","ActualArrival":"11:50AM","DelayInArrival":"20 M","ScheduleDeparture":"11:33AM","ActualDeparture":"11:53AM","DelayInDeparture":"20 M"},{"SerialNo":"4","StationName":"Sonpur","StationCode":"SEE","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"11:43AM","ActualArrival":"12:02PM","DelayInArrival":"19 M","ScheduleDeparture":"11:45AM","ActualDeparture":"12:02PM","DelayInDeparture":"17 M"},{"SerialNo":"5","StationName":"Chhapra","StationCode":"CPR","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"12:45PM","ActualArrival":"01:25PM","DelayInArrival":"40 M","ScheduleDeparture":"12:50PM","ActualDeparture":"01:30PM","DelayInDeparture":"40 M"},{"SerialNo":"6","StationName":"Siwan","StationCode":"SV","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"01:40PM","ActualArrival":"02:22PM","DelayInArrival":"42 M","ScheduleDeparture":"01:45PM","ActualDeparture":"02:27PM","DelayInDeparture":"42 M"},{"SerialNo":"7","StationName":"Gorakhpur","StationCode":"GKP","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"03:50PM","ActualArrival":"04:15PM","DelayInArrival":"25 M","ScheduleDeparture":"04:05PM","ActualDeparture":"04:24PM","DelayInDeparture":"19 M"},{"SerialNo":"8","StationName":"Lucknow","StationCode":"LKO","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"09:00PM","ActualArrival":"09:00PM","DelayInArrival":"00 M","ScheduleDeparture":"09:10PM","ActualDeparture":"09:10PM","DelayInDeparture":"00 M"},{"SerialNo":"9","StationName":"Kanpur Central","StationCode":"CNB","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"10:48PM","ActualArrival":"10:48PM","DelayInArrival":"00 M","ScheduleDeparture":"10:58PM","ActualDeparture":"10:58PM","DelayInDeparture":"00 M"},{"SerialNo":"10","StationName":"New Delhi","StationCode":"NDLS","Distance":"-","IsDeparted":"-","Day":"0","ScheduleArrival":"05:30AM","ActualArrival":"05:30AM","DelayInArrival":"00 M","ScheduleDeparture":"Destination","ActualDeparture":"Destination","DelayInDeparture":"-"}],"Message":"SUCCESS"}