You are here Indian Railways API - How To

Through their mobile apps, web interface, and public API, offers gateways for accessing real time train information on the Indian Railway database. Calls to the API can be made to return a list of stations with associated geolocation data. The API can also return unique train ID given two locations, return the route of a given a train number, calculate the fare between destinations, check Passenger Number Statuses, return the live status of any given train, infer seat availability and booking logistics, track train timing, and more. Usage limitations require calls to be made from a single IP server, requests are per IP address, and no more than 5 calls a second may be made. All HTTP requests to the API return JSON-formatted responses, and an API key is required for usage.