Hello there. This page used to serve out JSON responses for API queries for my chrome extension. Now the extension no longer requires an API as it directly hits Indian Railways website. You can install the extension here:
But if you still want the API, the code is opensource! You can download and set it up in your own server.