---
title: "Times for a selected LINE at a stop (a board narrowed to one line)."
method: GET
path: "/v1/line-times"
tags: ["timetable"]
---

# Times for a selected LINE at a stop (a board narrowed to one line).

`GET /v1/line-times`

## Request

- Base URL: `https://pt-api.internal.example`
- URL: `https://pt-api.internal.example/v1/line-times`
- Auth: none declared

Identify the line with ONE of `trip_id` (from a board event), `route_id` (from a network-map line click), or `display_name` (+`feed_id`/`country`, best-effort). `stop` is the focus (cluster-aware); it defaults to the trip's first stop when only `trip_id` is given. Returns the line's runs on `date` (default today), split by direction; each run links into /v1/trip.

## Query parameters

- `stop` string
- `trip_id` string
- `route_id` string
- `display_name` string
- `feed_id` string
- `country` string
- `date` string
- `limit` integer

## Response `200`

The line's runs at the stop, direction-split.

- LineTimesResponse
  - `line` object, required
    - `route_id` string, nullable
    - `display_name` string, nullable
    - `mode` string, nullable
    - `operator` string, nullable
    - `feed_id` string, nullable
    - `country` string, nullable
  - `stop` object, required
    - `id` string, nullable
    - `name` string, nullable
    - `lat` number, nullable
    - `lon` number, nullable
  - `date` string, required: YYYY-MM-DD service date.
  - `directions` object[], required
    - `direction_id` integer, nullable
    - `headsign` string, nullable
    - `runs` object[]
      - `trip_id` string, nullable, required: Opaque; use in /v1/trip for the full stop-by-stop times.
      - `headsign` string, nullable
      - `stop_time` string, nullable: ISO8601 local-with-offset AT the focus stop.
      - `first_stop` object
        - `id` string, nullable
        - `name` string, nullable
      - `last_stop` object
        - `id` string, nullable
        - `name` string, nullable

## Other responses

- `400`: RFC 7807 problem.
- `404`: RFC 7807 problem.

---

[API](https://skmtc.dev/alltimetables/apis/european-journey-planner-api.md) · [All operations](https://skmtc.dev/alltimetables/apis/european-journey-planner-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alltimetables/apis/european-journey-planner-api/revisions/3216e9384a8b?raw)
