API

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

train fare

Http API

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

Parameter


Output

{"ResponseCode":204,"Train":{"Number":"12565","Name":"BIHAR S KRANTI"},"From":{"Code":"HJP","Name":"HAJIPUR JN"},"Quota":{"Code":"LD","Name":"Ladies Quota"},"To":{"Code":"NDLS","Name":"NEW DELHI"},"Fare":[{"Code":"1A","Name":"FIRST AC","Fare":"2695"},{"Code":"2A","Name":"SECOND AC","Fare":"2005"},{"Code":"3A","Name":"THIRD AC","Fare":"1425"},{"Code":"SL","Name":"SLEEPER CLASS","Fare":"540"}]}