trading24
Have money to
Make more money

How do the websites which show live train running status work? These websites synchronise and update the train running status automatically or it is updated manually?

Thanks for A2A. Indian railway has made list of stations, trains between stations, route of a train, current running status of the train and get PNR current status as open data so that travelers in making more informed decisions about their travel.

This open data can be fetched with an API(Application Program Interface). To access data through this API, we will need a key. You can register by sending a mail atapi@erail.inwith Subject: Request for Indian Railways API registration and nccessary information the the body of the mail.

Upon approval you will be provided with the API key. Once the service has been activated, you can make HTTP request to the API.

Usage Limits

  1. Requests should be made from your server only and not from the clients browser or app.
  2. API key is applicable for requests from one IP only
  3. Developers should cache the data on

    their server, following limits apply while making requests between 00:00hr to 23:59 hrs IST

    1. GetStations 10
    2. GetTrains between unique pair of stations 4
  4. Max 5 requests per second

All the technical details are providedhere . All the best.

Important Information:Open Government Data (OGD) Platform Indiais a platform launched in 2012 for supporting Open Data initiative of Government of India. The portal is intended to be used by Government of India Ministries/ Departments their organizations to publish datasets, documents, services, tools and applications collected by them for public use. It intends to increase transparency in the functioning of Government and also open avenues for many more innovative uses of Government Data to give different perspective.

This was developed jointly by India & US government as a result of announcement made by President Obama and Prime Minister Shri Manmohan Singh during the Indo-US Open Government Dialogue in 2010.


Category: Spot

Similar articles: