---
title: "Find UPRNs in a given postcode area with structured address parts"
method: GET
path: "/uprns"
---

# Find UPRNs in a given postcode area with structured address parts

`GET /uprns`

## Request

- Base URL: `https://api.propertydata.co.uk`
- URL: `https://api.propertydata.co.uk/uprns`
- Auth: HTTP bearer

Costs 1 credit per 10 results. Coverage: England, Wales and Scotland only, not Northern Ireland.

## Query parameters

- `postcode` string
- `location` string
- `w3w` string
- `results` integer
- `strict` string

## Response `200`

Successful response with array of UPRNs including address, addressParts (secondary, primary, street, town, district, postcode), lat, lng, classificationCode, classificationCodeDesc

- object
  - `status` string
  - `postcode` string
  - `strict_postcode_mode` boolean
  - `data` object[]
    - `uprn` integer
    - `address` string
    - `addressParts` object
      - `secondary` string
      - `primary` string
      - `street` string
      - `town` string
      - `district` unknown
      - `postcode` string
    - `lat` string
    - `lng` string
    - `classificationCode` string
    - `classificationCodeDesc` string
  - `api_calls_cost` integer
  - `process_time` string: Server processing time in seconds

## Other responses

- `4XX`: Error response. Common codes: X02 missing key (400), X03 invalid key (422), X04 credit limit exceeded (403), X06/X07 missing or invalid location input (400/422), X08 insufficient data for location (404), X13 free trial limit exceeded (403), X14 rate limited (429), X20 server busy, retry after 60 seconds (503).

---

[API](https://skmtc.dev/propertydata/apis/propertydata-api.md) · [All operations](https://skmtc.dev/propertydata/apis/propertydata-api/llms.txt) · [OpenAPI document](https://skmtc.dev/propertydata/apis/propertydata-api/revisions/38ab011f2f4c?raw)
