# England Planning Data

> Browse England's planning datasets and records and monitor new entries from a planning authority.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/england-planning-data

## Actions

### Get an England planning record

Read a record, including its reference, organisation, dates and location.

**Inputs**

- Entity ID (`entity_id`, number, required): Numeric entity ID from a planning search result. At least 1.

**Outputs**

- `data` (object): The response from England Planning Data.

**Example output**

```json
{
  "data": {
    "dataset": "example",
    "end-date": "example",
    "entity": 1,
    "entry-date": "example",
    "name": "example",
    "organisation-entity": 1,
    "point": "example",
    "quality": "example",
    "reference": "example",
    "start-date": "example"
  }
}
```

### List England Planning Data datasets

Find dataset slugs and descriptions to use in planning searches.

**Inputs**: None.

**Outputs**

- `data` (object): The response from England Planning Data.

**Example output**

```json
{
  "data": {
    "datasets": [
      {
        "dataset": "example",
        "description": "example",
        "name": "example",
        "typology": "example"
      }
    ]
  }
}
```

### Search England planning records

Find entries in one dataset. Filter by publishing organisation, entry date, postcode or property reference.

**Inputs**

- Dataset (`dataset`, text, required): Planning Data dataset slug, such as brownfield-land.
- Organisation ID (`organisation`, number): Numeric identifier of the publishing organisation, such as 336. At least 1.
- Query (`query`, text): Postcode or Unique Property Reference Number (UPRN).
- Entered since (`entered_since`, date): Earliest entry date, in YYYY-MM-DD format.
- Limit (`limit`, number): Maximum records per page (1 to 100). From 1 to 100.
- Offset (`offset`, number): Number of results to skip. At least 0.

**Outputs**

- `data` (object): The response from England Planning Data.

**Example output**

```json
{
  "data": {
    "count": 1,
    "count_is_capped": true,
    "entities": [
      {
        "dataset": "example",
        "end-date": "example",
        "entity": 1,
        "entry-date": "example",
        "name": "example",
        "organisation-entity": 1,
        "point": "example",
        "quality": "example",
        "reference": "example",
        "start-date": "example"
      }
    ],
    "links": {
      "next": "example"
    }
  }
}
```
