Geocoder API Developer's Guide

Location for an Address in an Area

The user wants to retrieve the latitude, longitude and complete address details of 1 Main St, Cambridge, MA within a specific viewport.


The following GET request uses the parameter searchtext to specify the encoded value of the free-form address and the parameter mapview to define the area in which to search.


The response to the request contains the following information blocks:
  • metadata about the request
  • information about each address that matches the address information in the mapview, including
    • match quality
    • location information
    • address information
{"Response": {
  "MetaInfo": {
    "Timestamp": "2016-11-09T11:27:32.535+0000",
    "NextPageInformation": "2"
  "View": [{
    "_type": "SearchResultsViewType",
    "ViewId": 0,
    "Result": [
        "Relevance": 1,
        "Distance": 389.4,
        "MatchLevel": "houseNumber",
        "MatchQuality": {
          "Street": [0.85],
          "HouseNumber": 1
        "MatchType": "pointAddress",
        "Location": {
          "LocationId": "NT_4q1.GYkK3gozFkHjEoFG-A_xA",
          "LocationType": "point",
          "DisplayPosition": {
            "Latitude": 42.36225,
            "Longitude": -71.0803
          "NavigationPosition": [{
            "Latitude": 42.36195,
            "Longitude": -71.0801
          "MapView": {
            "TopLeft": {
              "Latitude": 42.3633742,
              "Longitude": -71.0818214
            "BottomRight": {
              "Latitude": 42.3611258,
              "Longitude": -71.0787786
          "Address": {
            "Label": "1 Main St, Cambridge, MA 02142, United States",
            "Country": "USA",
            "State": "MA",
            "County": "Middlesex",
            "City": "Cambridge",
            "District": "East Cambridge",
            "Street": "Main St",
            "HouseNumber": "1",
            "PostalCode": "02142",
            "AdditionalData": [
                "value": "United States",
                "key": "CountryName"
                "value": "Massachusetts",
                "key": "StateName"
                "value": "Middlesex",
                "key": "CountyName"
                "value": "N",
                "key": "PostalCodeType"
     // Additional objects removed for readability


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