Live Tracking
trackTrain(trainNumber: string, date: string)Description
Track live train movement with station-by-station arrival and delay context.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
trainNumber | PATH | string | YES | 5-digit train number |
date | PATH | string | YES | Journey date in DD-MM-YYYY |
Code Example
javascript
const result = await trackTrain("12345", "28-08-2026");
if (result.success) {
console.log(result.data.statusNote);
console.log(result.data.timeline);
}Response Example