npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-irctc

v1.0.2

Published

Official n8n community node for Indian Railways API (irctc.dev). Automate PNR checks, live train tracking, seat availability forecasts, and vacant berths alerts.

Downloads

714

Readme

🔄 n8n-nodes-irctc — Indian Railways Community Node for n8n

Powered by irctc.dev n8n Community Node License: MIT

Official n8n community node for irctc.dev. Connect self-hosted and cloud n8n automation workflows to live Indian Railways data with sub-10ms response times.

Automate live PNR tracking, WhatsApp train delay alerts, Slack morning commute digests, and Tatkal/post-charting vacant seat notifications with zero code.


⚡ Installation in n8n

For Docker & Self-Hosted n8n Instances:

In your n8n root directory (or container):

npm install n8n-nodes-irctc

Or in the n8n Web UI:

  1. Go to Settings ➔ Community Nodes.
  2. Click Install a community node.
  3. Enter n8n-nodes-irctc and accept the community install.

🛠️ Operations & Capabilities (All 14 Indian Railways Endpoints)

| Resource | Operation | Capabilities | | :--- | :--- | :--- | | PNR Status | Check PNR Status | Checks live passenger confirmation (CNF, RAC, WL), coach/berth details (S4 65 LOWER), and chart preparation status. | | Live Tracking & Station Board | Get Live Running Status | Real-time GPS train location, current delay in minutes, next station halt, and platform numbers. | | Live Tracking & Station Board | Get Live Station Board | Real-time arrivals & departures board for any Indian railway station within 2 hours. | | Trains & Fares | Search Trains Between Stations | Direct train discovery between two stations with travel duration, distance, and running days. | | Trains & Fares | Check Seat Availability Forecast | Official 14-day continuous seat availability calendar forecast across travel classes (3A, 2A, SL) and quotas (GN, TQ). | | Trains & Fares | Get Vacant Berths After Chart | Post-charting vacant berth allocations from online reservation charts for Current Booking. | | Trains & Fares | Calculate Ticket Fare Breakup | Itemized IRCTC fare calculation (Base Fare, Superfast, GST, Catering). | | Trains & Fares | Get Full Route Schedule | Full intermediate halt stations, arrival/departure timings, stop durations, and distances. | | Trains & Fares | Get Train by Number | Quick basic train details, running days, origin, destination, and train type. | | Trains & Fares | Search Trains by Name | Partial train name lookup (e.g. "Rajdhani", "Shatabdi", "Vande Bharat"). | | Trains & Fares | Get Cancelled Trains | Real-time list of today's cancelled, diverted, and partially cancelled trains. | | Stations & Timetables | Search Stations Autocomplete | Station search with autocomplete by station code or city name (e.g. "delhi"). | | Stations & Timetables | Get Station Details by Code | Station metadata, state, and railway division information. | | Stations & Timetables | Get Station Timetable by Date | All trains arriving at or departing from a station on a given date. | | Engine Health | Get Engine Health | Live Rail Engine health check and service status. |


📦 3 Ready-to-Import Workflow Templates (Included in /workflows)

  1. pnr-confirmation-alert.json:
    • Polls PNR every 30 minutes.
    • If ticket transitions to CNF, sends immediate WhatsApp/Telegram alert with coach and seat number.
  2. morning-commute-delay-digest.json:
    • Runs weekdays at 8:30 AM IST.
    • Checks daily commute train status and posts high-contrast delay report to tech team Slack channel.
  3. tatkal-vacancy-watchdog.json:
    • Monitors train charts 4 hours prior to departure.
    • Immediately alerts user when vacant berths open up for Current Booking.

🔐 Credentials Setup

  1. In n8n, click Credentials ➔ New Credential ➔ IRCTC API.
  2. Enter your secret API key from https://irctc.dev/dashboard (claim 10,000 Free Credits on 1-click Google signup).
  3. Save credential and attach to any IRCTC node in your workflows.

📄 License

MIT © irctc.dev Developer Platform