ToolzerHub Docs

List trains between stations (v1)

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.

1 credit / requestBilled only on success
GET
/v1/indianrail/trains/between

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

from_station*string

The boarding station code, such as NDLS, or a name with the code in brackets. Find codes by name with Search stations.

Lengthlength <= 120
to_station*string

The destination station code, such as MMCT, or a name with the code in brackets. Find codes by name with Search stations.

Lengthlength <= 120
date?string

Travel date from the boarding station, today or later. Defaults to today (India time). Dates past the booking window are rejected with the day bookings open.

Match^(\d{4}-\d{2}-\d{2}|\d{2}[-/]\d{2}[-/]\d{4})$
curl -X GET "https://example.com/v1/indianrail/trains/between?from_station=NDLS&to_station=MMCT" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "from": "NDLS",    "to": "MMCT",    "date": "2026-11-12",    "count": 0,    "trains": [      {        "train_number": "12904",        "name": "GOLDEN TEMPLE M",        "from": {          "code": "NDLS",          "name": "New Delhi"        },        "to": {          "code": "NDLS",          "name": "New Delhi"        },        "origin": {          "code": "NDLS",          "name": "New Delhi"        },        "destination": {          "code": "NDLS",          "name": "New Delhi"        },        "departure": "04:00",        "arrival": "23:55",        "duration_minutes": 1195,        "distance_km": 1366,        "run_days": [          "Mon",          "Thu"        ],        "classes": [          "SL",          "3A",          "2A",          "1A"        ],        "quotas": [          "GN",          "SS",          "LD"        ],        "has_pantry": true,        "rating": 4,        "has_departed": true,        "availability": [          {            "status": "RLWL60/WL42",            "status_text": "WL 42",            "confirm_chance_percent": 71,            "prediction": "Probable",            "class": "3A",            "quota": "GN",            "fare": 1670,            "checked_at": "2026-11-05T23:08:49+05:30"          }        ]      }    ]  },  "details": {    "reason": "string",    "message": "string"  }}