UK constituencies and census areas
Election results, council services and census statistics are all published by area code. Look up any constituency, ward, LSOA or MSOA by name or GSS code, get its polygon, and find every area a point falls in.
Search “Hackney Central ward”, “Cities of London and Westminster constituency” or a GSS code such as E14001172, free and without a key. Each answer carries its id (ons- and the GSS code, as in ons-E14001172) and its parents.
Fetch the boundary as GeoJSON, KML, WKT, GML or SVG, simplified for a choropleth or at full detail, and keep the GSS code to join your statistics.
A reverse lookup lists a UK point's constituency, ward, MSOA and LSOA after its country, region and council. Or send up to 10,000 points per call and learn which fall inside one area.
Copy-paste examples. Search is free; the rest needs a free API key.
curl "https://geocodeai.dev/v1/boundaries/search?q=Cities%20of%20London%20and%20Westminster%20constituency"curl "https://geocodeai.dev/v1/boundaries/reverse?lat=51.4995&lon=-0.1357" \
-H "Authorization: Bearer $GEOCODE_API_KEY"curl -X POST "https://geocodeai.dev/v1/areas" \
-H "Authorization: Bearer $GEOCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Camden and Islington","country":"GB"}'Each page has the map, the facts and the code to fetch it.