# Address by Geocode (Reverse Geocode) Demo

### Prerequisites

Before you begin you will need a Loqate Harmony Account.&#x20;

If you do not have Harmony API account you register a free trial.

{% embed url="<https://www.loqate.com/anz/register/>" %}

### Address by Geocode Demo

We recommend opening in Codepen (click top right 'Edit on Codepen') for the best experience.

<https://codepen.io/loqateanz/full/KKQRzoG>

See our guide on [how to use our demo's](/loqate-harmony-api/demos.md#how-to-use-our-demos). Further guides are below the Codepen.

### Demo Guide

Once you enter your credentials and click start. The demo will appear below.

Add Geopoints (lat,lon) and you will see suggestions by order of distance from input geopoint, click on a suggestion and the full response package.

#### **Common Options to change**

In Setting the Options button gives you all the API options that you set for different uses for this API.&#x20;

**Common settings**

***Radius:*** Sets the radius to find addresses from a geopoint.

***Source of Truth:*** AU & NZ offer selections of datasets to access.

***Hits:** Alters the amount of results our API returns on a Find request*

***State:** Filters results to a specific state or region in AU & NZ*

### Related API Specification

{% content-ref url="/pages/NjSnzxkY97PKcUdk71DB" %}
[Address by Geocode](/loqate-harmony-api/api-specification/address/address-by-geocode.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mastersoftgroup.com/loqate-harmony-api/demos/address-by-geocode-reverse-geocode-demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
