-
-
Platform Overview Platform Overview
High-precision data and advanced tooling in one place
-
Maps & Data Maps & Data
Build high-quality maps using fresh location data
Maps & Data-
Map Data Map Data
Create fresh, accurate maps and layer global information
-
Dynamic Map Content Dynamic Map Content
Explore industry-leading map content
-
Maps for ADAS & HAD Maps for ADAS & HAD
Help vehicles see beyond sensors with location data sources
-
-
Services Services
Browse our extensive range of services and APIs
Services-
Routing Routing
Make journey planning easier with our routing portfolio
-
Geocoding & Search Geocoding & Search
Translate addresses into accurate geocoordinates
-
Map Rendering Map Rendering
Highly customizable graphics and real-time map data
-
Positioning Positioning
Pinpoint devices and assets locations with precision
-
-
Tools Tools
Build solutions with our flexible developer tools and applications
Tools-
HERE Studio HERE Studio
Visualize, style and edit location data
-
HERE Workspace HERE Workspace
Create location-centric products and services in one space
-
HERE Marketplace HERE Marketplace
Source, buy, sell and trade location assets
-
HERE SDK HERE SDK
Build advanced location-enabled applications
-
HERE Live Sense SDK HERE Live Sense SDK
Enhance driver awareness by using AI
-
HERE Anonymizer HERE Anonymizer
Maximize location data while supporting regulatory compliance
-
-
Capabilities Capabilities
Everything you need for your location-related use case
Capabilities-
Visualize Data Visualize Data
Identify complex trends and patterns
-
Generate Insights Generate Insights
Transform location data into compelling stories
-
Build Applications Build Applications
Create feature-rich products designed for business
-
Develop Services Develop Services
Produce tailored service experiences
-
Make Maps Make Maps
Create and use custom digital maps
-
-
-
-
By Market By MarketBy Market
-
Automated Driving Automated Driving
-
Connected Driving Connected Driving
-
Fleet Management Fleet Management
-
Supply Chain Supply Chain
-
Urban Mobility Urban Mobility
-
Infrastructure Planning Infrastructure Planning
-
Public Safety Public Safety
-
-
By Applications By ApplicationsBy Applications
-
HERE Last Mile HERE Last Mile
Optimize your last mile deliveries
-
HERE Asset Tracking HERE Asset Tracking
Track assets in real-time with our end-to-end solution
-
HERE Navigation HERE Navigation
Use our off-the shelf navigation system
-
HERE WeGo HERE WeGo
Enjoy your journey with our new navigation app
-
-
-
-
Partner with HERE Partner with HERE
-
Partner Network Partner Network
-
-
Pricing Pricing
-
-
Documentation Documentation
-
Tutorials Tutorials
-
Code Examples Code Examples
-
Knowledge Base Knowledge Base
-
Developer Blog Developer Blog
-
-
-
About us About us
-
Events Events
-
News News
-
Press Releases Press Releases
-
Careers Careers
-
Sustainability Sustainability
-
Leadership Leadership
-
Investors Investors
-
HERE360 Blog HERE360 Blog
-
HERE with Postman

RESTful APIs or REST APIs are one of the easiest ways to communicate with services to build your application. HERE provides developers with over 20 APIs through a freemium account. These APIs are available as REST APIs along with their JS wrappers. What is amazing about REST APIs is the fact that they are independent of platforms, frameworks and languages. So you can call them in many different ways. Moreover there are several tools available to test out the responses of REST APIs. One such tool is Postman.
Postman is not merely a way to test REST APIs, but you can do a lot with it. You can also use it to build your own APIs and write documentation around it. Today I am going to talk about tips and tricks to call HERE REST APIs efficiently with Postman. First, let's create a simple request with my favorite Geocoding and Search API.
Creating a request
If you take a look at the structure of the Postman window, there are several components to make a REST call. To make a simple call, we are going to look at the three main ones:- Request type, Request URL and Response. Now if you go to the Construct a Request section of the Geocoding and Search API, you will notice that the API call has the same structure. By following the documentation, we select GET
as our request type. The next important thing is the request URL
. In this case, it will be https://geocode.search.hereapi.com/v1/geocode
as we want to make a simple geocoding request. This is followed by parameters to make this call. The minimum required parameter to make a geocoding request is the free form text query q
for what you want to get the location for. So lets add that to our URL.
The URL should look like https://geocode.search.hereapi.com/v1/geocode?q=Brandenburg gate, Berlin
. The most important parameter to make any HERE API call is authentication. For this request, I will use the REST API Key from the projects page of my freemium developer account with HERE. On adding my API Key, my URL now looks like https://geocode.search.hereapi.com/v1/geocode?q=Brandenburg gate, Berlin&apiKey={MY_REST_API_KEY}
. Now copy this into the request URL
bar of the Postman window and click on Send. You will see the response of this API in the Response
section.
Parameters
In the previous step, the parameters that we added to the URL after the main API resource are reflected in the params
section of the Postman window. So instead of creating the request URL with all the parameters and then entering it, you can simply add the base URL of the API and then keep adding the parameters in the params
section with their respective values. You can also disable or enable a parameter by toggling the check-box next to it. With the Geocoding and Search request above, I am going to add the parameter limit
as I want just one result in the response.
Environments
You might have already noticed that you can't see my API Key in the screen grabs above. This is because I have saved them in the Postman Environment. Environments in Postman let you store your API keys or other authentication keys so you don't have to enter them every time you create a request. This is also super handy when you are using APIs from different companies and platforms. You can then have several environments for each of the API platforms.
Collections
After creating several requests for several different API endpoints, you may want to use them in the future. I may want to search the location of the fernsehturm this time and I don't want to construct the whole request from scratch. With Postman you can save your requests and group them as Collections. So I can save the requests for all the endpoints of the Geocoding and Search API, namely: Geocoding, Reverse geocoding, Discover, Autosuggest, Browse and Lookup in a collection called HERE Geocoding and Search and reference it whenever I want to test any of the endpoints. You can also share these collections and import other collections into your window.
Bonus- Creating Bearer Tokens
In the above examples, I have used an API Key to authenticate my call to the Geoocoding and Search API. HERE also provides authentication with OAuth 2.0 tokens. You can generate these bearer tokens with Postman. Head over to this tutorial to check out how. Have fun creating your HERE API Collections on Postman!
Have your say
Sign up for our newsletter
Why sign up:
- Latest offers and discounts
- Tailored content delivered weekly
- Exclusive events
- One click to unsubscribe