---
title: "Get the list of arrival predictions for given line ids based at the given stop"
method: GET
path: "/Line/{ids}/Arrivals/{stopPointId}"
tags: ["Line"]
---

# Get the list of arrival predictions for given line ids based at the given stop

`GET /Line/{ids}/Arrivals/{stopPointId}`

## Request

- Base URL: `https://api.tfl.gov.uk`
- URL: `https://api.tfl.gov.uk/Line/{ids}/Arrivals/{stopPointId}`
- Auth: none declared

## Path parameters

- `ids` string[], required
- `stopPointId` string, required

## Query parameters

- `direction` 'inbound' | 'outbound' | 'all'
- `destinationStationId` string

## Response `200`

OK

- TflApiPresentationEntitiesPrediction[]
  - `id` string: The identitier for the prediction
  - `operationType` integer: The type of the operation (1: is new or has been updated, 2: should be deleted from any client cache)
  - `vehicleId` string: The actual vehicle in transit (for train modes, the leading car of the rolling set)
  - `naptanId` string: Identifier for the prediction
  - `stationName` string: Station name
  - `lineId` string: Unique identifier for the Line
  - `lineName` string: Line Name
  - `platformName` string: Platform name (for bus, this is the stop letter)
  - `direction` string: Direction (unified to inbound/outbound)
  - `bearing` string: Bearing (between 0 to 359)
  - `tripId` string: TripId is used to assemble the primary key
  - `baseVersion` string: Data base version
  - `destinationNaptanId` string: Naptan Identifier for the prediction's destination
  - `destinationName` string: Name of the destination
  - `timestamp` string, date-time: Timestamp for when the prediction was inserted/modified (source column drives what objects are broadcast on each iteration)
  - `timeToStation` integer: Prediction of the Time to station in seconds
  - `currentLocation` string: The current location of the vehicle.
  - `towards` string: Routing information or other descriptive text about the path of the vehicle towards the destination
  - `expectedArrival` string, date-time: The expected arrival time of the vehicle at the stop/station
  - `timeToLive` string, date-time: The expiry time for the prediction
  - `modeName` string: The mode name of the station/line the prediction relates to
  - `timing` TflApiPresentationEntitiesPredictionTiming
    - `countdownServerAdjustment` string
    - `source` string, date-time
    - `insert` string, date-time
    - `read` string, date-time
    - `sent` string, date-time
    - `received` string, date-time

---

[API](https://skmtc.dev/tfl/apis/transport-for-london-unified-api.md) - [All operations](https://skmtc.dev/tfl/apis/transport-for-london-unified-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tfl/apis/transport-for-london-unified-api/revisions/266abe0486b0?raw)
