Re: How to build a railway booking app using IRCTC / RailOne API?
Reply 1 by SureshKumar_Pune
2 days ago
Bro, official public API for full booking? Almost zero chance for normal people.
IRCTC only gives API access to registered PSPs (Principal Service Providers) / authorized agents. You need to apply, pay heavy integration fees (I’ve heard 10-20 lakh+ one time + yearly), maintain look-to-book ratio, etc. Not for side projects.
RailOne is just the new CRIS app (super app kind of thing). It is not giving any public developer API as far as I know.
For enquiry stuff (PNR, availability, live status, train search) there are some third-party wrappers floating around. One I tried recently:
// using irctc-connect style package
import { configure, checkPNRStatus, getAvailability, searchTrainBetweenStations } from "irctc-connect";
configure(process.env.API_KEY);
const trains = await searchTrainBetweenStations("NDLS", "BCT");
const seats = await getAvailability("12951", "NDLS", "BCT", "15-11-2025", "3A", "GN");
const pnr = await checkPNRStatus("4567890123");