1.1 Geocode

Frozen Version

This reference documents version 1.1 (a frozen version) of the MapData Services Geocoding API. This release version of the API is a stable version of the API whose interfaces are "frozen" and guaranteed to remain as documented within these pages until this version is retired.

What is Geocode?

Geocode is a process by which an address is translated into a geographical coordinate. This service provides a way to does this via an HTTP request. The converse operation is also available, i.e. take a geographical coordinate and translate that into an address.


This service supports Basic Authentication.


Requests to the Geocode service can by made either by Address components, Coordinate or property ID.

By Address Parts


An Address Geocode request supports the following parameters:

  • subpremise / street - The subpremise / street portion of the address, e.g. SUITE 2 110 Pacific Highway.
  • locality - The locality portion of the address, e.g. Greenwich.
  • postcode - The postcode portion of the address, e.g. 2065.
  • region - The region portion of the address, e.g. NSW.
  • country - The country portion of the address, e.g. Australia.

By Coordinate


A Coordinate Geocode request supports the following parameters (in decimal degrees):

  • latitude - The latitude portion of the coordinate, e.g. -33.825071.
  • longitude - The longitude portion of the coordinate, e.g. 151.1904.

By Property Id


A Property Id Geocode request supports the following parameters:

  • Property Id - The property id of the property parcel e.g. GANSU705290690


The format of a Geocode response can be controlled by setting the accepts header. Currently the only supported type is XML.

XML Output

In this example an address geocode request is made for SUITE 2 110 Pacific Highway, Greenwich 2065 NSW, Australia.


The returned XML is shown below.

  <copyright>Copyright © 2019 MapData Services and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from MapData Services.</copyright>
        <formattedaddress>SUITE 2/110 Pacific Highway, Greenwich 2065 NSW, Australia</formattedaddress>
        <subpremise>SUITE 2</subpremise>
        <route>Pacific Highway</route>

Status Codes

The status field within the response describes the type of response. The status field will contain one of the following values:

  • OK indicates that no errors occured. The address or coordinate was successfully parsed and at least one geocode was returned.


The service response contains an array of result objects.

A typical result is made up of the following:

  • formattedaddress - The formatted address
  • subpremise - The unit / suite number.
  • streetnumber - The building number.
  • route - The name of the street.
  • locality - The locality.
  • postcode - The postcode.
  • region - The region.
  • country - The country.