Get Started
Get started with the HERE GNSS Data API v2
This section outlines how to quickly get started using the HERE GNSS Data API on the HERE platform.
Note
This section provides information on the minimum setup required to quickly begin using the HERE GNSS Data API. For more detailed information on HERE account setup, service linking, app registration, and authentication, see the Identity and Access Management Guide.
Get a HERE account
Obtain access to the HERE platform through your organization administrator's invitation or contact us to get started.
- If your company has already established a HERE platform organization, contact your organization admin who can invite you to join the organization.
- If your company hasn't established a HERE platform organization yet, contact us to get started.
Get an API key
To get an API key:
- Sign in to the HERE platform using your HERE account.
- Select the Access Manager from the launcher.
- Select the Apps tab and click Register new app.
- Enter a name for the app.
- Optional: Enter a description for the app.
- Click Register. The HERE platform creates a new app with a unique app ID.
- On the Credentials tab, select API Keys and then click Create API key to generate a maximum of two API Keys for your application authentication credentials. The API key is created and displayed.
Note
The HERE GNSS Data API is not included in the HERE Base Plan. Contact us to activate your app for free trials and for pricing information.
Send a request
To request real-time A-GNSS data for one or more GNSS systems, send an HTTP GET request to the /assistance endpoint.
The following example requests GPS assistance data using an API key:
GET /v2/assistance?gnss=gps&apiKey={YOUR_API_KEY} HTTP/1.1
Host: gnss.hereapi.com
You can also authenticate with a bearer token:
GET /v2/assistance?gnss=gps HTTP/1.1
Host: gnss.hereapi.com
Authorization: Bearer {YOUR_BEARER_TOKEN}
The response is a multipart/mixed message containing one binary part per requested GNSS system.
Each part includes:
- A
Content-Type: application/octet-streamheader. - An
X-Constellationheader indicating the GNSS system (for example,gps). - A binary LPP message encoded using ASN.1 Unaligned Packed Encoding Rules (UPER).
To request data for multiple GNSS systems, separate the values with commas:
GET /v2/assistance?gnss=gps,glo&apiKey={YOUR_API_KEY} HTTP/1.1
Host: gnss.hereapi.com
If you omit the gnss parameter, data for all supported GNSS systems is returned.
For more information on the response format, see Understanding the response.
Next steps
- Read GNSS assistance data to understand what A-GNSS data is and how it helps GNSS receivers.
- See Assistance data request for a detailed description of all request parameters.
- See Device integration best practices for guidance on integrating the API into your device.
Updated 5 hours ago