v1

latestOpenAPI 3.1.0MIT2026-07-13111497.3 KB
Outward Codes

Find an Outward Code

Returns aggregated information for postcodes grouped by their shared outward code.

The outward code is the first half of any postcode (3-4 characters and followed by a space). E.g. SW1A is the outward code for SW1A 1AA.

get/outcodes/{outcode}

Path parameters

outcodestring required

Specifies the outward code you wish to query.

Response

Success

status200 required

Example response

{
  "result": {
    "outcode": "SW1A",
    "eastings": 529740,
    "northings": 180066,
    "admin_county": [
      "(pseudo) England (UA/MD/LB)"
    ],
    "admin_district": [
      "Westminster",
      "Wandsworth"
    ],
    "admin_ward": [
      "Nine Elms",
      "St. James's"
    ],
    "longitude": -0.132066,
    "latitude": 51.50464,
    "country": [
      "England"
    ],
    "parish": [
      "Wandsworth, unparished area",
      "Westminster, unparished area"
    ],
    "parliamentary_constituency": [
      "Cities of London and Westminster",
      "Battersea"
    ]
  }
}