Public Transit API Developer's Guide

Route Segment Update

To get an update on a particular segment of previously calculated transit route, the following mandatory parameters are required in the request:

  • your authentication credentials, app_id and app_code (see Acquiring Credentials for more details)
  • segment context
The example below requests update for a route segment basing on the prior Transit Route request.
Note: The ctx value can be expired. You can create a new Transit Route request to get the up-to-date values. See Transit Route for more information.
https://cit.transit.api.here.com/metarouter/rest/routeservice/v2/sectionupdate
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&ctx=(Context from one of 'Connections/Connection/Sections/Sec' elements in previous transit route response)

By default, the following information will be returned:

  • A single transit connection consisting of a single segment
  • Returned connection will include the following information:
    • Single transit segment containing departure/arrival times, duration and coordinates
    • Real-Time* information about delays or disruptions
  • An operator who runs the service included in the journey, including operator code, operator name and links to operator websites, if any.

* Limited geographic coverage

You can further refine the result by submitting the requests with these optional parameters:

  • details specifies if intermediate stops' information should be returned
  • graph boolean parameter will include an additional coordinate pairs representing the transit route of the journey, which can then be plotted over a map for visualization purposes

For a complete set of these parameters see Route Segment Update.

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.