Skip to content
Sign in Submit a tool
IRCTC API logo

APIs & SDKs

IRCTC API

High-performance REST API for Indian Railways data with sub-millisecond latency

Developer platform providing 14 REST endpoints for live Indian Railways data including PNR status, real-time train tracking, seat availability forecasts, and

Overview

Screenshot of the IRCTC API homepage

A look at irctc.dev

IRCTC API is a high-performance developer platform delivering 14 REST endpoints for Indian Railways data. It provides real-time satellite GPS tracking of trains, live PNR verification with passenger manifests and charting status, 14-day multi-class seat availability forecasts directly from the PRS reservation engine, and vacant berth detection after chart preparation.

The platform features sub-millisecond P99 response times through in-memory caching of over 10,000 trains, typo-tolerant station autocomplete across 8,500+ indexed stations, and a 100% in-memory pathfinding graph engine for guaranteed uptime. It maintains 99.9% production SLA with enterprise rate-limiting, stateless JWT sessions, and multi-zone PRS failover protection.

Developers can integrate using the official zero-dependency irctc-api npm package with 100% TypeScript definitions for Node.js, alongside code snippets for Python and cURL. The service includes an interactive API playground for testing and comprehensive documentation.

Feature notes

  • Real-time train GPS tracking with platform assignment and live running delay
  • PNR verification with passenger manifests and charting status
  • 14-day multi-class seat availability forecast from PRS reservation engine
  • Vacant berths detection after chart preparation
  • Real-time ticket fare breakup across multiple quotas
  • Daily cancelled trains list with zero cache latency
  • Direct train search between stations with running days filter
  • Fuzzy train name search with instant suggestions
  • Station autocomplete across 8,500+ Indian Railway stations
  • Official zero-dependency npm package with 100% TypeScript definitions

Pricing

Pricing model: Freemium

Free Welcome Tier: 10,000 free API credits upon signup with Google OAuth. Pro Top-Up Pack: ₹99 for 100,000 API requests.

FAQ

Is there a free tier for developers?
Yes. Every developer receives 10,000 free API credits upon signing in with Google OAuth without requiring a credit card. Pro top-up packs are available at ₹99 for 100,000 requests.
How do I check live PNR status using the API?
Send an authenticated GET request to the PNR endpoint with your API key, or use the client.pnr.check() method with the official irctc-api npm package. The response includes passenger confirmation status, coach, seat, normalized berth allocation, and charting status.
How does the 14-day train seat availability forecast work?
The Seat Availability endpoint queries the official Indian Railways PRS reservation engine directly via CRIS protocol and delivers a multi-class, multi-day availability forecast calendar with confirmed confirmation codes.
Can I check vacant seats after chart preparation?
Yes. The Vacant Seats After Chart Preparation endpoint checks real-time vacant berths across coaches for Current Booking and TTE allocation once the reservation chart is prepared.
What programming languages and SDKs are supported?
The official zero-dependency irctc-api npm package with 100% TypeScript definitions is provided for Node.js, alongside runnable code snippets for Python (requests/httpx) and standard cURL.

Leave a review for IRCTC API

No reviews of IRCTC API yet. Run the first inspection.

Your rating

Reviews are free and are never paid for. Open the reviews

Reviews and notes · Change log · Share the profile · Maker of this product? Claim the profile · Report a fault

More on this profile

IRCTC API has a free listing. The owner can unlock the full profile with a paid launch for $5:

  • Founder story (locked)
  • Milestones (locked)
  • Demo video (locked)
  • Dofollow website link (locked)

Comparable tools

Help centre