Skip to content

LookupResult

The facts that a lookup returned for one postcode.

readonly administrativeAddress: AdministrativeAddress | null

The names of the places that hold the postcode, from level 2, or null.


readonly buildingUseStatus: string | null

What the building is used for, from level 3, or null.


readonly levelReceived: LookupLevel

The lookup level of the data in the response, which the client reads from its fields.


readonly levelRequested: LookupLevel

The lookup level that the caller asked for.


readonly postcode: Postcode

The postcode that the caller asked for, as the core parsed it.


readonly recentHouseAddress: string | null

The most recent house address at the postcode, from level 2, or null.


readonly status: string | null

The gateway’s verdict as text, such as a LookupStatus, or null when it sent none.


readonly valid: boolean

True when the gateway knows the postcode.

Unofficial. Not made or endorsed by NIPOST.