---
title: "Identifies OA and Industry Classification associated with a given OAC or SIC"
method: GET
path: "/scrubber"
---

# Identifies OA and Industry Classification associated with a given OAC or SIC

`GET /scrubber`

## Request

- Base URL: `/v1` (relative, and the document’s source URL is not known)
- URL: `/v1/scrubber`
- Auth: none required

Returns information associated with those codes, like Name, Region Name/Code, OAC for areas and Name and SIC for industries.

## Query parameters

- `q` string, required

## Response `200`

OK

- ScrubberResp
  - `time` string: The timestamp of the response
  - `query` string: The query string that the search was made by
  - `results` Results
    - `areas` AreaResp[]: A list of areas related to the query
      - `name` string: The name of the area
      - `region` string: The region of the area
      - `region_code` string: The region code of the area
      - `codes` object: A map of codes associated with the area
    - `industries` IndustryResp[]: A list of industries related to the query
      - `code` string: The code for the industry
      - `name` string: The name of the industry

## Other responses

- `500`: Failed to process the request due to an internal error

---

[API](https://skmtc.dev/office-of-national-statistics/apis/search-scrubber-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/search-scrubber-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/search-scrubber-api/revisions/348f0b3d74c0?raw)
