API

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

train on station

Http API

http://indianrailapi.com/api/v1/trainarrivalsatstation/apikey/<apikey>/station/<station>/hours/<hours>/

Parameter

  • apikey : Your API key.
  • station : Station Code (In capital letter)
  • hours : 2 or 4 (ie; within 2 hrs. or 4 hrs.).


Output

{"Station":"HJP","Total":8,"Trains":[{"ActualArrival":"19:49","Name":"PPTA-MFP MEMU","DelayArrival":"00:36","ScheduleArrival":"19:13","ScheduleDeparture":"19:15","ActualDeparture":"19:51","Number":"63268","DelayDeparture":"00:36"},{"ActualArrival":"20:09","Name":"BJU-SEE MEMU","DelayArrival":"RT","ScheduleArrival":"20:09","ScheduleDeparture":"20:10","ActualDeparture":"20:10","Number":"63279","DelayDeparture":"RT"},{"ActualArrival":"20:30","Name":"GARIB RATH","DelayArrival":"00:32","ScheduleArrival":"19:58","ScheduleDeparture":"20:00","ActualDeparture":"20:32","Number":"12203","DelayDeparture":"00:32"},{"ActualArrival":"20:33","Name":"BL SHRAMIK EXP","DelayArrival":"RT","ScheduleArrival":"20:33","ScheduleDeparture":"20:35","ActualDeparture":"20:35","Number":"19052","DelayDeparture":"RT"},{"ActualArrival":"20:57","Name":"PASSENGER","DelayArrival":"01:28","ScheduleArrival":"19:29","ScheduleDeparture":"19:30","ActualDeparture":"20:58","Number":"55021","DelayDeparture":"01:28"},{"ActualArrival":"20:59","Name":"LTT-DBG  EXPRESS","DelayArrival":"RT","ScheduleArrival":"20:59","ScheduleDeparture":"21:00","ActualDeparture":"21:00","Number":"11061","DelayDeparture":"RT"},{"ActualArrival":"21:07","Name":"ASR-SHC JANSEWA EXP","DelayArrival":"12:09","ScheduleArrival":"08:58","ScheduleDeparture":"09:00","ActualDeparture":"21:09","Number":"15210","DelayDeparture":"12:09"},{"ActualArrival":"21:31","Name":"SWATANTRTA SENANI  EXP","DelayArrival":"07:23","ScheduleArrival":"14:08","ScheduleDeparture":"14:10","ActualDeparture":"21:33","Number":"12562","DelayDeparture":"07:23"}],"ResponseCode":200}