---
title: "Returns the canonical direction, \"inbound\" or \"outbound\", for a given pair of stop point Ids in the direction from -&gt; to."
method: GET
path: "/StopPoint/{id}/DirectionTo/{toStopPointId}"
tags: ["StopPoint"]
---

# Returns the canonical direction, "inbound" or "outbound", for a given pair of stop point Ids in the direction from -&gt; to.

`GET /StopPoint/{id}/DirectionTo/{toStopPointId}`

## Path parameters

- `id` string, required
- `toStopPointId` string, required

## Query parameters

- `lineId` string

## Response `200`

OK

- string

---

[API](https://skmtc.net/tfl/apis/transport-for-london-unified-api.md) · [All operations](https://skmtc.net/tfl/apis/transport-for-london-unified-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tfl/transport-for-london-unified-api/versions/266abe0486b0/schema)
