Public Transit API Developer's Guide

At

At is an attribute within an list of attributes Each of these individual attributes contains an id and a value. The id specifies the type of information related to the value. AttributesIds combines the IdList token (for supported values, see and the IdFormat tokens. IdFormat supports the following format [a-z0-9A-Z\[\]_]+ and potentially allows for further ids provided in future releases apart fron the ids currently available through IdList. The example below demonstrates an AttributesIds list with various information about a line such as the line category, name of the operator or whether bikes are allowed on the train.

Information about a Line in a AttributesIds List of Attributes from an XML response

<Line name="Tram 12" code="8" dir="Mitte, Am Kupfergraben">
  <At id="category">Tram</At>
  <At id="operator">BVG</At>
  <At id="bikeAllowed">1</At>
  <At id="barrierFree">1</At>
  <At id="color">#CC0A22</At>
  <At id="textColor">#FFFFFF</At>
  <At id="iconShape">Rectangle</At>
</Line>

Information about a Line in a AttributesIds List of Attributes from a JSON response

"At": [
  {
    "@id": "category",
    "$": "U"
   },
  {
    "@id": "operator",
    "$": "BVG"
   },
  {
    "@id": "bikeAllowed",
    "$": "1"
   },
  {
    "@id": "barrierFree",
    "$": "1"
   },
  {
    "@id": "color",
    "$": "#7F3973"
   },
  {
    "@id": "textColor",
    "$": "#FFFFFF"
   },
  {
    "@id": "iconShape",
    "$": "Rectangle"
   }
Table 1. AtType Attributes
Attribute Always Included Type Description
id Yes AttributesIds Specifies the type of information as an id and the actual information as a value of that id.

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.