Indian Railways API for Developers
Integration-ready REST API for real-time live train tracking status, timetables, train route geometry (GeoJSON), and station live boards. Crowdsourced and validated by 200,000+ active monthly users.
Getting Started
Make your first call
Pass your key as the Authorization Bearer header on any request.
First endpoint →Base URL
All API requests should be made to the following base URL:
https://api.railradar.in/v1Include your API key in every request as the Authorization header using the Bearer scheme.
Authentication
All endpoints require an API key passed as a request header:
Authorization: Bearer rr_live_••••••••••••••••Don't have a key yet? Generate one free →
Standard Response Envelope
Every response — success or error — is wrapped in the same envelope shape:
{ "success": true, "data": { ... }, "meta": { "traceId": "550e8400-e29b-41d4-a716-446655440000", "timestamp": "2026-06-22T10:30:00+05:30", "executionTime": 38, "source": "database | hybrid | external" } }
success— boolean; false on any errordata— the endpoint-specific payloadmeta.traceId— UUID for support debuggingmeta.executionTime— server latency in msmeta.source— data source tier used
Indian Railways API Endpoints & Reference
/v1/trains/{number}Train Details
Full schedule & stops for any train number.
/v1/trains/{number}/liveLive Status
Real-time position, delay, and per-stop status.
/v1/trains/between/{from}/{to}Trains Between Stations
All trains running between two station codes.
/v1/stations/{code}/trainsStation Board
All trains halting at a station with times.
/v1/trains/{number}/routeRoute Geometry
GeoJSON / polyline / coords for any train route.
/v1/lookup/trainsTrain Lookup
Flat number → name map for client-side search.
Rate Limits
Free tier: 300 requests / day (10 requests / minute burst). Paid plans unlock higher limits and priority routing. Visit /developers to upgrade.