Contact support

Reference

Similar neighborhoods

GET

/api/v1/neighborhoods/similar/

Other tracts ranked by percentile-group distance. The default stays in the anchor metro. Nationwide and a destination metro use national percentiles.

Parameters

Name Type Description
address string US street address. The default search stays in its metro.
tract string 11-digit census tract geoid. Send this, an address, or lat and lng.
cbsa string Five-digit CBSA code to search instead of the anchor metro. Compared on national percentiles. Default .
lat number Latitude. Send with lng.
lng number Longitude. Send with lat.
limit integer Maximum tracts to return. The count is every peer that shares at least three groups. Default 10, from 1 to 50.
focus string[] Groups that count twice in the distance. Other shared groups still count. Repeat the parameter or send a comma-separated list. Choices: prosperity, cost, affordability, housing, market, schools, amenities, risk, crime, age.
max_miles number Only tracts within this many miles of the reference tract's internal point. From 0.1 to 3000. The rank is still percentile distance. From 0.1 to 3000.
nationwide boolean Compare every tract in the feature table, using national percentiles. Send this or a metro code, not both. Default False.

Response

  • basis string

    metro ranks the anchor metro. national ranks every tract in the feature table. A destination metro and a nationwide search both use national.

  • cbsa object | null

    The metro that was searched. Null when the search is nationwide.

    • geoid string
    • name string
    • kind string
  • anchor object

    The tract the other results are compared with.

    • location object
      • lat number | null
      • lng number | null
      • state object | null
        • geoid string
        • name string
        • stusps string
      • county object | null
        • geoid string
        • name string
      • tract object | null
        • geoid string
        • name string
      • cbsa object | null
        • geoid string
        • name string
        • kind string
    • matched_address string
    • features object
      37 fields
      • built_at string
      • median_household_income number | null
      • bachelors_pct number | null
      • owner_occupied_pct number | null
      • pop_density number | null

        People per square kilometer

      • pct_under_18 number | null

        Omitted for a fair-housing compliant key or sign-in.

      • median_age number | null

        Omitted for a fair-housing compliant key or sign-in.

      • median_home_value number | null

        ACS median value of owner-occupied homes, tract grain.

      • median_rent number | null

        ACS median gross rent, tract grain.

      • price_to_income number | null

        ACS owner-occupied home value divided by median household income.

      • units_20_plus_pct number | null

        Share of units in buildings with 20 or more units.

      • mobile_home_pct number | null

        Share of units that are mobile homes.

      • median_sale_price number | null

        Latest Redfin ZIP month. Null when that month sold fewer than 10 homes.

      • price_yoy number | null

        Year-over-year change on that same ZIP month.

      • months_of_supply number | null

        Same ZIP month and 10-sale rule.

      • median_dom integer | null

        Same ZIP month and 10-sale rule.

      • avg_sale_to_list number | null

        Same ZIP month and 10-sale rule.

      • price_drops number | null

        Same ZIP month and 10-sale rule.

      • private_schools_3mi integer | null
      • private_enrollment_3mi integer | null

        Total enrollment of open private schools within 3 miles.

      • best_public_math_pct number | null

        Highest latest-year public school math proficiency within 3 miles.

      • public_math_pct number | null

        Enrollment-weighted public school math proficiency within 3 miles.

      • public_read_pct number | null

        Enrollment-weighted public school reading proficiency within 3 miles.

      • public_grad_rate number | null

        Cohort-weighted public high school graduation rate within 3 miles.

      • grocery_1mi integer | null
      • restaurants_1mi integer | null
      • parks_1mi integer | null
      • daycare_1mi integer | null
      • nri_risk_score number | null
      • coastal_flood_risk_score number | null

        Higher means more risk.

      • inland_flood_risk_score number | null

        Higher means more risk.

      • wildfire_risk_score number | null

        Higher means more risk.

      • hurricane_risk_score number | null

        Higher means more risk.

      • violent_crime_per_1k number | null

        Allocated estimate per 1,000 people, not incidents counted inside the tract.

      • property_crime_per_1k number | null

        Allocated estimate per 1,000 people, not incidents counted inside the tract.

      • pctiles_metro object

        0-100 rank among tracts in the same CBSA.

      • pctiles_national object

        0-100 rank among tracts currently in this table.

  • count integer
  • limit integer
  • focus string[]

    Groups that counted twice. Empty when every shared group counted once.

  • places object[]

    Closest tracts first. A tract sharing fewer than three groups is omitted. Miles only decide who is eligible.

    • location object
      • lat number | null
      • lng number | null
      • state object | null
        • geoid string
        • name string
        • stusps string
      • county object | null
        • geoid string
        • name string
      • tract object | null
        • geoid string
        • name string
      • cbsa object | null
        • geoid string
        • name string
        • kind string
    • features object
      37 fields
      • built_at string
      • median_household_income number | null
      • bachelors_pct number | null
      • owner_occupied_pct number | null
      • pop_density number | null

        People per square kilometer

      • pct_under_18 number | null

        Omitted for a fair-housing compliant key or sign-in.

      • median_age number | null

        Omitted for a fair-housing compliant key or sign-in.

      • median_home_value number | null

        ACS median value of owner-occupied homes, tract grain.

      • median_rent number | null

        ACS median gross rent, tract grain.

      • price_to_income number | null

        ACS owner-occupied home value divided by median household income.

      • units_20_plus_pct number | null

        Share of units in buildings with 20 or more units.

      • mobile_home_pct number | null

        Share of units that are mobile homes.

      • median_sale_price number | null

        Latest Redfin ZIP month. Null when that month sold fewer than 10 homes.

      • price_yoy number | null

        Year-over-year change on that same ZIP month.

      • months_of_supply number | null

        Same ZIP month and 10-sale rule.

      • median_dom integer | null

        Same ZIP month and 10-sale rule.

      • avg_sale_to_list number | null

        Same ZIP month and 10-sale rule.

      • price_drops number | null

        Same ZIP month and 10-sale rule.

      • private_schools_3mi integer | null
      • private_enrollment_3mi integer | null

        Total enrollment of open private schools within 3 miles.

      • best_public_math_pct number | null

        Highest latest-year public school math proficiency within 3 miles.

      • public_math_pct number | null

        Enrollment-weighted public school math proficiency within 3 miles.

      • public_read_pct number | null

        Enrollment-weighted public school reading proficiency within 3 miles.

      • public_grad_rate number | null

        Cohort-weighted public high school graduation rate within 3 miles.

      • grocery_1mi integer | null
      • restaurants_1mi integer | null
      • parks_1mi integer | null
      • daycare_1mi integer | null
      • nri_risk_score number | null
      • coastal_flood_risk_score number | null

        Higher means more risk.

      • inland_flood_risk_score number | null

        Higher means more risk.

      • wildfire_risk_score number | null

        Higher means more risk.

      • hurricane_risk_score number | null

        Higher means more risk.

      • violent_crime_per_1k number | null

        Allocated estimate per 1,000 people, not incidents counted inside the tract.

      • property_crime_per_1k number | null

        Allocated estimate per 1,000 people, not incidents counted inside the tract.

      • pctiles_metro object

        0-100 rank among tracts in the same CBSA.

      • pctiles_national object

        0-100 rank among tracts currently in this table.

    • distance number

      Weighted mean absolute difference of percentile groups, from 0 to 100. A focused group counts twice. Smaller is more similar, not better.

    • shared integer

      How many groups both tracts could fill. At least 3.

    • groups map of number

      Absolute difference for each group both tracts could fill.

Status

  • 200 Closest tracts. An empty list means no peer shared three groups inside the requested scope.
  • 400 The place was missing, more than one kind was sent, nationwide was combined with a metro code, or focus or miles were invalid.
  • 401 Missing or invalid credentials.
  • 403 This plan has no call allowance configured.
  • 404 No tract, no features for that tract, no internal point when miles is set, or the tract is outside every metro when the search stays in its own metro.
  • 429 Monthly call limit reached.