IRCTC (Train API)
IRCTC (Train API) offers reliable and structured access to Indian Railways data. Built for developers, it serves as a backend utility to power travel, booking, and railway-related applications with seamless integration of train information.
IRCTC (Train API) endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Get Trains Between 2 Stations /api/v1/trains-between-stations |
This API provides a streamlined way to retrieve comprehensive details about trains running between any two stations on a specified date. To use it, simply make a GET request with… |
| GET |
Search Station /api/v1/search-station |
The /api/v1/get-station GET endpoint returns Indian railway station data. If a code query parameter is provided (e.g., /api/v1/get-station?code=BKT), it returns details of that… |
| GET |
Get Train Details /api/v1/train-details |
Fetches detailed information about a specific Indian train using its train number. This includes the train name, route, and station-wise schedule. It is useful for apps or… |
| GET |
Get Train Live Status /api/v1/live-train-status |
This API endpoint delivers the real-time running status for any Indian Railways train. To use it, provide the trainNo and a startDay parameter to indicate when the journey began,… |
| GET |
Get Train Running History /api/v1/train-delay-history |
This API endpoint provides a historical analysis of a train's punctuality based on its trainNo. You can specify an optional period (e.g., thismonth, lastyear) to analyze its… |
| GET |
Get Coach Data /api/v1/train-coach-data |
This API endpoint retrieves the detailed coach composition for a specified train number. It returns an ordered list representing the train's layout from engine to guard,… |
| GET |
Get PNR Status /api/v1/pnr-status |
The PNR Status API allows users to retrieve real-time information about their train ticket using a valid PNR number. It is designed to help passengers easily check their… |
IRCTC (Train API) pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 2 / second |
|
| PRO | $2.99 / month | 2 / second |
|
| ULTRA Recommended | $8.99 / month | 2 / second |
|
| MEGA | $14.99 / month | 2 / second |
|