Look Up UK Postcode
govuk_lookup_postcodeFind local authority, region, and constituency for any UK postcode to direct users to correct government services like council tax or planning.
Instructions
Look up a UK postcode to retrieve its local authority, region, constituency, and other administrative geography.
Useful for determining which council area, parliamentary constituency, or NHS region a postcode falls within. Commonly used to direct users to the correct local service on GOV.UK (e.g. council tax, planning, waste).
Uses the postcodes.io public API (no key required).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | PostcodeInput with a UK postcode (e.g. 'NG1 1AA', 'SW1A 2AA'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postcode | No | Canonicalised postcode as returned by postcodes.io. | |
| latitude | No | Latitude in decimal degrees (WGS84). | |
| longitude | No | Longitude in decimal degrees (WGS84). | |
| country | No | Country, e.g. 'England', 'Scotland', 'Wales', 'Northern Ireland'. | |
| region | No | ONS region, e.g. 'East Midlands'. | |
| parliamentary_constituency | No | Parliamentary constituency (pre-2025 boundary). | |
| parliamentary_constituency_2025 | No | Parliamentary constituency under the 2025 boundaries. | |
| local_authority | No | Local authority / council covering the postcode. | |
| admin_county | No | Administrative county, where applicable (null in unitary areas). | |
| nhs_integrated_care_board | No | NHS Integrated Care Board, where available. | |
| codes | No | GSS codes for all administrative geographies covering this postcode. |