We've updated our Terms of Use. See terms

Guides
for everything Geocodio

Guides
Westminster (UK Parliament) Constituencies

Westminster (UK Parliament) Constituencies

With Geocodio, you can add UK political district information to a spreadsheet of UK addresses, postal codes, or coordinates. Three categories of district data are available, covering all four nations of the United Kingdom:

  • Westminster (UK Parliament) constituencies

  • Devolved parliament districts (Scottish Parliament, Senedd Cymru, and Northern Ireland Assembly)

  • Local government districts (wards and, where applicable, County Electoral Divisions)

This guide covers the Westminster (UK Parliament) constituencies.

The following data points are returned for each district:

  • District name

  • GSS code (the official UK government identifier)

  • Nation (ENG, SCT, WLS, or NIR)

  • District type (e.g. westminster_constituency, ward, county_electoral_division)

  • OCD ID, where available (see OCD-IDs guide)

  • Source publisher (usually the Office for National Statistics)

Spreadsheet uploads

To append this data, select the relevant categories in Step 3 of the spreadsheet upload process. 

Download an example with all UK districts added here or use this tool to enter an address, post code, or coordinates. 

API

You can request UK political district appends via the API using the fields parameter (uk-westminster, uk-devolved, and uk-local). Multiple appends can be combined in a single request, comma-separated.

Full API documentation, including the complete response schema and additional examples, is available in the API docs.

Note on Northern Ireland

Geocodio only provides Northern Ireland data at postcode-level accuracy. However, all districts in Northern Ireland follow postcode boundaries, so this level of accuracy is enough for district matching.

Postcode-Only Queries

Postcode-only queries (e.g. just GU1 1AA with no street address) currently return one result per place candidate within the postcode, with each evaluated against its centroid. If you need a single definitive answer per postcode, use a full address (street + postcode) or reverse geocode from coordinates for now. A cleaner postcode-only experience is on the roadmap.

Election-focused? Use the -next variant

Every UK district field append has a matching -next variant (uk-westminster-next, uk-devolved-next, uk-local-next)which returns the next known set of boundaries for each district type. If you are primarily concerned with elections rather than someone’s current representation, use the -next variant to gracefully handle redistricting.

As there are no current pending changes, these variants return today’s boundaries.

Cost

UK address and coordinate lookups cost 2 credits each. Each political district field append adds 1 credit per address.

For example, a UK address with all three district appends (uk-westminster, uk-devolved, and uk-local) costs 5 credits in total: 2 for the geocoding lookup, plus 1 for each of the three field appends.

UK access requires a Flex plan or a UK-enabled Unlimited subscription. UK lookups are not available on Pay-As-You-Go.

Westminster (UK Parliament) Constituencies

  • Field append: uk-westminster

  • Returns the Westminster constituency for each address. One row per result.

  • Coverage: All 650 UK Parliament seats: 543 in England, 57 in Scotland, 32 in Wales, and 18 in Northern Ireland.

OCD IDs: Available for every constituency (650 of 650).

Query Westminster Constituency
Bute House, 6 Charlotte Square Edinburgh, EH2 4DR, Scotland Edinburgh North and Leith
284 Leigh Rd, Wigan WN2 4XG, UK Makerfield
BT57 8SU, United Kingdom North Antrim
51.47310451270497, -3.2029270116404187 Cardiff West