IRCTC and Indina Railway

FREE
By ryanrajpoot
Updated 10 months ago
Travel
-/10
Popularity
-
Latency
-
Success Rate

IRCTC and Indina Railway API Documentation

We have created this API to help out the developer looking for railway API and we are not affiliated to indian railways in any form and this is not an official API also.

View API Details
GETPNR status
GETPNR status

Enter your 10 digit pnr number and get your pnr status

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
PNRSTRING
REQUIREDEnter given PNR Number to get result
Code Snippet
Install SDK
Response Body
<xml>
	<response_code>200</response_code>
	<pnr>6224484662</pnr>
	<train_num>12311</train_num>
	<train_name>HWH DLI KLK MAI</train_name>
	<doj>23-12-2013</doj>
	<from_station>
		<code>DLI</code>
		<name>Kalka</name>
	</from_station>
	<to_station>
		<code>KLK</code>
		<name>Kalka</name>
	</to_station>
	<reservation_upto>
		<code>KLK</code>
		<name>Kalka</name>
	</reservation_upto>
	<boarding_point>
		<code>DLI</code>
		<name>Delhi</name>
	</boarding_point>
	<class>1A</class>
	<no_of_passengers>3</no_of_passengers>
	<chart_prepared>N</chart_prepared>
	<passengers>
		<passenger>
			<sr>1</sr>
			<booking_status>CNF ,GN</booking_status>
			<current_status>CNF</current_status>
		</passenger>
		<passenger>
			<sr>2</sr>
			<booking_status>W/L 1,RLGN</booking_status>
			<current_status>W/L 1</current_status>
		</passenger>
		<passenger>
			<sr>3</sr>
			<booking_status>W/L 2,RLGN</booking_status>
			<current_status>W/L 2</current_status>
		</passenger>
	</passengers>
	<error/>
</xml>

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication