Skip to main content

CensusDataResponse

Complete census data API response.

location_info objectnullable

Geocoded location information

formatted_addressFormatted Address (string)nullable
street_addressStreet Address (string)nullable
cityCity (string)nullable
stateState (string)nullable
state_codeState Code (string)nullable
countyCounty (string)nullable
postal_codePostal Code (string)nullable
latitudeLatitude (number)nullable
longitudeLongitude (number)nullable
geohash8Geohash8 (string)nullable
census_geoids objectnullable

Census geographic identifiers

state_fipsState Fips (string)nullable
county_fipsCounty Fips (string)nullable
cousub_fipsCousub Fips (string)nullable
tract_fipsTract Fips (string)nullable
block_fipsBlock Fips (string)nullable
geoidGeoid (string)nullable
acs_data object[]

Census data entries by year/geography

  • Array [
  • yearYear (integer)required

    Data year

    geography_levelGeography Level (string)required

    Geography level (county, cousub, tract, block_group)

    variables objectrequired

    Census variables keyed by census key

    property name* CensusVariable

    Individual census variable with metadata.

    categoryCategory (string)required

    Variable category

    Example: demographics
    subcategorySubcategory (string)required

    Variable subcategory

    Example: age
    value_typeValue Type (string)required

    Type of value (total, percentage, currency)

    Example: percentage
    value objectnullablerequired

    The census value

    anyOf
    number
    base_variableBase Variable (string)nullable

    Base variable key for percentages

  • ]
  • nameName (string)nullable

    Geographic area name from census

    CensusDataResponse
    {
    "location_info": {
    "formatted_address": "string",
    "street_address": "string",
    "city": "string",
    "state": "string",
    "state_code": "string",
    "county": "string",
    "postal_code": "string",
    "latitude": 0,
    "longitude": 0,
    "geohash8": "string"
    },
    "census_geoids": {
    "state_fips": "string",
    "county_fips": "string",
    "cousub_fips": "string",
    "tract_fips": "string",
    "block_fips": "string",
    "geoid": "string"
    },
    "acs_data": [
    {
    "year": 0,
    "geography_level": "string",
    "variables": {}
    }
    ],
    "name": "string"
    }