# 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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

Download the OpenAPI definition: https://api.apify.com/v2/actors/fTnf1OW7qJWcE9WSg/builds/Rtaw6Enroqkit0VXj/openapi.json
