Public Transit API Developer's Guide

Station Search by Stop IDs

This section provides examples of Station Search by Stop IDs requests.

Request

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

https://cit.transit.api.here.com/search/by_stopids
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&stopIds=720390022,720390000,720390383

Response

The sample response in XML format is as follows:


    <Res serviceUrl="http://search.st.ext.pt.svc.ovi.com/t0k2/">
      <Stations>
      <Stn id="720390000" name="Mountain Line Transfer Center" x="-113.9956" y="46.873797" has_board="1" country="United States" ccode="USA" state="MT" postal="59802" district="Heart of Missoula" street="W Pine St" number="242" city="Missoula" />
      <Stn id="720390022" name="Arthur Ave & Beverly Ave" x="-113.98929" y="46.854005" has_board="1" country="United States" ccode="USA" state="MT" postal="59801" district="University District" street="Beverly Ave" number="545" city="Missoula" />
      <Stn id="720390383" name="E Broadway St at Cobblestone Subdivision" x="-113.95794" y="46.863465" has_board="1" country="United States" ccode="USA" state="MT" postal="59802" district="Heart of Missoula" street="Hankins Dr" number="1930" city="Missoula" />
      </Stations>
    </Res>      
      

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.