Public Transit API Developer's Guide

Transit Alerts

Transit Alerts are used for providing detailed information about possible public transit alerts or other announcements. The example below shows a transit alerts, and the following mandatory parameters are required in the request:

  • your authentication credentials, app_id and app_code (see Acquiring Credentials for more details)
  • and location coordinates.

The example below requests the information for transit alerts.

https://cit.transit.api.here.com/alerts/v1/nearby
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&x=13.3846396
&y=52.5523361

By default, the following information will be returned:

  • A maximum of 40 transit alerts. The number of transit alerts can be restricted by the max parameter in the request.
  • Each transit alert will contain the following details:
    • Origin of the alert (for example Twitter)
    • Name of the operator
    • Valid from date and time
    • Related lines if there are any
Note: The Alerts are sourced from transit agencies' API feeds and/or Twitter accounts (where available). If the alerts' origin is from Twitter, you are required to follow Twitter's general principles for presenting alerts correctly. We do not provide any data for Twitter's logos and links for Twitter's actions. The full guidance on the display requirements can be found on Twitter Display Requirements page.

You can further refine the transit alert results by submitting the requests with these optional parameters:

  • valid_on parameter specifies a date and time when the alert is valid from
  • prod parameter defines which transit types are to be included in the response. See Transit Modes for more details on how this parameter is used
  • filter parameter specifies what alerts will be returned: all alerts, alerts that were able to match with the transit data (default) or alerts that were fail to match with the transit data

For a complete set of these parameters see Transit Alerts.

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.