CrazyEngineers
  • Is there any Indian Railway API available?

    Manish Goyal

    Member

    Updated: Oct 27, 2024
    Views: 1.9K
    Anyone knows about any api provided by Indian Railway through which i can get train paths and their current locations?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorAug 12, 2012

    I guess IRCTC API is available, but it's not open to everyone. There are a number of ticketing websites that allow you to book IRCTC tickets; but it looks like in order to use them; your company needs to have an annual turnover of about Rs. 5 crores. 😲 [Not sure though].
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberAug 12, 2012

    The_Big_K
    I guess IRCTC API is available, but it's not open to everyone. There are a number of ticketing websites that allow you to book IRCTC tickets; but it looks like in order to use them; your company needs to have an annual turnover of about Rs. 5 crores. 😲 [Not sure though].
    yes i too read this 😁 , but i don't want api for ticket booking , instead i need api for tracking location of trains

    if there is no api available then i will just have one option of scraping that also i am not sure would be a gud idea
    Are you sure? This action cannot be undone.
    Cancel
  • Anoop Kumar

    MemberAug 13, 2012

    Check <a href="https://erail.in/" target="_blank" rel="nofollow noopener noreferrer">Indian Railways Enquiry PNR Status Live Status IRCTC Reservation Seats</a>
    They are using it.
    you can use HttpAnalyser to fetch all query url and Google APIto draw a pathmap.
    See also: <a href="https://www.trainenquiry.com/" target="_blank" rel="nofollow noopener noreferrer">www.trainenquiry.com</a>
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberAug 13, 2012

    ianoop
    Check <a href="https://erail.in/" target="_blank" rel="nofollow noopener noreferrer">Indian Railways Enquiry PNR Status Live Status IRCTC Reservation Seats</a>
    They are using it.
    you can use HttpAnalyser to fetch all query url and Google APIto draw a pathmap.
    See also: <a href="https://www.trainenquiry.com/" target="_blank" rel="nofollow noopener noreferrer">www.trainenquiry.com</a>
    Thanks anoop

    I was just looking for something that would take me less effort otherwise this is already a option for me

    My Plan is to display movement of trains on live basis on google maps, for this continuous ajax calls won't be a good option,

    Would you suggest any alternative for this?
    Are you sure? This action cannot be undone.
    Cancel
  • Anoop Kumar

    MemberAug 13, 2012

    You want to integrate TrainInquiry information on the erail like google api <a href="https://erail.in/rail/frm_Rail_Map.aspx?TrainID=1960" target="_blank" rel="nofollow noopener noreferrer">Train Route</a> graph.
    Its a nice idea to blink current train location on plotted graph.
    I don't know if railway provides api. but I think you can do this using HttpAnalyser.
    Are you sure? This action cannot be undone.
    Cancel
  • Toxic303

    MemberNov 9, 2013

    pnrBuddy launched some free and fast APIs. Have a look #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • Ryan Rajpoot

    MemberJul 19, 2016

    I am using a source of api on my site <a href="https://www.pnrstatusbuzz.in/" target="_blank" rel="nofollow noopener noreferrer">PNR Status - Check PNR Status of IRCTC and Railway Ticket</a>, is there any way through which i can get api directly from Indian Railway. Do you guys know anything about it. Please point me in right direction. I really need to know about this. Please help me out.
    Are you sure? This action cannot be undone.
    Cancel
  • Muhsin Mohamed Pc

    MemberJul 21, 2016

    It is better you to directly contact with the Railway by using their official website. Surely they will provide you API.
    Are you sure? This action cannot be undone.
    Cancel
  • mohan chwala

    MemberSep 3, 2016

    i have sent an mail to erail for api registration but didn't get any response from there side for my website <a href="https://spotyourtrain.info" target="_blank" rel="nofollow noopener noreferrer">spotyourtrain.info</a>. we have launched lightest website to check live train status and pnr status. currently we are using commercial api from some websites.
    Are you sure? This action cannot be undone.
    Cancel
  • mohan chwala

    MemberSep 3, 2016

    is there any other website to check <a href="https://spotyourtrain.info" target="_blank" rel="nofollow noopener noreferrer">spotyourtrain.info</a>, other than erail. since i have to complete my website as mu final year project, can any one help me.
    Are you sure? This action cannot be undone.
    Cancel
  • Aayushi Sharma

    MemberNov 24, 2016

    I have found that there are many website which are giving live running train status and #-Link-Snipped-# to any train we have booked, but have found there is some change in time to different sites, don't know from where they all getting such live data.
    Are you sure? This action cannot be undone.
    Cancel
  • singhkgp

    MemberJul 4, 2017

    You can get you api for very cheap rates around Rs 1000 for 3 months. But price matters the services. They have per day limit for no. of request you can pass to their servers.

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register