https://indianrailapi.com/api/v2/DivertedTrains/apikey/<apikey>/Date/<yyyyMMdd>
Parameter :
- apikey : Your API key.
- Date : Required date in yyyyMMdd format.
Output :
{"ResponseCode":"200","TotalTrain":"9","Trains":[{"TrainNumber":"12335","TrainName":"BGP-LT(T) EXP","StartDate":"23-09-2018","TrainType":"SUPERFAST","Source":"BGP","Destination":"LTT","DivertedFrom":"BGP","DivertedTo":"DDU"},{"TrainNumber":"12367","TrainName":"VIKRAMSHILA EXP","StartDate":"23-09-2018","TrainType":"SUPERFAST","Source":"BGP","Destination":"ANVT","DivertedFrom":"BGP","DivertedTo":"DDU"},{"TrainNumber":"13237","TrainName":"PNBE- KOTA EXP","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"PNBE","Destination":"KOTA","DivertedFrom":"CNB","DivertedTo":"BTE"},{"TrainNumber":"13238","TrainName":"KOTA - PNBE EXPRESS","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"KOTA","Destination":"PNBE","DivertedFrom":"BTE","DivertedTo":"CNB"},{"TrainNumber":"14863","TrainName":"MARUDHAR EXPRES","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"BSB","Destination":"JU","DivertedFrom":"CNB","DivertedTo":"AH"},{"TrainNumber":"14864","TrainName":"MARUDHAR EXPRES","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"JU","Destination":"BSB","DivertedFrom":"AH","DivertedTo":"CNB"},{"TrainNumber":"15014","TrainName":"RANIKHET EXP","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"KGM","Destination":"JSM","DivertedFrom":"JP","DivertedTo":"JU"},{"TrainNumber":"15046","TrainName":"OKHA-GKP EXP","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"OKHA","Destination":"GKP","DivertedFrom":"JHS","DivertedTo":"CNB"},{"TrainNumber":"19054","TrainName":"MFP ST EXPRESS","StartDate":"23-09-2018","TrainType":"MAIL_EXP","Source":"MFP","Destination":"ST","DivertedFrom":"CNB","DivertedTo":"JHS"}],"Status":"SUCCESS","LastUpdate":"2018-09-15 04:50:24 PM"}