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 Registration for New Users

New users can signup on IRCTC easily by filling up the irctc registration form online at railway registration (railway booking site). By creating new account for themselves, users can do ticket booking using the online passenger reservation system.

The steps below will guide users on how to do irctc registration.

The process to register on irctc is easy and free. You can also watch the following video which summarize the process for new user registration on Indian Railway Catering and Tourism Corporation (IRCTC) online e-ticketing site.



Go to homepage of irctc.co.in and look for 'signup' option.Users will then need to fill an online form. All the fields with (*) are mandatory to be filled. Special care must be taken while filling in email id and mobile number fields. Provide valid email and mobile as user id, password, and an activation link will be sent to registered E-Mail id and mobile verification code will be sent at registered mobile number by SMS message.Submit the form…

Why even hackers don't hack IRCTC ?

The irctc.co.in site - the official railway ticket booking site of India belonging to Indian Railway Catering and Tourism Corporation (IRCTC) has never been hacked, and there is very less chance of anyone attempting to do so. This might sound strange to you.

In a country like India where due to abundance of talented IT and programming talent, the claim that no one will even attempt to hack IRCTC doesn't seem right.

Especially when there are great benefits of doing so.



Of course new programmers do get excited and try and hack a website. After all what it requires is some good and intelligent programming. Although there are no known hacks, some well known hackers might be considering making an autobot that will just require to fill in captcha at the time of ticket booking. Basically on one single click the bot will automatically try to book Tatkal ticket at 10 am and will prompt you only for captcha. Captcha can also be bypassed though. No one has yet created such a hack. However …

Why use Paytm for IRCTC railway booking payment

There are many options available to users when it comes to make payment for buying railway tickets online. Paytm is brand new option which has become already popular among the customers of railway.

Paytm is actually an online wallet where you can store money and use it to make quick recharges, pay bills, do shopping, send money to friends & pay for various services like Uber, MakeMyTrip, BookMyShow & others. Best part is that it is completely secure digital payment option.

Please note that - as of now IRCTC disables all cash card/e-wallet options including IRCTC prepaid cards from 8 am to 12 noon. So you can book your tickets on the site with your Paytm Wallet after 12 pm.



Most of you who regularly use IRCTC online ticketing system for railway and flight booking would be aware of the fact that IRCTC has its own eWallet. We have already explained how to use IRCTC eWallet for faster tatkal booking. Then what is the reason for IRCTC to go for another eWallet, a third party digit…