Skip to main content
GET
Query Census 2021

Overview

Returns Census 2021 data for a building identified by its geographical code and building block number. The response is a flat JSON object containing every field of the matched record — the exact shape depends on the requested dataset. Authentication is not enforced at the schema level, but a valid Bearer token is recommended for production integrations.

Path parameters


Query parameters


Response

Returns a flat JSON object. Every field of the matched Census 2021 record is included. The exact fields depend on the requested dataset.

Example request

Path Parameters

dataset
enum<string>
required

Census 2021 dataset to query. Currently only building_and_characteristics is supported.

Available options:
building_and_characteristics

Query Parameters

geographical_code
string
required

Geographical code identifying the area (e.g. quarter/village code).

building_block
string
required

Building block number within the geographical area.

Response

200 - application/json

Every field of the matched record is returned as a flat JSON object. Response shape depends on the requested dataset.

The response is of type object.