API

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

station Name by code

Http API

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

Parameter

  • apikey : Your API key.
  • station : Station Name


Output

{"ResponseCode":200,"Stations":[{"Longitude":87.310706,"Latitude":25.500555,"Code":"BKHR","State":"Bihar 854104","FullName":"BAKHRI"},{"Longitude":87.3759512,"Latitude":25.4977241,"Code":"CRR","State":"Bihar 854104","FullName":"KARAGOLA ROAD"},{"Longitude":87.4703803,"Latitude":25.5250086,"Code":"SMO","State":"Bihar 854106","FullName":"SEMAPUR"},{"Longitude":87.5346402,"Latitude":25.577045,"Code":"HJP","State":"Bihar 854105","FullName":"HAJIPUR JN"},{"Longitude":87.607452200000012,"Latitude":25.5236006,"Code":"MIYN","State":"Bihar 854103","FullName":"MANIYAN"},{"Longitude":87.644046199999991,"Latitude":25.4952904,"Code":"KUQ","State":"Bihar 854107","FullName":"KURETHA"},{"Longitude":87.6767242,"Latitude":25.4771932,"Code":"SAJH","State":"Bihar 854117","FullName":"SAHJA HALT"},{"Longitude":87.70429089999999,"Latitude":25.4621112,"Code":"PQD","State":"Bihar 854117","FullName":"PRANPUR ROAD"},{"Longitude":87.69862169999999,"Latitude":25.464955,"Code":"LAV","State":"Bihar 854117","FullName":"LABHA"},{"Longitude":87.7753544,"Latitude":25.6132414,"Code":"JAU","State":"Bihar 855113","FullName":"JHAUA"},{"Longitude":87.7159702,"Latitude":25.6040503,"Code":"SI","State":"Bihar 855114","FullName":"SONALLI"},{"Longitude":87.674618999999993,"Latitude":25.586018,"Code":"GRR","State":"Bihar 855114","FullName":"GORPHAR"},{"Longitude":87.646943999999991,"Latitude":25.574163,"Code":"DNQ","State":"Bihar 855114","FullName":"DANDKHORA"},{"Longitude":87.603033299999993,"Latitude":25.5619509,"Code":"NYT","State":"Bihar 855114","FullName":"NAYATOLA"},{"Longitude":87.5885734,"Latitude":25.4738904,"Code":"MNS","State":"Bihar 854103","FullName":"MANSHAHI"},{"Longitude":87.6065844,"Latitude":25.4378951,"Code":"KRMP","State":"Bihar 854101","FullName":"KUMARIPUR HALT"},{"Longitude":87.6134697,"Latitude":25.4130777,"Code":"MHPR","State":"Bihar 854101","FullName":"MAHIYARPUR"},{"Longitude":87.617938299999992,"Latitude":25.3652322,"Code":"BHMA","State":"Bihar 854113","FullName":"BAGHMARA HALT"},{"Longitude":87.5189832,"Latitude":25.7891622,"Code":"PRNA","State":"Bihar 854326","FullName":"PURNIA JN"},{"Longitude":87.512438899999992,"Latitude":25.7250605,"Code":"RNX","State":"Bihar 854337","FullName":"RANIPATRA"},{"Longitude":87.5288916,"Latitude":25.6649696,"Code":"RWA","State":"Bihar 854337","FullName":"RAUTARA"},{"Longitude":87.56293,"Latitude":25.602937,"Code":"DLF","State":"Bihar 854337","FullName":"DALAN"},{"Longitude":87.5651329,"Latitude":25.547924,"Code":"KIR","State":"Bihar 854105","FullName":"KATIHAR JN"}]}