# Refused Planning Applications in Camden

**Use case:** 

Camden applications whose recorded decision was a refusal, newest decision first: reference, site address, the proposal that was turned down, the decision date and the record link. For planning consultants building appeal precedent lists and for researchers measuring refusal patterns. Change the decision text to 'granted' or 'withdrawn' for the other outcomes.

## 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"
  ],
  "decisionContains": "refused",
  "onlyNew": false,
  "maxScanRows": 4000,
  "sortBy": "decisionDateDesc",
  "maxItems": 25
}
```

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