Payments
API Services
Technology
Company
Login 🚀 Get Started
🚂 Train Booking API

IRCTC Rail Ticket Search & Booking

ZuelPay Train Booking API integrates IRCTC's next-generation booking system — search trains, check seat availability, book Tatkal, General, Ladies and Tourist quota tickets, check PNR status and manage cancellations. 100% IRCTC compliant.

What is Train Booking API?

India's Rail Network via One API

ZuelPay's Train Booking API integrates directly with IRCTC's Next Generation Booking (NGB) system — India's national railway reservation platform. Search trains across 8000+ stations, check real-time seat availability and book tickets in all quotas including Tatkal, RAC, Waiting List and General.

Travel agents, TMCs and travel portals can issue authorised tickets to customers without worrying about quota or cancellation. Our single-wallet system simplifies all transactions — one account, all travel products.

We also provide PNR status check, train running status, coach position and seat chart — everything needed to build a complete rail-booking experience for your users on web or mobile.

📄 API Documentation Get API Keys →
Live Train Search Result
NDLS
New Delhi
🚂 17h 30m
MAS
Chennai Central
Grand Trunk Express
12615 · 06:00 → 23:30
3A ✓ AVAIL-42 SL ✓ AVAIL-120 TATKAL
Rajdhani Express
12433 · 16:55 → 09:55+1
1A WL-3 2A ✓ AVAIL-8 TATKAL
Tamil Nadu Express
12621 · 22:30 → 15:55+1
SL RAC-12 2A ✓ AVAIL-15 TATKAL
⚡ Real-time Availability ✓ IRCTC NGB
8000+
Train stations
13000+
Daily trains
100%
IRCTC compliant
All
Quota types
Supported Quota & Ticket Types

Every Ticket Type, Every Quota

General Quota

Standard confirmed tickets — available up to 120 days in advance. Most economical booking option for all classes.

Confirmed

Tatkal Quota

Last-minute premium quota — opens 1 day before travel. Higher fare but confirmed seats when general is full.

Premium

RAC & Waiting List

Reservation Against Cancellation and Waiting List tickets — valid for travel, auto-confirmed as seats free up.

Auto-upgrade
🎓

Special Quotas

Ladies Quota, Senior Citizen Quota, Tourist Quota, Emergency Quota and Defence Quota — all supported via API.

Priority
Travel Classes Supported
👑 First AC (1A) 🛌 Second AC (2A) 🛏️ Third AC (3A) 💤 3E Economy AC 🪑 Sleeper (SL) 🚂 Second Class (2S) ⚡ Chair Car (CC) 🎯 Executive Chair (EC)
API Capabilities

Complete Rail Operations API

🔍

Train Search

Search trains between source and destination by date — returns all trains with schedule, duration and stops

🪑

Seat Availability

Real-time availability per class and quota — AVAIL, RAC and WL counts updated from IRCTC live

📝

Ticket Booking

Book confirmed, Tatkal, RAC and WL tickets with passenger details — PNR generated instantly

📊

PNR Status Check

Check current PNR status — seat number, coach, berth type and booking confirmation

🚂

Train Running Status

Live train running position, delay status and platform info at any station

Cancellation & Refund

Cancel tickets and get automated refund calculation as per IRCTC refund policy

📋

Seat Chart

View coach-wise seat chart for any train — know occupied and available berths before boarding

💳

Single Wallet

One ZuelPay wallet for all travel products — train, flight, bus and hotel bookings

REST API · JSON
Search Trains
Book Ticket
PNR Status
Response
// Search trains between stations
// POST /v2/train/search

fetch('https://api.zuelpay.com/v2/train/search', {
  method: 'POST',
  headers: { 'Authorization': 'Bearer zp_live_xxx' },
  body: JSON.stringify({
    from_station: 'NDLS', // Station code
    to_station: 'MAS',
    date: '2026-04-20',
    travel_class: 'SL', // Optional filter
    quota: 'GN' // GN/TQ/LD/SS
  })
});

// Returns trains with availability per class
Booking Flow

Book a Train Ticket in 5 Steps

🔍
1
Search
Enter source, destination, date, class and quota
🪑
2
Check Avail
View trains with live seat counts per class and quota
📝
3
Passenger
Enter name, age, gender and berth preference per passenger
💳
4
Pay & Book
Payment debited from ZuelPay wallet — PNR generated instantly
🎫
5
e-Ticket
PDF ticket with PNR, seat and journey details — sent to customer email
Complete Travel Suite

More Travel APIs from ZuelPay

Add Train Booking to Your Travel Platform

8000+ stations, all quotas, IRCTC compliant. Full sandbox, single wallet, competitive commissions.