Skip to main content

eRail - erail.in Railway Information

There are millions of people seeking railway information in India and around the world. It is clear from humongous traffic that Indian Railway enquiry website 'indianrail.gov.in' receives per day. Every moment people are searching for information on reserved, unreserved, and suburban trains. People are even querying for fog affected trains.

Given the popularity of railways, many desktop software and mobile applications have been developed in order to easily make rail info accessible to users. There are different applications for checking pnr status, finding train route and schedule, to get the fare for travelling by train between two stations, to show live status of current running train, and other information about railway.

eRail.in


Major problem which railway software developers face today is that there is no common database of railway information which can be used to develop a railway application (desktop application or web application) that can retrieve all information queried by a user. Indian Railway, as per policy, does not allow any one outside their organization to maintain a database of railway information. It means that even when people are keen to make apps for customers of railway they cannot do so.

To solve the above problem eRail.in has come up with an API (Application Programming Interface) which can be programmed against to develop a good railway application.

eRail API Explained

The eRail API http://api.erail.in is a service which can be used to get all information related to Indian Railway trains. It works on simple HTTP request. One can make an HTTP request to appropriate API and append it with allowed parameters to get a specific information on railway. All response is sent in JSON format to the client. As of now following APIs are available.

eRail.in APIs List

Presented below is the list of available APIs on eRail and the purpose for which they can be used.

  1. Station List API - To get the result of all the stations with their station code, name, latitude and longitude.
  2. Trains API - To get trains between two given stations.
  3. Route API - To get route(s) of given train number. List of all available routes will be returned.
  4. Full Route API - To get full route of given train number. List of stations in route of train will be displayed, showing all passing stations also.
  5. Fare API - To get fare for the journey from source station to destination station.
  6. PNR Status API - To get details of given PNR number.
  7. Live Status API - To get live running status of the given train.
  8. Seat Availability API- To get seats availability in given train between given pair of stations in given quota, class and date.
  9. Coach Composition API - To get coach Composition of a given train.
  10. Cancelled Trains API - To get list of all cancelled trains on a given date.
  11. Diverted Trains API - To get list of all diverted trains on a specific date.
  12. Rescheduled Trains API - To get list of all re-scheduled trains.
  13. Trains at Station API - To get list of trains at given station withing in given hours.
In order to use above Indian Railway APIs one must register and get an API key. This key is used to identify the application making use of it and it is managed through eRail.in API console. This key is required to be inserted in every request URL to be used for accessing API. As of now maximum 5 requests per second can be made. You can send email at info@erail.in to get your key.

eRail Mobile Apps 

Using above API many useful mobile applications have already been developed for the railway users. Users can download it on their phones and get railway updates on the go anytime anywhere. Download the official eRail.in apps now from following links.
These apps also allows user to see refund details of cancelled online reservation and seat map of trains.

Comments

Popular posts from this blog

IRCTC Next Generation - New Online Railway Ticket Booking System

Indian Railway Catering and Tourism Corporation, IRCTC, has new online railway ticket booking system known as 'IRCTC Next Generation'. Earlier the irctc login process, and railway booking thereafter, was so slow that it often left users frustrated. New generation which likes speed, as they tend to do things fast, and ignore old and slow systems outright, the IRCTC's next generation online ticket booking system is just the right 'railway reservation system' which has the potential to not only satisfy the current generation of railway users but will continue to appeal the next generation too due to its improved features, performance, fast loading time, and reliability.

The new railway booking system is not only fast but it is also easier to work with. It is a preferred platform of most new users who are looking for train ticket booking online. IRCTC itself recommends people to use it and discard the older version. This is clear from the fact that most old users are …

How to activate suspended irctc accounts

Recently a user from India send us email mentioning that his IRCTC account has been suspended. Not only he doesn't know the reason, what caused it,but also he wants to know how to activate it?

As a result of deactivation of account, he is no longer able to login to book railway tickets online. Activating accounts of IRCTC is really easy. That is what you will know here. "Either go through entire article or wait for some time for activation process to get started. Once activation is done you can continue to login and do booking on irctc website." That is what you see, but does it happen? In some cases, Yes. But in most cases, No. Hence we are providing solution to your problem here.


After deactivation/ suspension if you attempt to login into such accounts, you might see the 'wrong credentials' message.


First of all if you are also among those whose account is suspended/deactivated without prior notice or information, know very well that there is a valid reason f…

How to delete IRCTC account easily?

Today you will learn how to delete IRCTC account. This is the account you make on irctc.co.in (online railway ticket booking site) to book seats in train online using internet or irctc application (here is irctc app download page).

Some of you might be wondering what is reason for taking such a drastic step? Why one should go for deleting their entire account. After all it took quite a few minutes to create a new account using irctc registration page. But there is a valid reason. You'll see yourself in few minutes.


Actually IRCTC is notorious in the sense that it suspends or deactivate your account for no reason sometimes. This usually happens when the staff of Indian Railway Catering and Tourism Corporation feels that you have provided a wrong information. They conclude that the information provided by you is wrong when they try to verify it, and it is not verifiable.
Although you can activate your suspended irctc accounts easily, albeit it requires you to create an entirely new…