Rail Info API (India)
Read-only API for Indian Railways stations, trains, schedules, and timetables. Static dataset. No real-time running status.
90 subscribers
9.6/10 popularity
297 ms avg latency
92% success rate
16 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
Rail Info API (India) endpoints
| Method | Endpoint | Description |
|---|---|---|
| Meta | ||
| GET |
getReady /v1/ready |
Returns 200 if database is accessible and dataset is loaded. Returns 503 if database is unavailable or dataset not loaded. |
| GET |
getHealth /v1/health |
Returns 200 if the service is running. |
| GET |
getMeta /v1/meta |
Returns comprehensive metadata about the current dataset including: - Dataset version and build timestamp - Data source and license - Entity counts (stations, trains, stops) -… |
| Stations | ||
| POST |
resolveStations /v1/stations/resolve |
Resolve messy station inputs (user-typed names, abbreviations) into canonical station UIDs. Useful for data cleaning pipelines. |
| GET |
getStationTimetable /v1/stations/{station_id}/timetable |
List all trains stopping at a station, sorted by departure time. Paginated with cursor support. |
| GET |
getStationArrivals /v1/stations/{station_id}/arrivals |
Get scheduled arrivals to a station within a time window. **Timezone Rule**: If datetime has no timezone, it is interpreted as Asia/Kolkata (IST, UTC+5:30). **Time Window**:… |
| GET |
getStation /v1/stations/{station_id} |
Get full station details by UUID or station code. Supports conditional requests with ETag. |
| GET |
searchStations /v1/stations/search |
Search stations by name, code, or alias. **Ranking (highest to lowest)**: 1. `code` - Exact station code match (confidence: 1.0) 2. `fts` - Full-text search on name/aliases… |
| GET |
getStationsNearby /v1/stations/nearby |
Find stations within a radius of a geographic point. Returns stations sorted by distance (nearest first). |
| GET |
getStationDepartures /v1/stations/{station_id}/departures |
Get scheduled departures from a station within a time window. **Timezone Rule**: If datetime has no timezone, it is interpreted as Asia/Kolkata (IST, UTC+5:30). **Time Window**:… |
| GET |
getStationAliases /v1/stations/{station_id}/aliases |
Get all aliases (names, codes, transliterations) for a station. |
| Trains | ||
| GET |
getTrainsBetween /v1/trains/between |
Find all trains running between two stations (origin before destination in route). Optionally filter by an intermediate station the train must pass through. |
| GET |
searchTrains /v1/trains/search |
Search trains by number or name. **Ranking (highest to lowest)**: 1. `train_no_exact` - Exact train number match (confidence: 1.0) 2. `train_no_prefix` - Train number prefix… |
| GET |
getTrainStops /v1/trains/{train_id}/stops |
Get ordered stop list for a train route. Includes arrival/departure times, distances, and day offsets for overnight trains. |
| GET |
getTrain /v1/trains/{train_id} |
Get train metadata by UUID or train number. Supports conditional requests with ETag. |
| Changes | ||
| GET |
getChanges /v1/changes |
Track what changed between dataset versions: - **station**: Name, code, coordinates, aliases changed - **train**: Train number, name, or discontinued - **route**: Stops… |
Rail Info API (India) pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 500 / hour |
|
| PRO Recommended | $9 / month | 4000 / hour |
|
| ULTRA | $39 / month | 10000 / hour |
|