Tomorrow i.e. on 2 October 2014, eRail.in will launch Indian Railways API. The eRail.in Indian Railways API is a service that provides information related to Indian Railways Trains using an HTTP request. You can get the list of stations, trains between stations, route of a train, current running status of the train and get PNR current status.
Through eRail API developers can access the API by registering on http://api.erail.in. The API is free for non-commercial usage. API provides information related to all the trains running under Indian Railways. Developers have struggled to find a single source of database, eRail.in aims to bridge that gap.
eRail.in was developed with an aim to bring time table of all the reserved, un-reserved and suburban trains search under one roof. Multiple source of information is used to create a common database of all trains running under Indian Railways. Similar to other railway system, eRail.in has moved a step to facilitate the easy access of information related to Indian Railways Trains.
Now, websites and mobile developers can use this API to use Indian Railways train data and develop website or applications over it.
The eRail.in Indian Railways API uses an API key to identify your application. API keys are managed through the eRail.in APIs console. To create your key:
- Please send a request to email@example.com
- Upon approval you will be provided with the API key
- Once the service has been activated, you can make HTTP request to the API.
There are some unofficial Indian Railways API such as RailPNRapi.com but it provide only PNR related data and status however eRail API provide more than just PNR status and provide all round information such as – list of stations, trains between stations, train availability, route of a train, current running status of the train and of-course PNR current status as well.