{"info":{"_postman_id":"84d1c83a-c687-494b-9501-0778efdda403","name":"INDIAN-RAIL-API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"23795265","collectionId":"84d1c83a-c687-494b-9501-0778efdda403","publishedId":"2s8YYHMiHF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-06T12:05:59.000Z"},"item":[{"name":"GetTrainInfo","id":"9e0892f7-2109-4d43-991e-cca088d642ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://indian-railway-api.cyclic.app/trains/getTrain/?trainNo=22137","description":"<h3 id=\"this-route-is-use-to-get-train-info\">This route is use to get train info</h3>\n<p>it contains every single basic detail of a train</p>\n<p><strong>Note</strong> : It takes only one parameter and it's compulsory</p>\n<p>Here Is a Output Example :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"time_stamp\": 1667732131588,\n    \"data\": {\n    \"train_no\": \"22137\",\n    \"train_name\": \"PRERANA EXPRESS\",\n    \"from_stn_name\": \"Nagpur\",\n    \"from_stn_code\": \"NGP\",\n    \"to_stn_name\": \"Ahmedabad Jn\",\n    \"to_stn_code\": \"ADI\",\n    \"from_time\": \"08.15\",\n    \"to_time\": \"00.45\",\n    \"travel_time\": \"16.30\",\n    \"running_days\": \"0010011\",\n    \"type\": \"SUPERFAST\",\n    \"train_id\": \"26\",\n    \"distance_from_to\": \"957\",\n    \"average_speed\": \"58\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["trains","getTrain",""],"host":["indian-railway-api","cyclic","app"],"query":[{"key":"trainNo","value":"22137"}],"variable":[]}},"response":[],"_postman_id":"9e0892f7-2109-4d43-991e-cca088d642ec"},{"name":"GetTrainsBetweenStations","id":"53043913-0f6d-4fb9-8641-2367417081f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://indian-railway-api.cyclic.app/trains/betweenStations/?from=ST&to=ANND","description":"<h3 id=\"this-route-is-use-to-get-train-info-between-two-stations\">This route is use to get train info Between Two Stations</h3>\n<p><strong>Note</strong> : It takes only Two parameter and it's compulsory</p>\n<p>Here Is a Output Example :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"success\": true,\n\"time_stamp\": 1667732739575,\n\"data\": [\n{\n    \"train_base\": {\n    \"train_no\": \"22137\",\n    \"train_name\": \"PRERANA EXPRESS\",\n    \"source_stn_name\": \"Nagpur\",\n    \"source_stn_code\": \"NGP\",\n    \"dstn_stn_name\": \"Ahmedabad Jn\",\n    \"dstn_stn_code\": \"ADI\",\n    \"from_stn_name\": \"Surat\",\n    \"from_stn_code\": \"ST\",\n    \"to_stn_name\": \"Anand Jn\",\n    \"to_stn_code\": \"ANND\",\n    \"from_time\": \"20.00\",\n    \"to_time\": \"22.41\",\n    \"travel_time\": \"02.41\",\n    \"running_days\": \"0010011\"\n    }\n},\n{\n    \"train_base\": {\n    \"train_no\": \"19417\",\n    \"train_name\": \"MMCT  ADI EXP\",\n    \"source_stn_name\": \"Mumbai Central\",\n    \"source_stn_code\": \"MMCT\",\n    \"dstn_stn_name\": \"Ahmedabad Jn\",\n    \"dstn_stn_code\": \"ADI\",\n    \"from_stn_name\": \"Surat\",\n    \"from_stn_code\": \"ST\",\n    \"to_stn_name\": \"Anand Jn\",\n    \"to_stn_code\": \"ANND\",\n    \"from_time\": \"21.30\",\n    \"to_time\": \"01.29\",\n    \"travel_time\": \"03.59\",\n    \"running_days\": \"1111111\"\n    }\n},\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["trains","betweenStations",""],"host":["indian-railway-api","cyclic","app"],"query":[{"key":"from","value":"ST"},{"key":"to","value":"ANND"}],"variable":[]}},"response":[],"_postman_id":"53043913-0f6d-4fb9-8641-2367417081f9"},{"name":"GetTrainOnDate","id":"f8134894-132b-4e9d-a894-e1614f490ccc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://indian-railway-api.cyclic.app/trains/gettrainon?from=ST&to=ANND&date=7-11-2022","description":"<h3 id=\"this-route-is-use-to-get-train-info-between-two-stations-on-specific-date\">This route is use to get train info Between Two Stations On Specific Date</h3>\n<p><strong>Note</strong> : It takes only Three parameter and it's compulsory</p>\n<p>Here Is a Output Example :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"success\": true,\n\"time_stamp\": 1667734006416,\n\"data\": [\n{\n    \"train_base\": {\n    \"train_no\": \"19417\",\n    \"train_name\": \"MMCT  ADI EXP\",\n    \"source_stn_name\": \"Mumbai Central\",\n    \"source_stn_code\": \"MMCT\",\n    \"dstn_stn_name\": \"Ahmedabad Jn\",\n    \"dstn_stn_code\": \"ADI\",\n    \"from_stn_name\": \"Surat\",\n    \"from_stn_code\": \"ST\",\n    \"to_stn_name\": \"Anand Jn\",\n    \"to_stn_code\": \"ANND\",\n    \"from_time\": \"21.30\",\n    \"to_time\": \"01.29\",\n    \"travel_time\": \"03.59\",\n    \"running_days\": \"1111111\"\n    }\n},\n{\n    \"train_base\": {\n    \"train_no\": \"16587\",\n    \"train_name\": \"BIKANER EXP\",\n    \"source_stn_name\": \"Yasvantpur Jn\",\n    \"source_stn_code\": \"YPR\",\n    \"dstn_stn_name\": \"Bikaner Jn\",\n    \"dstn_stn_code\": \"BKN\",\n    \"from_stn_name\": \"Surat\",\n    \"from_stn_code\": \"ST\",\n    \"to_stn_name\": \"Anand Jn\",\n    \"to_stn_code\": \"ANND\",\n    \"from_time\": \"16.22\",\n    \"to_time\": \"18.41\",\n    \"travel_time\": \"02.19\",\n    \"running_days\": \"1000010\"\n    }\n},\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["trains","gettrainon"],"host":["indian-railway-api","cyclic","app"],"query":[{"key":"from","value":"ST"},{"key":"to","value":"ANND"},{"key":"date","value":"7-11-2022"}],"variable":[]}},"response":[],"_postman_id":"f8134894-132b-4e9d-a894-e1614f490ccc"},{"name":"GetRoute","id":"4950216c-8d3d-4aba-bbbb-e6a8540960ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://indian-railway-api.cyclic.app/trains/getRoute?trainNo=19034","description":"<h3 id=\"this-route-is-use-to-get-train-route\">This route is use to get train route</h3>\n<p><strong>Note</strong> : It takes only one parameter and it's compulsory</p>\n<p>Here Is a Output Example :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"success\": true,\n\"time_stamp\": 1667734147450,\n\"data\": [\n{\n    \"source_stn_name\": \"Nagpur\",\n    \"source_stn_code\": \"NGP\",\n    \"arrive\": \"First\",\n    \"depart\": \"08.15\",\n    \"distance\": \"0\",\n    \"day\": \"1\",\n    \"zone\": \"CR\"\n},\n{\n    \"source_stn_name\": \"Wardha Jn\",\n    \"source_stn_code\": \"WR\",\n    \"arrive\": \"09.15\",\n    \"depart\": \"09.17\",\n    \"distance\": \"79\",\n    \"day\": \"1\",\n    \"zone\": \"CR\"\n},\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["trains","getRoute"],"host":["indian-railway-api","cyclic","app"],"query":[{"key":"trainNo","value":"19034"}],"variable":[]}},"response":[],"_postman_id":"4950216c-8d3d-4aba-bbbb-e6a8540960ab"}]}