# Get live running status (v1)

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.

- Platform: Indian Rail
- Request: `GET https://api.toolzerhub.com/v1/indianrail/train/live-status`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/indian-rail/train/get-indian-rail-live-status

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `train` | query | yes | string | A 5-digit train number such as 12951, the number followed by the name, or a train page link from RailYatri, ConfirmTkt, erail or ixigo. Find a number by name with Search trains. |
| `date` | query | no | string | The day the train left its first station, in India time, within 30 days of today. Defaults to today. A train that left yesterday evening is still running under yesterday's date. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/indianrail/train/live-status?train=<train>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
