# Indian Rail API

> Look up Indian Railways trains by number or name, read a train's timetable and running status, list the trains between two stations with each class's availability and fare, then…

Page: https://docs.toolzerhub.com/reference/indian-rail

## Journey

Look up Indian Railways trains by number or name, read a train's timetable and running status, list the trains between two stations with each class's availability and fare, then…

- [Check seat availability and fare (v1)](https://docs.toolzerhub.com/reference/indian-rail/journey/get-indian-rail-availability.md): `GET /v1/indianrail/train/availability`. Check seats for one train, class and quota from the travel date over the next few days, with the confirmation chance and the fare breakdown. A class the train lacks is rejected with a 422.
- [List trains between stations (v1)](https://docs.toolzerhub.com/reference/indian-rail/journey/get-indian-rail-trains-between.md): `GET /v1/indianrail/trains/between`. List the trains from one station to another on a date, including nearby stations in the same cities, with times, run days, classes and each class's last known availability and fare. No direct train returns empty trains.

## Search

Look up Indian Railways trains by number or name, read a train's timetable and running status, list the trains between two stations with each class's availability and fare, then…

- [Search stations (v1)](https://docs.toolzerhub.com/reference/indian-rail/search/get-indian-rail-station-search.md): `GET /v1/indianrail/stations/search`. Find station codes by city or station name, with state and coordinates. A city also returns an all-stations entry. A query nothing matches returns empty results.
- [Search trains (v1)](https://docs.toolzerhub.com/reference/indian-rail/search/get-indian-rail-train-search.md): `GET /v1/indianrail/trains/search`. Find Indian Railways trains by name or number, with each train's first and last station. A query nothing matches returns empty results.

## Train

Look up Indian Railways trains by number or name, read a train's timetable and running status, list the trains between two stations with each class's availability and fare, then…

- [Get live running status (v1)](https://docs.toolzerhub.com/reference/indian-rail/train/get-indian-rail-live-status.md): `GET /v1/indianrail/train/live-status`. Get where a train is on a given run: current station, delay, and actual or expected times at every station. data is null when the train has no run on that start date or the number is unknown.
- [Get train schedule (v1)](https://docs.toolzerhub.com/reference/indian-rail/train/get-indian-rail-schedule.md): `GET /v1/indianrail/train/schedule`. Get a train's timetable: every stop with arrival, departure, halt, day, distance and platform, the stations it passes, run days, classes and coach order. An unknown train number returns data: null.
