# Tap water quality by postcode: test results near you

**Use case:** 

Every published tap water test result for the neighbourhood around a postcode, newest first: lead, nitrate, hardness, chlorine, iron, E. coli and more, each compared with the legal standard. Change the postcode to your own. Covers the areas of 15 water companies in England and Wales.

## Input

```json
{
  "output": "results",
  "parameters": [],
  "years": [
    "all"
  ],
  "postcodes": [
    "LS1 4AP"
  ],
  "localAuthorities": [],
  "lsoaCodes": [],
  "companies": [],
  "aboveStandardOnly": false,
  "detectedOnly": false,
  "dateFrom": "",
  "dateTo": "",
  "sortBy": "newest",
  "maxResults": 5000,
  "datasetTitleContains": []
}
```

## Output

```json
{
  "company": {
    "label": "Company"
  },
  "sampleDate": {
    "label": "Sample date"
  },
  "parameter": {
    "label": "Parameter"
  },
  "operator": {
    "label": "< or >"
  },
  "result": {
    "label": "Result",
    "format": "number"
  },
  "units": {
    "label": "Units"
  },
  "aboveStandard": {
    "label": "Above standard",
    "format": "boolean"
  },
  "percentOfStandard": {
    "label": "% of standard",
    "format": "number"
  },
  "standardLimit": {
    "label": "Standard",
    "format": "number"
  },
  "standardUnits": {
    "label": "Standard units"
  },
  "localAuthority": {
    "label": "Council"
  },
  "lsoaName": {
    "label": "Neighbourhood (LSOA)"
  },
  "region": {
    "label": "Region"
  },
  "sourceDataset": {
    "label": "Source dataset"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Tap Water Quality Data England & Wales: Lead, Nitrate, E. coli Actor is ready to run with the inputs already set for "Tap water quality by postcode: test results near you". [Sign up or log in](https://console.apify.com/create-task-from-example/AOO7g5hDj9jpW1PYw) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Tap water quality by postcode: test results near you" task

The Tap Water Quality Data England & Wales: Lead, Nitrate, E. coli Actor will start running based on the input automatically. You can also change all the input fields, like output, parameters, and more, to match your specific use case.

### 3. Receive the "Tap water quality by postcode: test results near you" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as company, sample date, parameter, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Tap water quality by postcode: test results near you" task via API](https://apify.com/thomasjacks/tap-water-quality-england-wales.md).

## FAQ

### How local are the tap water results for a postcode?

The postcode task returns results for the neighbourhood (LSOA, about 1,500 people) that the postcode is in. Companies do not publish addresses.

### Why does my postcode return no tap water results?

Either your water company does not publish on Stream (Thames Water and South East Water do not), or no sample was taken in your neighbourhood in the years chosen. Try a council name instead.

### Can I look up several postcodes at once?

Yes. Save the postcode task and add as many postcodes as you like.

### Is this a test of my own tap water?

No. The postcode task shows samples the water company took at properties in your neighbourhood. Only a laboratory test of your own tap shows what comes out of it.

## About this Actor

This example demonstrates how to use [Tap Water Quality Data England & Wales: Lead, Nitrate, E. coli](https://apify.com/thomasjacks/tap-water-quality-england-wales.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/thomasjacks/tap-water-quality-england-wales.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/thomasjacks/tap-water-quality-england-wales.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
