Skip to main content
Querying Demographics Information

In this article you will teach you how to get Demographics Information using the CoreAPI

A
Written by Adam Fung
Updated over a month ago

Once you have set up the API within your environment or GraphiQL (if not please see this article - https://app.intercom.com/a/apps/wnmvofws/knowledge-hub/article/10816410), this is how you would build a query to pull back property level data

Below is a query that will pull back data on a given defined address - Our API will standardize what is inputted and will display property level and demographics information

1 - The below query pulls back Demographics data on a zip code level

query addressTaxAssessor {
address(address: "Insert Address Here") {
cherre_address__address {
display_address
tax_assessor_v2__property_address {
bed_count
bath_count
usa_zip_code_boundary_v2__zip_code {
usa_demographics_v2__geography_id {
population_median_age
average_household_income
}
}
}
}
}
}

2 - The below query pulls back Demographics data on the MSA level

query addressTaxAssessor {
address(address: "Insert Address Here") {
cherre_address__address {
display_address
tax_assessor_v2__property_address {
bed_count
bath_count
usa_msa_census_boundary__cbsa_fips_code {
usa_demographics_v2__msa_census_boundary__bridge {
usa_demographics_v2__geography_id {
population_median_age
average_household_income
}
}
}
}
}
}
}

3 - The below query pulls back Demographics data on the State level

query addressTaxAssessor {
address(address: "Insert Address Here") {
cherre_address__address {
display_address
tax_assessor_v2__property_address {
bed_count
bath_count
usa_state_boundary__state {
usa_demographics_v2__geography_code{
population_median_age
average_household_income
}
}
}
}
}
}

4 - The below query pulls back Demographics data on the Census Tract Level

query addressTaxAssessor {
address(address: "Insert Address Here") {
cherre_address__address {
display_address
tax_assessor_v2__property_address {
bed_count
bath_count
usa_census_tract_boundary__geo_id_pk{
usa_demographics_v2__geography_code{
population_median_age
average_household_income
}
}
}
}
}
}

Please note that all of these queries can pull back broader data if started from the tax_assessor_v2 table.

If you have any further questions please reach out to us at Support@cherre.com

Did this answer your question?