# Planning constraints for Bath, York and Midhurst

**Use case:** 

Conservation area, listed building, Article 4, TPO and flood-zone checks for BA1 1LZ (Bath), a York city-centre point, and GU29 0BP (near Midhurst / South Downs).

## Input

```json
{
  "locations": [
    "BA1 1LZ",
    "53.9580,-1.0790",
    "GU29 0BP"
  ],
  "listedBuildingRadius": 50,
  "includeExtraDesignations": true,
  "includeEndedDesignations": false,
  "maxLocations": 1000
}
```

## Output

```json
{
  "input": {
    "label": "Location",
    "format": "string"
  },
  "label": {
    "label": "Label"
  },
  "postcode": {
    "label": "Postcode"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "summary": {
    "label": "Summary",
    "format": "string"
  },
  "localAuthority": {
    "label": "Council"
  },
  "inConservationArea": {
    "label": "Conservation area",
    "format": "boolean"
  },
  "conservationAreaNames": {
    "label": "Conservation area name"
  },
  "conservationAreaCoverage": {
    "label": "CA data"
  },
  "inListedBuilding": {
    "label": "Listed building at point",
    "format": "boolean"
  },
  "listedBuildingNames": {
    "label": "Listed building"
  },
  "listedBuildingsWithinRadius": {
    "label": "Listed nearby",
    "format": "number"
  },
  "nearestListedBuildingMetres": {
    "label": "Nearest listed (m)",
    "format": "number"
  },
  "inArticle4": {
    "label": "Article 4",
    "format": "boolean"
  },
  "article4Names": {
    "label": "Article 4 name"
  },
  "article4Coverage": {
    "label": "A4 data"
  },
  "inTreePreservation": {
    "label": "TPO area",
    "format": "boolean"
  },
  "treePreservationCoverage": {
    "label": "TPO data"
  },
  "protectedTreesWithinRadius": {
    "label": "Protected trees nearby",
    "format": "number"
  },
  "floodZone": {
    "label": "Flood zone",
    "format": "string"
  },
  "floodSources": {
    "label": "Flood source"
  },
  "floodZone3WithinMetres": {
    "label": "FZ3 within (m)",
    "format": "number"
  },
  "floodZone2WithinMetres": {
    "label": "FZ2 within (m)",
    "format": "number"
  },
  "floodZoneSource": {
    "label": "Flood data source"
  },
  "inGreenBelt": {
    "label": "Green belt",
    "format": "boolean"
  },
  "inNationalPark": {
    "label": "National park",
    "format": "boolean"
  },
  "nationalParkNames": {
    "label": "National park names"
  },
  "inNationalLandscape": {
    "label": "National Landscape",
    "format": "boolean"
  },
  "nationalLandscapeNames": {
    "label": "National landscape names"
  },
  "inSssi": {
    "label": "SSSI",
    "format": "boolean"
  },
  "inScheduledMonument": {
    "label": "Scheduled monument",
    "format": "boolean"
  },
  "inWorldHeritageSite": {
    "label": "World Heritage Site",
    "format": "boolean"
  },
  "inWorldHeritageBufferZone": {
    "label": "In world heritage buffer zone"
  },
  "inRegisteredParkAndGarden": {
    "label": "In registered park and garden"
  },
  "constraintCount": {
    "label": "Constraint count"
  },
  "planningDataMapUrl": {
    "label": "Map",
    "format": "link"
  },
  "latitude": {
    "label": "Latitude"
  },
  "longitude": {
    "label": "Longitude"
  },
  "locationSource": {
    "label": "Location source"
  }
}
```

## How it works

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

The UK Planning Constraints: Conservation Area, Listed, Article 4 Actor is ready to run with the inputs already set for "Planning constraints for Bath, York and Midhurst". [Sign up or log in](https://console.apify.com/create-task-from-example/Z5tffcqM8JIA0wC8j) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Planning constraints for Bath, York and Midhurst" task

The UK Planning Constraints: Conservation Area, Listed, Article 4 Actor will start running based on the input automatically. You can also change all the input fields, like locations (postcodes or latitude,longitude), nearby listed buildings and protected trees radius (metres), and more, to match your specific use case.

### 3. Receive the "Planning constraints for Bath, York and Midhurst" 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 location, label, postcode, 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 "Planning constraints for Bath, York and Midhurst" task via API](https://apify.com/ukdatakit/uk-planning-constraints.md).

## About this Actor

This example demonstrates how to use [UK Planning Constraints: Conservation Area, Listed, Article 4](https://apify.com/ukdatakit/uk-planning-constraints.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ukdatakit/uk-planning-constraints.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/ukdatakit/uk-planning-constraints.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`).
