Service Tatkal Tickets
Developer

API explorer

Every REST endpoint across the Tatkal Tickets backend. 4 implemented endpoints are available now; this explorer runs as the backend main page.

Tatkal Ticket Booking Assistant hero banner

No endpoints match that filter.

Developer

Explorer

Browse the Tatkal Tickets control-plane API surface.

GET / ApiExplorerController_index

API Explorer

Browse the Tatkal Tickets control-plane API surface.

curl -X GET 'https://tatkal-tickets-eb215e2c36d8.herokuapp.com/'
text/html

Configuration

Displays the active IRCTC WebView filtering configuration used by the mobile app.

GET /irctc-webview-config IrctcWebViewConfigPageController_show

IRCTC WebView config page

Displays the active IRCTC WebView filtering configuration used by the mobile app.

curl -X GET 'https://tatkal-tickets-eb215e2c36d8.herokuapp.com/irctc-webview-config'
text/html

Control Plane API

System

Reports whether the API is running.

GET /health HealthController_check

Health check

Reports whether the API is running.

curl -X GET 'https://tatkal-tickets-eb215e2c36d8.herokuapp.com/health'
{
  "status": "ok"
}
GET /api/v1 ApiMetadataController_show

API metadata

Returns the current API service name and version.

curl -X GET 'https://tatkal-tickets-eb215e2c36d8.herokuapp.com/api/v1' \
  -H 'Accept: application/json'
{
  "service": "tatkal-tickets-api",
  "version": "v1"
}

Mobile Configuration

Returns configurable filters and preferences for the mobile IRCTC WebView.

GET /api/v1/irctc-webview-config IrctcWebViewConfigController_show

IRCTC WebView config

Returns configurable filters and preferences for the mobile IRCTC WebView.

curl -X GET 'https://tatkal-tickets-eb215e2c36d8.herokuapp.com/api/v1/irctc-webview-config' \
  -H 'Accept: application/json'
{
  "version": 1,
  "viewport": {
    "initialScale": "1.0",
    "maximumScale": "1.0",
    "userScalable": "yes"
  },
  "startupAlert": {
    "enabled": true,
    "dialogSelectors": [
      "[role=\"dialog\"]",
      ".ui-dialog",
      ".modal",
      ".modal-content",
      ".ui-widget-content"
    ],
    "textIncludes": [
      "ALERT"
    ],
    "excludeTextIncludes": [
      "BOOK TICKET",
      "FROM",
      "TO"
    ],
    "closeSelectors": [
      "button",
      "a",
      "[role=\"button\"]",
      ".ui-dialog-titlebar-close",
      ".close"
    ],
    "closeTextMatches": [
      "OK",
      "CLOSE",
      "DONE"
    ],
    "closeTextIncludes": [
      "CLOSE",
      "DISMISS"
    ]
  },
  "languagePreference": {
    "enabled": true,
    "preferredLanguage": "English",
    "dialogSelectors": [
      "[role=\"dialog\"]",
      ".ui-dialog",
      ".modal",
      ".modal-content",
      ".ui-widget-content",
      "div"
    ],
    "dialogTextIncludes": [
      "PLEASE SELECT YOUR PREFERRED",
      "WELCOME TO IRCTC",
      "PREFERRED LANGUAGE"
    ],
    "optionTextIncludes": [
      "ENGLISH"
    ],
    "confirmTextMatches": [
      "OK",
      "DONE",
      "SUBMIT",
      "CONTINUE"
    ],
    "confirmTextIncludes": [
      "PROCEED"
    ]
  },
  "clutter": {
    "bodyClass": "tatkal-irctc-focused",
    "directHideSelectors": [
      "[aria-label*=\"feedback\" i]",
      "[title*=\"feedback\" i]",
      "[class*=\"floating\" i]",
      "[class*=\"chat\" i]",
      "[class*=\"whats\" i]",
      "[class*=\"bot\" i]",
      "[class*=\"ticker\" i]",
      "[class*=\"marquee\" i]",
      "[class*=\"notification\" i]",
      "[class*=\"announcement\" i]"
    ],
    "cssRules": [
      "header, footer, app-header, app-footer { display: none !important; }",
      ".top-header, .h_container, .main-header, .navbar, .nav-bar { display: none !important; }",
      ".ui-sidebar { display: none !important; }",
      "[class*=\"advert\" i], [id*=\"advert\" i], [class*=\"banner\" i], [id*=\"banner\" i] { display: none !important; }",
      "[class*=\"promo\" i], [id*=\"promo\" i], [class*=\"feedback\" i], [id*=\"feedback\" i] { display: none !important; }",
      "iframe[src*=\"ads\"], iframe[src*=\"doubleclick\"] { display: none !important; }"
    ],
    "blockCandidateSelectors": "aside, nav, section, div",
    "blockTextGroups": [
      [
        "MY ACCOUNT",
        "TRAINS",
        "OTHER SERVICES"
      ],
      [
        "EXPLORE",
        "BETA"
      ],
      [
        "VALUABLE SUGGESTIONS"
      ]
    ]
  }
}