> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loqate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Type

> Additional information regarding the 'Type' query parameter in Capture Find and Retrieve

<Note>
  This information relates to the `Type` query parameter, which can be used when
  making a [Capture Find](/api-reference/address-capture/find) or [Capture
  Retrieve](/api-reference/address-capture/retrieve) API call.
</Note>

The `Type` query parameter is only applicable if you have the OS AddressBase Premium dataset enabled on your account and set on a specific license key.

## Use in Find

* When `Type` is set to 'address', typeahead will work as usual.

* When `Type` is set to 'uprn', the `text` query parameter is used to search records where the UPRN information matches from the OS AddressBase Premium and Geo+ datasets.

* When `Type` is set to 'parent\_uprn', the `text` query parameter is used to search records where the Parent UPRN information matches from the OS AddressBase Premium and Geo+ datasets.

* When `Type` is set to 'toid', the `text` query parameter is used to search records where the cross reference information matches values from the OS AddressBase Premium dataset.

## Use in Retrieve

* When `Type` is set to 'retrieveId', it will interpret the `id` field like normal. You can also send in multiple retrieve IDs, comma separated. This is so you can do a batch retrieve on multiple records at once. This feature is only enabled with the OS AddressBase Premium dataset being enabled on the account.

* When `Type` is set to 'uprn', the `id` query parameter is used to retrieve the full record(s) where the UPRN information matches from the OS AddressBase Premium dataset.

* When `Type` is set to 'parent\_uprn', the `id` query parameter is used to retrieve the full record(s) where the Parent UPRN information matches from the OS AddressBase Premium dataset.

* When `Type` is set to 'toid', the `id` query parameter is used to retrieve the full record(s) where the cross reference information matches values from the OS AddressBase Premium dataset.
