Location intelligence

Planning Constraints API: Conservation Area Checker

Find known planning, heritage and nature designations near a postcode or coordinate in England, Wales and Scotland, from listed buildings and conservation areas to SSSIs and national parks.

Planning constraints API endpoint

GET/api/v1/planning/constraints

Provide postcode, or both latitude and longitude. In Scotland, grade holds the listed building category (A, B or C). In England, hmoArticle4.applies is true when a published Article 4 direction covering the location removes the right to turn a house into a small HMO, so that change needs planning permission. It is null when no such area is found, because many councils do not publish theirs. hmoArticle4 is null where Article 4 directions were not checked.

Billing details in the response

Successful chargeable JSON responses include a top-level billing object. The endpoint examples on this page focus on the endpoint-specific data, so this repeated block may not be shown in every example.

"billing": {
  "mode": "prepaid",
  "creditsCharged": 1,
  "creditsRemaining": 1999,
  "creditsRefreshAt": "2026-08-14T09:30:00.000Z"
}
Field or headerMeaning
billing.creditsCharged
X-Credits-Charged
Credits charged by this call. Failed and non-chargeable calls return 0 in the header.
billing.creditsRemaining
X-Credits-Remaining
The credit balance after the call.
billing.creditsRefreshAt
X-Credits-Refresh-At
The next monthly credit refresh as an ISO 8601 timestamp. Trial and non-renewing balances return null and omit the header.

All authenticated API-key calls expose the billing headers, including validation errors and zero-credit status or management requests. Only successful chargeable JSON responses add the billing object to the response body.

When credits run out

If your balance is lower than the cost of a request, the API returns HTTP 402 and charges nothing. The error includes the credits needed, your balance and a link to change plan.

{
  "statusCode": 402,
  "statusMessage": "Payment Required",
  "data": {
    "success": false,
    "error": {
      "code": "INSUFFICIENT_CREDITS",
      "message": "This request costs 35 API credits. Upgrade your plan or wait for your monthly refresh: https://propertyinsights.co.uk/billing",
      "required": 35,
      "available": 12,
      "upgradeUrl": "https://propertyinsights.co.uk/billing"
    }
  }
}

Planning constraints API parameters

NameRequiredTypeDescription
postcodeNostringFull UK postcode. Alternatively provide coordinates.
latitudeNonumberLatitude when postcode is omitted.
longitudeNonumberLongitude when postcode is omitted.
radiusMetresNointegerSearch radius from 0 to 2,000 metres. Defaults to 100.
datasetsNostringComma-separated dataset names to include, for example listed-building,conservation-area,national-scenic-area. If none of them has a source for the nation, the request returns AREA_NOT_COVERED and is not charged.
includeGeometryNobooleanInclude GeoJSON geometry. Defaults to false.
limitNointegerMaximum results, up to 100 or 25 with geometry.

Source and coverage

Source
Planning Data (England); Cadw, Natural Resources Wales and Welsh Government (Wales); Historic Environment Scotland, NatureScot and Scottish Government (Scotland). All under the Open Government Licence v3.0
Coverage
England, Wales and Scotland. Each dataset in the response is marked covered, not-covered or not-applicable for the nation of the location. Wales covers listed buildings, scheduled monuments, registered parks and gardens, conservation areas, SSSI, SAC, SPA, Ramsar, National Landscapes, national parks and ancient woodland. Scotland covers listed buildings, scheduled monuments, conservation areas, gardens and designed landscapes, battlefields, SSSI, SAC, SPA, Ramsar, national parks, National Scenic Areas and ancient woodland. Northern Ireland returns AREA_NOT_COVERED.

A returned result confirms a known designation. An empty result for a covered dataset does not prove that none applies, because local authority coverage can be incomplete. A not-covered dataset was not checked at all, for example green belt, Article 4 directions and tree preservation orders in Wales and Scotland.

Example request

curl -X GET "https://propertyinsights.co.uk/api/v1/planning/constraints?postcode=ZZ1%201ZZ&radiusMetres=250" \
  -H "x-api-key: YOUR_API_KEY"

Example response

{
  "success": true,
  "data": {
    "input": {
      "postcode": "ZZ1 1ZZ",
      "radiusMetres": 250
    },
    "nation": "scotland",
    "count": 1,
    "constraints": [
      {
        "dataset": "conservation-area",
        "nation": "scotland",
        "reference": "CA-001",
        "name": "Fictional Conservation Area",
        "intersects": true,
        "distanceMetres": 0
      }
    ],
    "hmoArticle4": null,
    "datasets": [
      {
        "dataset": "conservation-area",
        "coverage": "covered"
      },
      {
        "dataset": "green-belt",
        "coverage": "not-covered"
      },
      {
        "dataset": "area-of-outstanding-natural-beauty",
        "coverage": "not-applicable"
      }
    ]
  }
}

OpenAPI specification

Authentication, parameters, billing headers and response schemas are also published in the machine-readable OpenAPI documents in JSON and YAML.