http://indianrailapi.com/api/v2/LiveStation/apikey/<apikey>/StationCode/<StationCode>/hours/<Hours>/
Parameter :
- apikey : Your API key.
- StationCode : Station Code (In capital letter)
- Hours : 2 or 4 (ie; within 2 hrs. or 4 hrs.).
Output :
{"ResponseCode":"200","Status":"SUCCESS","Trains":[{"Name":"ASR-KIR EXPRESS","Number":"15708","Source":"ASR","Destination":"KIR","ScheduleArrival":"11:05","ScheduleDeparture":"11:10","Halt":"00:05","ExpectedArrival":"17:10, 15 Sep","DelayInArrival":"06:05","ExpectedDeparture":"17:11, 15 Sep","DelayInDeparture":"06:01"},{"Name":"CPR-TATA EXP","Number":"18182","Source":"CPR","Destination":"TATA","ScheduleArrival":"14:25","ScheduleDeparture":"14:30","Halt":"00:05","ExpectedArrival":"17:45, 15 Sep","DelayInArrival":"03:20","ExpectedDeparture":"17:50, 15 Sep","DelayInDeparture":"03:20"},{"Name":"NJP-NDLS BI-WEEKLY EXP.","Number":"12523","Source":"NJP","Destination":"NDLS","ScheduleArrival":"17:10","ScheduleDeparture":"17:15","Halt":"00:05","ExpectedArrival":"17:46, 15 Sep","DelayInArrival":"00:36","ExpectedDeparture":"17:51, 15 Sep","DelayInDeparture":"00:36"},{"Name":"PPTA-RXL-NKE INTERCITY","Number":"15201","Source":"PPTA","Destination":"RXL","ScheduleArrival":"17:55","ScheduleDeparture":"18:00","Halt":"00:05","ExpectedArrival":"17:55, 15 Sep","DelayInArrival":"RT","ExpectedDeparture":"18:00, 15 Sep","DelayInDeparture":"RT"},{"Name":"MFP-PPTA MEMU","Number":"63265","Source":"MFP","Destination":"PPTA","ScheduleArrival":"16:35","ScheduleDeparture":"16:40","Halt":"00:05","ExpectedArrival":"17:59, 15 Sep","DelayInArrival":"01:24","ExpectedDeparture":"18:04, 15 Sep","DelayInDeparture":"01:24"},{"Name":"AVADH ASSAM EXPRESS","Number":"15909","Source":"DBRG","Destination":"LGH","ScheduleArrival":"17:45","ScheduleDeparture":"17:50","Halt":"00:05","ExpectedArrival":"18:02, 15 Sep","DelayInArrival":"00:17","ExpectedDeparture":"18:07, 15 Sep","DelayInDeparture":"00:17"},{"Name":"BJU-PNBE MEMU","Number":"63283","Source":"BJU","Destination":"PNBE","ScheduleArrival":"18:10","ScheduleDeparture":"18:15","Halt":"00:05","ExpectedArrival":"18:10, 15 Sep","DelayInArrival":"RT","ExpectedDeparture":"18:15, 15 Sep","DelayInDeparture":"RT"},{"Name":"SADHBHAWNA EXP","Number":"14016","Source":"ANVT","Destination":"RXL","ScheduleArrival":"16:15","ScheduleDeparture":"16:20","Halt":"00:05","ExpectedArrival":"18:18, 15 Sep","DelayInArrival":"02:03","ExpectedDeparture":"18:23, 15 Sep","DelayInDeparture":"02:03"},{"Name":"DBG LTT EXPRESS","Number":"11062","Source":"DBG","Destination":"LTT","ScheduleArrival":"16:55","ScheduleDeparture":"17:00","Halt":"00:05","ExpectedArrival":"18:21, 15 Sep","DelayInArrival":"01:26","ExpectedDeparture":"18:26, 15 Sep","DelayInDeparture":"01:26"},{"Name":"PPTA-BJU MEMU","Number":"63288","Source":"PPTA","Destination":"BJU","ScheduleArrival":"18:25","ScheduleDeparture":"18:30","Halt":"00:05","ExpectedArrival":"18:25, 15 Sep","DelayInArrival":"RT","ExpectedDeparture":"18:30, 15 Sep","DelayInDeparture":"RT"},{"Name":"SWATANTRTA SENANI EXP","Number":"12561","Source":"JYG","Destination":"NDLS","ScheduleArrival":"18:45","ScheduleDeparture":"18:50","Halt":"00:05","ExpectedArrival":"18:45, 15 Sep","DelayInArrival":"RT","ExpectedDeparture":"18:50, 15 Sep","DelayInDeparture":"RT"},{"Name":"BAGH EXPRESS","Number":"13020","Source":"KGM","Destination":"HWH","ScheduleArrival":"18:50","ScheduleDeparture":"18:55","Halt":"00:05","ExpectedArrival":"18:50, 15 Sep","DelayInArrival":"RT","ExpectedDeparture":"18:55, 15 Sep","DelayInDeparture":"RT"}],"Message":"SUCCESS"}