# UK Planning Applications Scraper (`oski/uk-planning-applications-scraper`) Actor

Find new UK planning applications by postcode, council or map area: address, type, status, dates, coordinates, and the trades each job implies. 400+ councils, updated daily.

- **URL**: https://apify.com/oski/uk-planning-applications-scraper.md
- **Developed by:** [Oski](https://apify.com/oski) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## UK Planning Applications Scraper

Search new UK planning applications by **postcode radius**, **council**, or **map area**, and get clean structured data: address, description, type, status, dates, coordinates, agent, the council record link, and the **trades each job implies** (extension, loft, driveway, solar, and more).

Covers 400+ UK planning authorities, refreshed daily.

### What you can do

- **By postcode**: give `WD17 1AB` and a radius, get everything nearby.
- **By council**: give `Watford` or `Southwark`, get the whole authority.
- **By map area**: give a bounding box.
- **Filter** by trade, keyword, application type (Full, Outline, Trees, Advertising...), size (Small/Medium/Large), and received-date window.

### Input

```json
{
  "postcodes": ["M1 1AE"],
  "radiusKm": 2,
  "daysBack": 30,
  "trades": ["extension/building", "loft/roofing"]
}
````

| Field | What it does |
|---|---|
| `postcodes` + `radiusKm` | Search around postcodes (geocoded via postcodes.io). |
| `authorities` | Whole councils by name. |
| `bbox` | Map areas as `lng_min,lat_min,lng_max,lat_max`. |
| `daysBack` or `dateFrom`/`dateTo` | Received-date window (default last 30 days). |
| `trades` | Filter to implied trades. |
| `keywords`, `appTypes`, `appSizes` | Extra filters. |
| `maxResults` | Cap on rows. You pay only for rows returned. |

### Output

```json
{
  "reference": "26/AP/1958",
  "council": "Southwark",
  "address": "38 Winterbrook Road London SE24 9JA",
  "postcode": "SE24 9JA",
  "description": "Demolition of the existing rear extension and erection of a single-storey wraparound rear extension...",
  "app_type": "Full",
  "app_size": "Small",
  "status": "Undecided",
  "trades": ["extension/building"],
  "received_date": "2026-07-07",
  "agent": "...",
  "latitude": 51.451477,
  "longitude": -0.097187,
  "council_url": "https://planning.southwark.gov.uk/online-applications/...",
  "source": "planit.org.uk"
}
```

### Pricing

Pay per event: a small charge to start, then per application returned.

### Notes

- Application data is aggregated by **PlanIt (planit.org.uk)**, which covers 400+ UK planning authorities and refreshes daily. Postcodes are geocoded via **postcodes.io**.
- A radius search around ultra-dense central-London postcodes can be slow; searching by council is faster and usually what you want anyway.

# Actor input Schema

## `postcodes` (type: `array`):

UK postcodes to search around, e.g. WD17 1AB. Combine with Radius. Each is geocoded via postcodes.io.

## `radiusKm` (type: `integer`):

Search radius around each postcode, in kilometres.

## `authorities` (type: `array`):

Search whole planning authorities by name, e.g. Watford, Southwark, Birmingham.

## `bbox` (type: `array`):

Bounding boxes as lng\_min,lat\_min,lng\_max,lat\_max.

## `daysBack` (type: `integer`):

How many days of recent applications to fetch (by received date). Ignored if a date range is set.

## `dateFrom` (type: `string`):

Start of received-date window (YYYY-MM-DD). Overrides Days back.

## `dateTo` (type: `string`):

End of received-date window (YYYY-MM-DD).

## `trades` (type: `array`):

Only return applications implying these trades.

## `keywords` (type: `array`):

Only return applications whose description contains one of these words.

## `appTypes` (type: `array`):

e.g. Full, Outline, Trees, Advertising, Conditions, Heritage.

## `appSizes` (type: `array`):

Small, Medium or Large (PlanIt's own classification).

## `maxResults` (type: `integer`):

Hard cap on rows across all searches. You are only charged for rows returned.

## `maxPagesPerSearch` (type: `integer`):

Safety stop per search. Each page returns up to 100 applications.

## `proxyConfiguration` (type: `object`):

Optional. The data source is a friendly JSON API, so a proxy is usually unnecessary.

## Actor input object example

```json
{
  "postcodes": [
    "M1 1AE",
    "LS1 1UR"
  ],
  "radiusKm": 2,
  "authorities": [
    "Watford",
    "Southwark"
  ],
  "bbox": [
    "-0.45,51.63,-0.35,51.69"
  ],
  "daysBack": 30,
  "dateFrom": "2026-06-01",
  "dateTo": "2026-07-01",
  "trades": [
    "extension/building",
    "loft/roofing"
  ],
  "keywords": [
    "extension",
    "loft"
  ],
  "appTypes": [
    "Full"
  ],
  "appSizes": [
    "Small",
    "Medium"
  ],
  "maxResults": 1000,
  "maxPagesPerSearch": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postcodes": [
        "M1 1AE"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oski/uk-planning-applications-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "postcodes": ["M1 1AE"] }

# Run the Actor and wait for it to finish
run = client.actor("oski/uk-planning-applications-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "postcodes": [
    "M1 1AE"
  ]
}' |
apify call oski/uk-planning-applications-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=oski/uk-planning-applications-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "UK Planning Applications Scraper",
        "description": "Find new UK planning applications by postcode, council or map area: address, type, status, dates, coordinates, and the trades each job implies. 400+ councils, updated daily.",
        "version": "0.1",
        "x-build-id": "Rtaw6Enroqkit0VXj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/oski~uk-planning-applications-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-oski-uk-planning-applications-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/oski~uk-planning-applications-scraper/runs": {
            "post": {
                "operationId": "runs-sync-oski-uk-planning-applications-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/oski~uk-planning-applications-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-oski-uk-planning-applications-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "postcodes": {
                        "title": "Postcodes",
                        "type": "array",
                        "description": "UK postcodes to search around, e.g. WD17 1AB. Combine with Radius. Each is geocoded via postcodes.io.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "radiusKm": {
                        "title": "Radius (km)",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Search radius around each postcode, in kilometres.",
                        "default": 2
                    },
                    "authorities": {
                        "title": "Councils / authorities",
                        "type": "array",
                        "description": "Search whole planning authorities by name, e.g. Watford, Southwark, Birmingham.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "bbox": {
                        "title": "Map areas (bounding boxes)",
                        "type": "array",
                        "description": "Bounding boxes as lng_min,lat_min,lng_max,lat_max.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "daysBack": {
                        "title": "Days back",
                        "minimum": 1,
                        "type": "integer",
                        "description": "How many days of recent applications to fetch (by received date). Ignored if a date range is set.",
                        "default": 30
                    },
                    "dateFrom": {
                        "title": "Received on or after",
                        "type": "string",
                        "description": "Start of received-date window (YYYY-MM-DD). Overrides Days back."
                    },
                    "dateTo": {
                        "title": "Received on or before",
                        "type": "string",
                        "description": "End of received-date window (YYYY-MM-DD)."
                    },
                    "trades": {
                        "title": "Filter by trade",
                        "type": "array",
                        "description": "Only return applications implying these trades.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "extension/building",
                                "loft/roofing",
                                "driveway/paving",
                                "solar/renewables",
                                "landscaping/trees",
                                "windows/doors",
                                "conversion/HMO",
                                "outbuilding",
                                "signage",
                                "newbuild",
                                "demolition"
                            ]
                        }
                    },
                    "keywords": {
                        "title": "Filter by keyword",
                        "type": "array",
                        "description": "Only return applications whose description contains one of these words.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "appTypes": {
                        "title": "Filter by application type",
                        "type": "array",
                        "description": "e.g. Full, Outline, Trees, Advertising, Conditions, Heritage.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "appSizes": {
                        "title": "Filter by application size",
                        "type": "array",
                        "description": "Small, Medium or Large (PlanIt's own classification).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max applications",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Hard cap on rows across all searches. You are only charged for rows returned.",
                        "default": 1000
                    },
                    "maxPagesPerSearch": {
                        "title": "Max pages per search",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Safety stop per search. Each page returns up to 100 applications.",
                        "default": 30
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Optional. The data source is a friendly JSON API, so a proxy is usually unnecessary.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
