Public Transit API Developer's Guide

Search Cities

This section provides examples of Search Cities requests.


The code block below demonstrates the sample request, specifying that the response data are to be delivered in XML.


The sample response in XML format is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Res serviceUrl="">
<Coverage ref_time="2017-04-11T10:37:34">
<CityCount TT="184" SR="499" RT="2"/>
  <City name="Bergisch Gladbach" display_name="Bergisch Gladbach, Germany" x="7.13366" y="50.99168" state="" country="Germany" created="2017-04-11T09:57:59" updated="2017-04-11T09:57:59">
  <Cvg quality="0.29" lines="2" stops="12"/>
    <Op name="Deutsche Bahn" type="SR"/>
    <Op name="Kölner Verkehrsbetriebe" type="SR"/>

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