How to construct a request

A request to HERE Off-Street Parking API includes the basic elements shown in the following table and resource-specific parameters.

ElementValue/ExampleDescription
Base URLhttps://parking-v2.cc.api.here.comProduction environment
Path/parking/
Resource• facilities
• facilities/{id}
• facilities/bulk
All resources use GET.
Response format• .json
• .xml
Choose a format by adding its extension to the resource path. The default is XML.
Query parameters• prox
• bbox
• corridor
Available parameters depend on the resource.
AuthenticationAuthorization: Bearer <access-token>This guide uses an OAuth bearer token. See How to authorize with OAuth 2.0 for token setup.
Application Code - Legacy&app_code=Substitute your own unique app_code. Confirm with your HERE representative which authentication method applies to your API access; do not combine methods unless instructed.
Application Id - Legacy&app_id=Substitute your own unique app_id. Confirm with your HERE representative which authentication method applies to your API access; do not combine methods unless instructed.

The following example query uses the HTTP GET method to retrieve a list of parking facilities within 10km of a point in Berlin:

curl --get \
  --header "Authorization: Bearer <access-token>" \
  --data-urlencode "prox=52.516667,13.383333,10000" \
  "https://parking-v2.cc.api.here.com/parking/facilities.json"

Did this page help you?