Guide
Explore a named place
Search the name
Start with the words a person uses. Search is deliberately ambiguous-friendly: it returns the curated id rather than asking you to guess a URL slug.
curl "https://api.ukdataatlas.com/v1/locations?q=North%20Wales"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c", "data": [ { "id": "york", "label": "York", "kind": "editorial-grouping", "definitionRevision": 1, "memberGeography": "localAuthority", "memberCodes": [ "E06000014" ], "validity": { "from": null, "to": null }, "bbox": [ -1.15 ] } ], "meta": { "nextCursor": null } }Inspect the definition
Use the returned id,
north-wales, to read the definition and its member geography. This is an editorial grouping, not a new official boundary, so the response keeps the definition revision and member codes visible.curl "https://api.ukdataatlas.com/v1/locations/north-wales"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c", "data": { "id": "london", "label": "London", "kind": "region", "source": { "publisher": "Office for National Statistics", "lookup": "local-authority-to-region/2025-04-en", "code": "E12000007" }, "definitionRevision": 2, "memberGeography": "localAuthority", "memberCodes": [ "E09000001" ], "validity": { "from": null, "to": null }, "bbox": [ -0.5 ] }, "meta": { "nextCursor": null } }curl "https://api.ukdataatlas.com/v1/locations/north-wales?include=capabilities"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c", "data": { "id": "london", "label": "London", "kind": "region", "source": { "publisher": "Office for National Statistics", "lookup": "local-authority-to-region/2025-04-en", "code": "E12000007" }, "definitionRevision": 2, "memberGeography": "localAuthority", "memberCodes": [ "E09000001" ], "validity": { "from": null, "to": null }, "bbox": [ -0.5 ] }, "meta": { "nextCursor": null } }Resolve its members
Choose the boundary release you want to work in. For direct members, use the location's declared geography; for another geography, name a published crosswalk with
via. The API returns unresolved codes and coverage instead of silently dropping them.curl "https://api.ukdataatlas.com/v1/locations/north-wales/members?release=2025-12-uk-bgc"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c", "data": { "location": { "id": "north-wales", "label": "North Wales", "kind": "editorial-grouping", "definitionRevision": 1, "memberGeography": "localAuthority", "memberCodes": [ "W06000001" ], "validity": { "from": null, "to": null }, "bbox": [ -4.8 ] }, "geography": "ward", "boundaryRelease": "2024-12-uk-bgc", "reach": { "memberCount": 6, "reachedCount": 6, "unreached": [], "complete": true } }, "meta": { "nextCursor": null } }curl "https://api.ukdataatlas.com/v1/locations/north-wales/members?geography=ward&release=2024-12-uk-bgc&via=ward-2024-12-uk-bgc-to-local-authority-2024-12-uk-bgc-clean-containment"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c", "data": { "location": { "id": "north-wales", "label": "North Wales", "kind": "editorial-grouping", "definitionRevision": 1, "memberGeography": "localAuthority", "memberCodes": [ "W06000001" ], "validity": { "from": null, "to": null }, "bbox": [ -4.8 ] }, "geography": "ward", "boundaryRelease": "2024-12-uk-bgc", "reach": { "memberCount": 6, "reachedCount": 6, "unreached": [], "complete": true } }, "meta": { "nextCursor": null } }Ask a question
For an additive measure such as population, ask for a total over the named location. The route records the source partition and the coverage used to produce it.
curl "https://api.ukdataatlas.com/v1/data/population/value?period=2024&geography=localAuthority&codeYear=2023&place=location/north-wales"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:24a500c55416bd7d58c28b1fc8cc4931d4a2fd831addafa3116556a91f2c4857", "data": { "measure": { "id": "population", "label": "Population estimate", "valueKind": "count", "unit": "people" }, "question": { "place": "North West", "period": "2022", "placeDefaulted": false }, "answer": { "period": "2022", "periodDefaulted": false, "status": "derived", "value": 7526285, "unit": "people" }, "place": { "place": "location/north-west", "kind": "named-location", "name": "North West", "geography": "named-location", "code": "north-west", "match": "exact" }, "method": "aggregate", "via": "/v1/data/population/value?place=location/north-west&geography=localAuthority&codeYear=2023&period=2022", "otherMatches": [ { "place": "region/E12000002", "kind": "area", "name": "North West", "geography": "region", "code": "E12000002", "match": "exact", "served": false, "reason": "population is not published for region areas." } ] }, "meta": { "nextCursor": null } }Not every measure can be added. A median, rank or percentage may need a different question, and the API will explain the refusal rather than produce a misleading total.
Explain the result
Show the location label, definition revision, source geography, boundary release and coverage alongside the number. If you used a crosswalk, keep its id too: “North Wales” can mean different things depending on which published membership relationship you chose.
curl "https://api.ukdataatlas.com/v1/locations/north-wales/parents?geography=region&release=2025-12-en-bgc&via=local-authority-2025-12-uk-bgc-to-region-2025-12-en-bgc-area-overlap"Example response200 { "apiVersion": "v1", "atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c", "data": { "geography": "combinedAuthority", "boundaryRelease": "2025-12-en-bgc", "via": { "id": "local-authority-2025-12-uk-bgc-to-combined-authority-2025-12-en-bgc-official-lookup", "method": "clean-containment", "quality": "publisher-supplied" }, "memberGeography": "localAuthority", "memberBoundaryRelease": "2025-12-uk-bgc", "locationWithin": { "id": "combinedAuthority/2025-12-en-bgc/E47000001", "code": "E47000001", "name": "Greater Manchester" }, "parents": [ { "id": "combinedAuthority/2025-12-en-bgc/E47000001", "code": "E47000001", "name": "Greater Manchester", "relation": "covers", "members": [ { "id": "localAuthority/2025-12-uk-bgc/E08000003", "code": "E08000003", "name": "Manchester" } ], "parentMemberCount": 10 } ], "unplaced": [] }, "meta": { "nextCursor": null } }
When the definition matters
One name can have several curated definitions, such as a ceremonial and a historic county of the same name. Give the exact name to see each one, its kind and the source that sets it apart:
curl "https://api.ukdataatlas.com/v1/locations/alternatives?q=Lancashire"Members change as councils are reorganised. Compare a location's membership between two dates to see which councils it kept, gained or lost, before you put figures from different years side by side:
curl "https://api.ukdataatlas.com/v1/locations/lancashire/comparison?from=1974&to=2026-01-01"For a map, fetch the location's outline as one GeoJSON feature, its members merged into a single shape:
curl "https://api.ukdataatlas.com/v1/locations/greater-manchester/geometry"{
"apiVersion": "v1",
"atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c",
"data": {
"type": "Feature",
"id": "greater-manchester",
"properties": {
"id": "greater-manchester",
"label": "Greater Manchester",
"memberGeography": "localAuthority",
"boundaryRelease": "2026-05-uk-bgc",
"bbox": [
-2.73,
53.33,
-1.91,
53.69
]
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-2.73,
53.33
],
[
-1.91,
53.33
],
[
-1.91,
53.69
],
[
-2.73,
53.33
]
]
]
]
}
},
"meta": {
"nextCursor": null
}
}Named locations are useful starting points, not permission to hide the method. When the exact boundary matters, move from the named location to its official members and keep the release and crosswalk in your records.
get/locationsList named locationsget/locations/{location-id}/membersList a named location's areasget/data/{measure-id}/valueGet a value for a placeget/locations/alternativesCompare location definitionsget/locations/{location-id}/comparisonCompare location memberships