Trains Between Stations API
Search all running trains between any two Indian Railways station codes with travel duration, running days, distance, halts, and base fares.
Live Protocol Demo
Production headers and authentic PRS gateway response.
Engineered for Railway Throughput
High-throughput PRS reservation engine connectivity with sub-second Redis caches and 99.9% uptime reliability.
Direct Gateway Architecture
Multi-hop routing & telemetryQueries route through high-speed edge clusters across Indian data center zones with direct PRS gateway connectivity and sub-millisecond dispatch.
Production SLAs & Latency
Deterministic throughput backed by enterprise uptime guarantees.
Lightning Route Resolution
Calculates all direct services across 8,500+ Indian stations in under 50ms using pre-compiled graph routing tables.
Running Days & Weekly Calendar
Instant verification of weekday frequency (Mon through Sun) with automated date matching.
Fare & Duration Estimates
Built-in base fare estimation and duration formatting for immediate rendering in flight/bus comparison screens.
Parameters Specification
Query and path parameters for /api/v1/trains/search
Source station code (e.g. NDLS).
Destination station code (e.g. GD).
Journey date in YYYY-MM-DD format to filter active running days.
Frequently Asked Questions
Technical specs regarding IRCTC session lifetime, authentication, and quotas.
How to Build a WhatsApp Train Running Status & PNR Bot in Node.js
Integrate route search and live train status directly into an automated WhatsApp messaging workflow.
Related Railway Endpoints
Train Schedule & Route Halts API
Fetch the complete timetable for any 5-digit Indian Railways train: sequential station halts, arrival/departure timings, halt durations, distance, and lat/long coordinates.
IRCTC Seat Availability API with 14-Day Calendar
Fetch real-time PRS seat & berth availability across all classes and quotas with a full 14-day continuous calendar forecast in a single request.
Train Fare & Ticket Pricing API
Fetch real-time train ticket fare breakups across all classes with discrete components: Base Fare, Reservation, Superfast, GST, and Catering.
Integrate Trains Between Stations API
Integrate live Indian Railways data into your production or staging stack. 10,000 free sandbox calls included.