Public Transit API Developer's Guide

Reachability of an Area within a Specifed Duration

User Story

The user wants to retrieve a list of transit stations that are located 20 minutes away from the Sydney Opera House (-33.857023, 151.215098) at 8.15 a.m.

Note: This service is subject to Terms and Conditions as described in Supplier Terms for Developers Using HERE Location Platform APIs. To request access, contact us.

Request

The query parameter center specifies the location of the search. The time parameter is specified in ISO 8601 format, 2017-12-11T08:15:00. The maximum duration of the journey maxDur 20, specified in minutes.

https://cit.transit.api.here.com/v3/isochrone.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&center=-33.857023,151.215098
&maxDur=20
&time=2017-12-11T08%3A15%3A00

Response

The response to the request contains the following information blocks:
  • a list of destinations
  • each station element includes the following information:
    • duration from the location of the search
    • station ID
    • name of the station
    • geocoordinates of the station
{
  "Res": {
    "serviceUrl": "http://ip-10-124-93-102.eu-west-1.com:8080/hafasproxy/G1A",
    "Isochrone": {
      "time": "2017-04-11",
      "timespan": 0,
      "max_dur": "PT30M",
      "max_change": 3,
      "x": 151.21510314941406,
      "y": -33.85702133178711,
      "IsoDest": [
        {
          "duration": "PT14M",
          "Stn": [
            {
              "id": "224000001#107",
              "name": "Circular Quay, Alfred St, Stand B",
              "x": 151.21192,
              "y": -33.8616
            }
          ]
        },
        {
          "duration": "PT30M",
          "Stn": [
            {
              "id": "224000011#107",
              "name": "Rose Bay Wharf",
              "x": 151.262142,
              "y": -33.870643
            }
          ]
        },
        {
          "duration": "PT30M",
          "Stn": [
            {
              "id": "224000858#107",
              "name": "Hickson Rd Opp Roslyn Packer Theatre",
              "x": 151.204593,
              "y": -33.856908
            }
          ]
        },
        {
          "duration": "PT20M",
          "Stn": [
            {
              "id": "224000866#107",
              "name": "Wynyard Station, York St, Stand J",
              "x": 151.205843,
              "y": -33.8664
            }
          ]
        },
        {
          "duration": "PT30M",
          "Stn": [
            {
              "id": "224000872#107",
              "name": "Central Station, Eddy Av, Stand A",
              "x": 151.207416,
              "y": -33.882482
            }
          ]
        },
        {
          "duration": "PT22M",
          "Stn": [
            {
              "id": "224000877#107",
              "name": "St James Station, Elizabeth St",
              "x": 151.210167,
              "y": -33.872073
            }
          ]
        },

        ... more lines ...

        {
          "duration": "PT30M",
          "Stn": [
            {
              "id": "224042744#107",
              "name": "Alfred St Near Olympic Dr",
              "x": 151.21156,
              "y": -33.850058
            }
          ]
        },
        {
          "duration": "PT28M",
          "Stn": [
            {
              "id": "224043714#107",
              "name": "Central Station, Chalmers St, Stand G",
              "x": 151.206715,
              "y": -33.886257
            }
          ]
        }
      ]
    }
  }
}

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.