API

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

Seat Availability

Http API

http://indianrailapi.com/api/v1/seatavailable/apikey/<apikey>/trainno/<train_no>/dateofjourny/<yyyymmdd>/source/<source>/destination/<destination>/classcode/<classcode>/quota/<quota>/

Parameter


Output

{"ResponseCode":200,"TrainNumber":"12565","TrainName":"BIHAR S KRANTI","From":{"Name":"HAJIPUR JN","Code":"HJP"},"Class":{"Name":"SLEEPER CLASS","Code":"SL"},"To":{"Name":"NEW DELHI","Code":"NDLS"},"Availabile":[{"Date":"30-7-2017","Status":"RAC61/RAC 52"},{"Date":"31-7-2017","Status":"AVAILABLE 46"},{"Date":"1-8-2017","Status":"AVAILABLE 35"},{"Date":"2-8-2017","Status":"AVAILABLE 1"},{"Date":"3-8-2017","Status":"AVAILABLE 119"},{"Date":"4-8-2017","Status":"AVAILABLE 23"}],"Quota":{"Name":"GENERAL QUOTA","Code":"GN"}}