> For the complete documentation index, see [llms.txt](https://ieg4.gitbook.io/edesigner-new/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ieg4.gitbook.io/edesigner-new/no-code-integrations/address-look-ups/ordnance-survey.md).

# Ordnance Survey

In early 2021, Councils became able to use the Ordnance Survey APIs to search for addresses at no cost.&#x20;

These APIs are documented here:

{% embed url="<https://osdatahub.os.uk/docs/places/overview>" %}
OS Data Hub
{% endembed %}

Reflective of this, IEG4 has created a no code address look up function that is fully integrated to these APIs and this enables non-technical staff to add an address look up to all of their forms.&#x20;

To add the address look up it's as easy as adding a section and selecting the address selection per below:

### Address Section

The ability to place an address search into forms that is able to search the entirety of the UK.&#x20;

![](https://2446085776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Xv5e5CMqZNlA8r5Exkm%2Fuploads%2FRUDXfTfWgzpwCCbR1NPO%2FScreenshot%202021-12-09%20at%2016.16.05.png?alt=media\&token=1cfc462f-1d98-4b49-b60c-c44dc2e86d0c)

The default option, now that it is free to councils is 'Ordnance Survey'.&#x20;

Simply click to save and you've set up an address section, which is capable of integrating with the Ordnance Survey.

{% hint style="info" %}

### May 2026 Update

From version 2.20 additional configuration has now been added to allow Ordnance Survey address look up Sections to be marked as Read only and Mandatory.  When you tick to mark an address look up as Read only you are also then able to select Mandatory address look up.

{% endhint %}

<figure><img src="https://2446085776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Xv5e5CMqZNlA8r5Exkm%2Fuploads%2FVeXAXhRa8cgmqpc0ebQj%2FScreenshot%20address%20look%20up%20readonly.png?alt=media&amp;token=b985e4b3-6833-4831-be47-8e4b0c286049" alt=""><figcaption></figcaption></figure>

### Filtered address look ups

Different address lookup providers can be configured using Ordnance Survey to support council specific and global address filters.  In the example above an address provider called Ordnance Survey - Charnwood Only has been configured to filter addresses within Charnwood Borough Council only.  This is achieved using the Council filter provided as part of the OS Places data set.

### Address Lookup Style

There is a setting that controls the style of the address look up. The setting is:

**CustomAddressProviders**

The two modes available are:

* **TypeAheadSearch** (this is the default) - set the value within the setting config to "Style":0 i.e. \[ { "Enabled":true, "Name":"Ordnance Survey", "Type":"API KEY", "Style":0 } ]

If this option is enabled, as the user types in an address or postcode, it will instantly start searching for addresses.&#x20;

![Type Ahead Address Search](https://2446085776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Xv5e5CMqZNlA8r5Exkm%2Fuploads%2FVLEWnytjBzkOmEcxB9iW%2FScreenshot%202021-12-10%20at%2011.53.48.png?alt=media\&token=f32e9ce1-c53f-415f-836a-06f30f86d8b9)

This provides a smart way of dynamically getting the results as the user enters their address.

{% hint style="info" %}
The speed of the API can mean that sometimes it takes a while for the results to refresh and so if you find this, we'd suggest using the 'Postcode' method.
{% endhint %}

* **Postcode** set the value in the setting config to "Style":1

If this option is selected the customer needs to enter a postcode and then physically click a search button.&#x20;

{% hint style="success" %}
We'd recommend using this method.
{% endhint %}

![Postcode style Address Search](https://2446085776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Xv5e5CMqZNlA8r5Exkm%2Fuploads%2F3m1wOtuUyy6nkEmvISnA%2FScreenshot%202021-12-10%20at%2011.59.57.png?alt=media\&token=ffd122b9-8e22-4420-bf27-7260d64a7e09)

### Prerequisite

In order that this can be set up by the IEG4 team, we need to have the council's API key for this. This is free to councils now and simply needs you to create an account per below:

{% hint style="info" %}
**If you are a Public Sector Geospatial Agreement (PSGA) member you can access and use the OS Places API (excluding Match & Cleanse) for free via the OS DataHub. Register for an account or login at** [**www.osdatahub.os.uk**](https://osdatahub.os.uk/)
{% endhint %}

\
.Once you have this simply provide the details to IEG4 support:

{% embed url="<https://help.ieg4.com>" %}

{% hint style="info" %}
The address look up type used in a form is determined by the predominant form Setting **AddressLookupType** - if the form does not have this Setting it will use whatever the Global Setting is set to use.  If the form has its own AddressLookupType Setting it will use this.  The form will use the AddressLookupType regardless of which option has been selected in eDesigner Design mode.
{% endhint %}
