How to construct a request
How to construct a Off-street Parking API request
A request to the Off-Street Parking API includes the basic elements shown in the following table and resource-specific parameters.
| Element | Value/Example | Description |
|---|---|---|
| Base URL | https://parking-v2.cc.api.here.com | Production environment |
| Path | /parking/ | |
| Resource | • facilities • facilities/{Id} • facilities/bulk | • Uses HTTP GET • Uses HTTP GET • Uses HTTP GET |
| Format specifier | • .xml • .json | We recommended you specify whether you expect XML or JSON output. The default output format is XML. |
| Parameters (examples) | • prox • bbox • corridor | |
| Bearer token | Authorization: Bearer {YOUR_TOKEN} | For more information on authentication, see the Identity and Access Management Developer Guide. |
| Application Code - Legacy | &app_code= | Substitute your own unique app_code |
| Application Id - Legacy | &app_id= | Substitute your own unique app_id |
The following example query uses the HTTP GET method to retrieve a list of parking facilities within 10km of a point in Berlin.
curl
https://parking-v2.cc.api.here.com/parking/facilities.json
?prox=52.516667,13.383333,10000
-H "Authorization: Bearer {YOUR_TOKEN}"
Updated last month