Public Transit API Developer's Guide

Station Search by Station IDs

Use the resource stations/by_ids to request a list of stations matching the list of stnIds specified in the request. The response always includes the Ids in ascending order. If the API cannot find all of the stnIds specified in the request, it only includes the ones it has found. If the API cannot find any of the stnIds specified in the request then an appropriate error message will be included in the response.

.../v3/stations/by_ids.{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.

stnIds String Specifies a list of stnIds separated by comma. Each stnId must contain at least 6 characters and must not exceed a maximum of 1000 characters.
Table 2. Optional Parameters
Parameter Data Type Description
callbackFunc String Specifies an arbitrary string used to wrap the JSON object in the response.
callbackId String If you specify the parameter callbackId, specifies the first argument to the function specified by the callbackFunc.
details Integer Requests line information for every station. The possible values are:

1 (enabled), 0 (disabled)

The default value is 0.

lang String Specifies the language of the response. The value complies with the ISO 639-1 standard and defaults to en.

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.