# UK Planning Application Lookup by Reference

**Use case:** 

Look up one UK planning application by its council reference number: proposal text, site address and postcode, coordinates, decision and decision date, status and a link to the official record. For anyone who already has a reference from a letter or another system and wants the details in one row, at the lowest possible cost.

## Input

```json
{
  "mode": "applications",
  "council": "Camden",
  "latitude": 51.5413,
  "longitude": -0.1543,
  "radiusMeters": 1000,
  "datasets": [
    "conservation-area",
    "article-4-direction-area",
    "listed-building-outline",
    "tree-preservation-zone",
    "flood-risk-zone",
    "green-belt"
  ],
  "reference": "2015/4843/L",
  "onlyNew": false,
  "maxScanRows": 5000,
  "sortBy": "sourceOrder",
  "maxItems": 5
}
```

## Output

```json
{
  "reference": {
    "label": "Reference",
    "format": "text"
  },
  "council": {
    "label": "Council",
    "format": "text"
  },
  "address": {
    "label": "Site address",
    "format": "text"
  },
  "postcode": {
    "label": "Postcode",
    "format": "text"
  },
  "description": {
    "label": "Proposal",
    "format": "text"
  },
  "receivedDate": {
    "label": "Received",
    "format": "date"
  },
  "decisionDate": {
    "label": "Decided",
    "format": "date"
  },
  "decision": {
    "label": "Decision",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "url": {
    "label": "Record",
    "format": "link"
  },
  "fetchedAt": {
    "label": "Fetched (UTC)",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [UK Planning Applications & Site Constraints (Planning Data)](https://apify.com/yadroo/uk-planning-applications.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/uk-planning-applications.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/yadroo/uk-planning-applications.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`).
