Geovisualization Developer's Guide

Retrieving Data with a Query

To fetch the resulting data from a query, you send a GET request with the query ID to the Geovisualization REST API. See Creating a Query for details on creating queries.

To fetch the query results from a query, make an authenticated GET request to the following resource where {QUERY_ID} is the unique identifier of your query:
http://datalens.api.here.com/v1/queries/{QUERY_ID}/data?app_id={YOUR_APP_ID}&app_code={YOUR_APP_CODE}. 

You will receive a response body that contains the query results as a JSON object.

To fetch the query results from a query, make an authenticated GET request to the following resource where {QUERY_ID} is the unique identifier of your query:
http://datalens.api.here.com/v1/queries/{QUERY_ID}/data?app_id={YOUR_APP_ID}&app_code={YOUR_APP_CODE}
You can also use the queries/_ID_ endpoint in the 07. Query CRUD folder of our Postman collection.

The response will be a JSON object containing the query result. It will look something like this:

{
  "kind": "datalens#query_result",
  "rows": [
  [
    1.9324894515,
    237,
    "ak"
  ],
  [
    1.629245283,
    212,
    "ci"
  ],
  [
    2.0321428571,
    28,
    "hv"
  ],
  ...
  ],
  "request_id": "eedf8af2-a8a1-4d2e-cd39-c63fbe0f78c3",
  "query": "6fad8374f8bc4470b1d71f802cc5537d",
  "columns": [
  "avg_magnitude",
  "count",
  "src"
  ],
  "dataset": "90af668484394fa782cc103409cafe39"
}

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.