Public Transit API Developer's Guide

Nearby Stations by Geocoord

Use the resource stations/by_geocoord to request a list of stops/stations based on a set of geocoordinates.

.../v3/stations/by_geocoord.{format}?<parameter>=<value>...
  
Table 1. Mandatory Parameters
Parameter Data Type Description
app_id String

Typically, but not guaranteed to be, 20
     bytes Base64 URL-safe encoded string used for the authentication of
     the client application. If you use the app ID/app code option, you
     need to include an app_id and
     app_code with every request. For further
     details, see Acquiring Credentials.

app_code String

Typically, but not guaranteed to be, 20
     bytes Base64 URL-safe encoded string used for the authentication of
     the client application. If you use the app ID/app code option, you
     need to include an app_id and
     app_code with every request. For further
     details, see Acquiring Credentials.

apiKey String

A 43-byte Base64 URL-safe encoded string used for the authentication of the client
     application. As a logged in user, you can generate it at
     https://developer.here.com/projects.
     API Keys never expire but you can invalidate your API Keys at any time. You cannot have more
     than two API Keys for one app at the same time. You must include an apiKey with every request. For further details, see Acquiring Credentials.

center Double,Double Specifies the latitude and the longitude of the center point of your search separated by a comma. Where the latitude is in WGS 84-compliant degrees between -90 and 90 and the longitude in WGS 84-compliant degrees between -180 and 180.
Table 2. Optional Parameters
Parameter Data Type Description
callbackFunc String Specifies an arbitrary string used to wrap the JSON object in the response.
callbackId String If you specify the parameter callbackId, specifies the first argument to the function specified by the callbackFunc.
details Integer Requests line information for every station. The possible values are:

1 (enabled), 0 (disabled)

The default value is 1.

max Integer Specifies the maximum number of stations/stops included in the response.

The default value is 5. The minimum value is 1 and the maximum value is 50.

radius Integer Specifies a radius in meters when combined with a center point defines the area of the search.

The default value is 500m. The minimum value is 0 and the maximum value is not limited.