IRCTC (Train API)
收藏RapidAPI2026-04-22 更新2025-06-14 收录
下载链接:
https://rapidapi.com/quantumbits1011/api/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.
创建时间:
2026-04-22
原始信息汇总
IRCTC (Train API) 数据集概述
基本信息
- API名称: IRCTC (Train API)
- 提供者: Bit Labs API
- 类别: 旅行
- 订阅人数: 43
- 版本: v1 (current)
- 基础计划价格: $0.00 / mo
- 专业计划价格: $2.99 / mo
- 高级计划价格: $8.99 / mo
- 超级计划价格: $14.99 / mo
API概述
IRCTC (Train API) 提供对印度铁路数据的可靠和结构化访问。专为开发者设计,可作为后端工具,为旅行、预订和铁路相关应用提供无缝集成的列车信息。
主要功能
- 列车详情: 获取列车名称、编号和完整时刻表。
- 站点路线: 获取列车路线上所有站点的详细列表。
- 实时状态: 跟踪任何运行列车的实时位置和状态。
- PNR状态: 检查任何PNR号码的当前状态。
- 站点间列车: 查找两个站点之间在特定日期所有可用的列车。
- 车厢位置: 查找车厢组成和位置。
- 延误历史: 分析列车的历史延误数据。
可用端点
-
获取列车详情
- 方法: GET /train-details 或 POST /train-details
- 参数:
trainNo(字符串, 必需) - 示例:
GET /train-details?trainNo=12951
-
PNR状态
- 方法: GET /pnr-status
- 参数:
pnrNo(字符串, 必需) - 示例:
GET /pnr-status?pnrNo=1234567890
-
站点间列车
- 方法: GET /trains-between-stations
- 参数:
startStationCode(字符串, 必需),endStationCode(字符串, 必需),date(字符串, 必需) - 示例:
GET /trains-between-stations?startStationCode=RJT&endStationCode=ADI&date=23-06-2025
-
实时列车状态
- 方法: GET /live-train-status
- 参数:
trainNo(字符串, 必需),startDay(数字, 可选) - 示例:
GET /live-train-status?trainNo=12902&startDay=1
-
列车车厢数据
- 方法: GET /train-coach-data
- 参数:
trainNo(字符串, 必需) - 示例:
GET /train-coach-data?trainNo=22959
-
列车延误历史
- 方法: GET /train-delay-history
- 参数:
trainNo(字符串, 必需),period(字符串, 可选) - 示例:
GET /train-delay-history?trainNo=22959&period=thismonth
免责声明
此API仅供教育和个人使用,与IRCTC或印度铁路无关。请负责任地使用。



