Ethnic group
Description
This method returns Census 2021 estimates that classify usual residents by ethnic group.
Ethnic group is the ethnic group that the person completing the census feels they belong to. This could be based on their culture, family background, identity or physical appearance. Respondents could choose one out of 19 tick-box response categories, including write-in response options.
Ethnic groups are split into 25 categories including total.
The estimates are as at Census Day, 21 March 2021.
Parameters
Name | Description |
---|---|
location path string | Postcode, coordinates in the lat,long format or UPRN in the uprn12345678 format. Postcode with or without space. This argument is case-insensitive. |
area_type query enum | Area types used in Census 2021. The method returns results based on the inclusion of the postcode/coordinate/UPRN within the designated geographical area. For instance, when using 'oa' as a parameter, the returned results will be for the Output Area that contains the specified postcode/coordinate/UPRN.
|
api_key query enum | Your API key.
|
{
"data": {
"residents": {
"Total": 196,
"Asian, Asian British or Asian Welsh": 23,
"Asian, Asian British or Asian Welsh: Bangladeshi": 6,
"Asian, Asian British or Asian Welsh: Chinese": 2,
"Asian, Asian British or Asian Welsh: Indian": 0,
"Asian, Asian British or Asian Welsh: Pakistani": 2,
"Asian, Asian British or Asian Welsh: Other Asian": 13,
"Black, Black British, Black Welsh, Caribbean or African": 53,
"Black, Black British, Black Welsh, Caribbean or African: African": 44,
"Black, Black British, Black Welsh, Caribbean or African: Caribbean": 4,
"Black, Black British, Black Welsh, Caribbean or African: Other Black": 5,
"Mixed or Multiple ethnic groups": 18,
"Mixed or Multiple ethnic groups: White and Asian": 5,
"Mixed or Multiple ethnic groups: White and Black African": 3,
"Mixed or Multiple ethnic groups: White and Black Caribbean": 4,
"Mixed or Multiple ethnic groups: Other Mixed or Multiple ethnic groups": 6,
"White": 86,
"White: English, Welsh, Scottish, Northern Irish or British": 41,
"White: Irish": 5,
"White: Gypsy or Irish Traveller": 0,
"White: Roma": 5,
"White: Other White": 35,
"Other ethnic group": 16,
"Other ethnic group: Arab": 3,
"Other ethnic group: Any other ethnic group": 13
},
"rank": {
"Asian, Asian British or Asian Welsh": 4,
"Asian, Asian British or Asian Welsh: Bangladeshi": 3,
"Asian, Asian British or Asian Welsh: Chinese": 2,
"Asian, Asian British or Asian Welsh: Indian": 1,
"Asian, Asian British or Asian Welsh: Pakistani": 2,
"Asian, Asian British or Asian Welsh: Other Asian": 5,
"Black, Black British, Black Welsh, Caribbean or African": 7,
"Black, Black British, Black Welsh, Caribbean or African: African": 7,
"Black, Black British, Black Welsh, Caribbean or African: Caribbean": 3,
"Black, Black British, Black Welsh, Caribbean or African: Other Black": 5,
"Mixed or Multiple ethnic groups": 7,
"Mixed or Multiple ethnic groups: White and Asian": 6,
"Mixed or Multiple ethnic groups: White and Black African": 5,
"Mixed or Multiple ethnic groups: White and Black Caribbean": 4,
"Mixed or Multiple ethnic groups: Other Mixed or Multiple ethnic groups": 6,
"White": 3,
"White: English, Welsh, Scottish, Northern Irish or British": 2,
"White: Irish": 5,
"White: Gypsy or Irish Traveller": 1,
"White: Roma": 5,
"White: Other White": 6,
"Other ethnic group": 6,
"Other ethnic group: Arab": 3,
"Other ethnic group: Any other ethnic group": 6
}
},
"dataDate": "2021-03-21",
"refreshedDate": "2021-03-21"
}
{
"error": "No such API key or it is not valid anymore."
}
{
"error": "You have exhausted the available calls provided by your package."
}
{
"error": "API key is invalid for the given action."
}
{
"error": "Can't find such location."
}
{
"error": "Too many requests have been sent in one second."
}
{
"error": "We have already started working on a resolution!"
}