Public Transit API Developer's Guide

Constructing a Request

A request to the Public Transit API includes the basic elements shown in the following table and, in addition, it may contain resource-specific parameters.

Table 1. Basic request elements
Element Value/Example Description
Base URL
https://transit.api.here.com
https://cit.transit.api.here.com

Production environment

CIT environment: see HERE Server Environments

Path

Get There: Transit Routing

/metarouter/rest/routeservice/v2

Get There: Logo Brands

/branding/v1

Details: Next Nearby Departures

/metarouter/rest/boardservice/v2

Details: All Next Departures

/metarouter/rest/boardservice/v1/multiboard

Discovery: Station Search

/search

Discovery: Coverage Service

/coverage/v1

Discovery: Transit Isoline

/isochrone/v1

Discovery: Line Info

/lines/v1

Discovery: Transit Alerts

/alerts/v1
 
Resource

Get There: Transit Routing

route
mroute
sectionupdate

Get There: Logo Brands

logos

Details: Next Nearby Departures

stationboard

Details: All Next Departures

by_geocoord
by_stopids

Discovery: Station Search

by_geocoord
by_name
by_stopid

Discovery: Coverage Service

city
nearby
search

Discovery: Transit Isoline

search

Discovery: Line Info

by_stopid

Discovery: Transit Alerts

nearby
 
Format

Supported formats:

  • json
  • xml
If not specified in the request, for example https://transit.api.here.com/metarouter/rest/routeservice/v2/route?<parameter>=<value>..., the default response format is xml.
Application Id
&app_id={YOUR_APP_ID}
Substitute your own unique app_id
Application Code
&app_code={YOUR_APP_CODE}
Substitute your own unique app_code

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.