Public Transit API Developer's Guide

Line Info

The goal of the Line Info service is to provide information about transit lines going through a certain station.

.../lines/v1/by_stopid.{format}?<parameter>=<value>...
      
Table 1. Mandatory Parameters
Parameter Data Type Description
app_id String

A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
You must include an app_id and app_code with every request. To get an app_code assigned to you, please see Acquiring Credentials.

app_code String

A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application.
You must include an app_id and app_code with every request. To get an app_code assigned to you, please see Acquiring Credentials.

stop_id String Specifies station id where the lines are located.
Table 2. Optional Parameters
Parameter Data Type Description
max Integer

Specifies the maximum number of unique lines the response should include.

Minimum = 1, maximum = 20

The default is 10 lines.

prod Integer

Specifies the transit type filter used to determine which types of transit to include in the response.
The default is 1111111111111111, meaning all supported transit types are permitted.
See Transit Modes page for more information.
            

graph Integer Requests coordinate pairs to allow the drawing of a polyline for the route. The possible values are:

1 (enabled), 0 (disabled)

The default is 0.

name String Specifies the line name to search.
strict Integer Specifies which station's line info the response should include.

Specify strict=1 to include only line info from the given station id and strict=0 to include line info from the station group.

The default is 1.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.