Package Information
Released: this month
Downloads: 0 weeklyΒ /Β 0 monthly
Latest Version: 1.0.2
Author: IRCTC API Team
Available Nodes
Documentation generatingβ¦
Documentation
π n8n-nodes-irctc β Indian Railways Community Node for n8n
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:
- Go to Settings β Community Nodes.
- Click Install a community node.
- Enter
n8n-nodes-irctcand 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)
pnr-confirmation-alert.json:- Polls PNR every 30 minutes.
- If ticket transitions to
CNF, sends immediate WhatsApp/Telegram alert with coach and seat number.
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.
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
- In n8n, click Credentials β New Credential β IRCTC API.
- Enter your secret API key from https://irctc.dev/dashboard (claim 10,000 Free Credits on 1-click Google signup).
- Save credential and attach to any IRCTC node in your workflows.
π License
MIT Β© irctc.dev Developer Platform