Irctc

From ankitjh4/indic-ai-skills · View interactive version

Irctc is an AI agent skill from the GitHub repository ankitjh4/indic-ai-skills. Indian Railways API for train tracking - live status, PNR, stations, trains between stations. Uses RailRadar API. No Zo-specific setup required - uses standard environment variables.

How to use this skill

Skill file

RailRadar - Indian Railways API

Track Indian trains using RailRadar API.

API Key Required

Get your free API key from: https://railradar.in

Setup

# Set environment variable (works anywhere)
export RAILRADAR_API_KEY="your-api-key"

# Or use in Python
import os
api_key = os.environ.get("RAILRADAR_API_KEY")

Features

Usage

# Search stations
python3 scripts/railradar.py stations "Delhi"

# Trains between stations
python3 scripts/railradar.py trains NDLS BKN

# Live status
python3 scripts/railradar.py live 12002

# PNR status (if supported)
python3 scripts/railradar.py pnr 1234567890

Environment Variables

| Variable | Required | Description |

|----------|----------|-------------|

| RAILRADAR_API_KEY | Yes | Your RailRadar API key |

API Endpoints

Links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.