Public Transit API Developer's Guide

Next Nearby Departures

Use the board resource to request the next nearby departures at a location/station.

This section provides information on the resources and request parameters for the next nearby departures functionality.

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

stnId String Specifies a station id for the request.

Remember to url encode the '#' with %23

time DateTime Specifies the time in ISO 8601 (for example, 2017-12-25T01:23:45) format.
Table 2. Optional Parameters
Parameter Data Type Description
callbackFunc String Specifies an arbitrary string used to wrap the JSON object in the response.
callbackId Integer If you specify the parameter callbackId, specifies the first argument to the function specified by the callbackFunc.
lang String Specifies the language of the response. The value complies with the ISO 639-1 standard and defaults to en.
modes String

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

max Integer Specifies the maximum number of next departures the response should include.
strict Integer Specifies which station departures the response should include. Specify strict=1 to only include departures from the given station id.

Default behaviour is that a request to a stop causes the response to contain equivalent stops.

rt Integer Specifies if the real time information will be included in the response. The possible values are:
  • 0 – do not include real time information
  • 1 – include real time information
The default is 0.

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.