Contact support

Reference

Neighborhood

GET

/api/v1/neighborhood/

Census, climate, housing, schools, amenities, and crime for one US location.

Send a street address, or send lat and lng together. A city name alone often fails geocoding.

Parameters

Name Type Description
address string US street address. Geocoded to a point. A city name alone often fails.
lat number Latitude in decimal degrees. Send with lng, or send address instead.
lng number Longitude in decimal degrees. Send with lat, or send address instead.

Response

  • location object

    The point, the matched address, and the geographies that contain it.

    • lat number
    • lng number
    • matched_address string | null
    • state object | null
      • geoid string
      • name string
      • stusps string
    • county object | null
      • geoid string
      • name string
    • place object | null
      • geoid string
      • name string
    • zcta object | null
      • geoid string
      • name string
    • tract object | null
      • geoid string
      • name string
    • cbsa object | null
      • geoid string
      • name string
      • kind string
    • districts object[]
      • geoid string
      • name string
      • kind string
      • lowest_grade string
      • highest_grade string
  • census object | null

    American Community Survey profile for the tract.

    36 fields
    • owner_occupied_percent number | null
    • population_density_per_sq_km number | null
    • speaks_english_less_than_very_well_percent number | null

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

    • vintage integer
    • speaks_english_less_than_very_well number | null

      Count, not percent (DP02_0115E) Omitted for a fair-housing compliant key or sign-in.

    • per_capita_income number | null
    • median_household_income number | null
    • average_household_income number | null
    • total_number_of_homes number | null
    • homes_occupied_by_owner number | null
    • units_in_structure_total number | null
    • units_in_structure_2 number | null
    • units_in_structure_3_4 number | null
    • units_in_structure_5_9 number | null
    • units_in_structure_10_19 number | null
    • units_in_structure_20_plus number | null
    • units_in_structure_mobile_home number | null
    • median_home_price_owner_occupied number | null
    • median_rental_price number | null
    • total_population number | null
    • median_age number | null

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

    • percentage_under_18 number | null

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

    • percentage_employed number | null
    • born_in_the_united_states number | null

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

    • bachelors_degree_or_higher number | null
    • high_school_graduate_or_higher number | null
    • percentage_male number | null

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

    • percentage_female number | null

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

    • percentage_white number | null

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

    • percentage_african_american number | null

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

    • percentage_native_american number | null

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

    • percentage_asian number | null

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

    • percentage_native_hawaiian number | null

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

    • percentage_other_race number | null

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

    • percentage_two_races number | null

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

    • percentage_hispanic number | null

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

  • climate object

    National Risk Index scores for the tract and the county.

    • tract object | null
      29 fields
      • vintage integer
      • nri_version string
      • nri_id string
      • risk_score number | null
      • risk_rating string
      • risk_state_percentile number | null
      • eal_score number | null
      • eal_rating string
      • eal_total number | null

        Expected annual loss, dollars

      • sovi_score number | null
      • sovi_rating string
      • resl_score number | null
      • resl_rating string
      • coastal_flood_risk_score number | null
      • coastal_flood_risk_rating string
      • inland_flood_risk_score number | null
      • inland_flood_risk_rating string
      • hurricane_risk_score number | null
      • hurricane_risk_rating string
      • heat_wave_risk_score number | null
      • heat_wave_risk_rating string
      • tornado_risk_score number | null
      • tornado_risk_rating string
      • lightning_risk_score number | null
      • lightning_risk_rating string
      • strong_wind_risk_score number | null
      • strong_wind_risk_rating string
      • wildfire_risk_score number | null
      • wildfire_risk_rating string
    • county object | null
      29 fields
      • vintage integer
      • nri_version string
      • nri_id string
      • risk_score number | null
      • risk_rating string
      • risk_state_percentile number | null
      • eal_score number | null
      • eal_rating string
      • eal_total number | null

        Expected annual loss, dollars

      • sovi_score number | null
      • sovi_rating string
      • resl_score number | null
      • resl_rating string
      • coastal_flood_risk_score number | null
      • coastal_flood_risk_rating string
      • inland_flood_risk_score number | null
      • inland_flood_risk_rating string
      • hurricane_risk_score number | null
      • hurricane_risk_rating string
      • heat_wave_risk_score number | null
      • heat_wave_risk_rating string
      • tornado_risk_score number | null
      • tornado_risk_rating string
      • lightning_risk_score number | null
      • lightning_risk_rating string
      • strong_wind_risk_score number | null
      • strong_wind_risk_rating string
      • wildfire_risk_score number | null
      • wildfire_risk_rating string
  • housing object

    Latest Redfin market month for the ZIP, county, state, and nation. Not a value for a specific house. Cite Redfin when you display these figures.

    • zip object | null
      16 fields
      • grain string

        One of zip, county, state, nation.

      • geoid string
      • period_end string
      • period_duration integer
      • median_sale_price number | null
      • median_sale_price_yoy number | null
      • median_list_price number | null
      • median_ppsf number | null
      • homes_sold integer | null
      • new_listings integer | null
      • inventory integer | null
      • months_of_supply number | null
      • median_dom integer | null
      • avg_sale_to_list number | null
      • sold_above_list number | null
      • price_drops number | null
    • county object | null
      16 fields
      • grain string

        One of zip, county, state, nation.

      • geoid string
      • period_end string
      • period_duration integer
      • median_sale_price number | null
      • median_sale_price_yoy number | null
      • median_list_price number | null
      • median_ppsf number | null
      • homes_sold integer | null
      • new_listings integer | null
      • inventory integer | null
      • months_of_supply number | null
      • median_dom integer | null
      • avg_sale_to_list number | null
      • sold_above_list number | null
      • price_drops number | null
    • state object | null
      16 fields
      • grain string

        One of zip, county, state, nation.

      • geoid string
      • period_end string
      • period_duration integer
      • median_sale_price number | null
      • median_sale_price_yoy number | null
      • median_list_price number | null
      • median_ppsf number | null
      • homes_sold integer | null
      • new_listings integer | null
      • inventory integer | null
      • months_of_supply number | null
      • median_dom integer | null
      • avg_sale_to_list number | null
      • sold_above_list number | null
      • price_drops number | null
    • nation object | null
      16 fields
      • grain string

        One of zip, county, state, nation.

      • geoid string
      • period_end string
      • period_duration integer
      • median_sale_price number | null
      • median_sale_price_yoy number | null
      • median_list_price number | null
      • median_ppsf number | null
      • homes_sold integer | null
      • new_listings integer | null
      • inventory integer | null
      • months_of_supply number | null
      • median_dom integer | null
      • avg_sale_to_list number | null
      • sold_above_list number | null
      • price_drops number | null
  • schools object

    Nearby schools, their newest outcomes, and the district for this point.

    • nearby object[]
      33 fields
      • nces_id string

        Public schools use the 12-digit NCES id. Private schools use the EDGE PPIN. A PSS prefix on that id is accepted.

      • name string
      • school_level string

        One of elementary, middle, high, other.

      • is_charter boolean
      • is_private boolean
      • is_open boolean
      • enrollment integer | null
      • city string
      • state string
      • zip string
      • grade_low string
      • grade_high string
      • lea_id string
      • lea_name string
      • phone string

        School phone. CCD directory for public schools, PSS survey for private schools.

      • school_type string

        regular, special_education, vocational, or alternative. Public schools only.

      • locale string

        city, suburb, town, or rural. Public schools only.

      • magnet boolean | null

        True when CCD or CRDC marks the school as a magnet. CRDC fills the flag when CCD leaves it blank.

      • title_i boolean | null

        True when the school is Title I eligible or schoolwide.

      • virtual boolean | null

        True when the school is fully virtual.

      • teachers_fte number | null

        Teacher full-time equivalent. Private schools use the PSS teacher count.

      • student_teacher_ratio number | null

        Enrollment divided by teacher FTE.

      • free_reduced_lunch integer | null

        Students eligible for free or reduced-price lunch. Public schools only.

      • ap_enrolled integer | null

        Students enrolled in at least one AP course. CRDC all-students count.

      • ib_enrolled integer | null

        Students enrolled in the International Baccalaureate program. CRDC all-students count.

      • sat_act_students integer | null

        Students who took the SAT or ACT. CRDC all-students count.

      • vintage integer

        CCD directory year for public schools. PSS fall year for private schools. 2021 is school year 2021-22.

      • latitude number
      • longitude number
      • distance_miles number | null
      • assessment object | null

        Newest EDFacts reading and math results for this school.

        • vintage integer

          EDFacts assessment year. 2022 is school year 2021-22.

        • read_pct_prof number | null

          Percent of students proficient in reading.

        • math_pct_prof number | null

          Percent of students proficient in math.

        • read_num_valid integer | null

          Students with a valid reading score.

        • math_num_valid integer | null

          Students with a valid math score.

      • graduation object | null

        Newest EDFacts four-year graduation rate for this school.

        • vintage integer

          EDFacts graduation year. 2020 is school year 2019-20.

        • grad_rate number | null

          Four-year adjusted cohort graduation rate, all students.

        • cohort_size integer | null

          Students in that adjusted cohort.

        • grad_rate_disadvantaged number | null

          Four-year graduation rate for economically disadvantaged students.

      • safety object | null

        Newest Civil Rights Data Collection offenses and suspensions for this school.

        14 fields
        • vintage integer

          CRDC collection year. 2021 is school year 2021-22.

        • physical_attacks_with_weapon integer | null

          Physical attacks or fights with a weapon.

        • physical_attacks_no_weapon integer | null

          Physical attacks or fights without a weapon.

        • threats_of_violence integer | null

          Threats of physical attack, with or without a weapon.

        • robberies integer | null

          Robberies with or without a weapon.

        • rape_or_sexual_battery integer | null

          Incidents of rape or sexual battery.

        • firearm_explosive_possession integer | null

          Incidents of firearm or explosive possession.

        • firearm_incident boolean | null

          Whether the school reported a firearm incident.

        • violent_incidents_total integer | null

          Attacks, threats, robberies, and sexual incidents combined.

        • oss_single integer | null

          Students suspended out of school once.

        • oss_multiple integer | null

          Students suspended out of school more than once.

        • out_of_school_suspensions integer | null

          Students with one or more out-of-school suspensions. Not the number of incidents.

        • suspension_incidents integer | null

          Out-of-school suspension incidents. A student suspended twice counts twice.

        • harassment_allegations integer | null

          Allegations of harassment or bullying.

    • district object | null
      • geoid string
      • lea_id string

        NCES district id. The same value as geoid.

      • name string

        Full district name.

      • short_name string

        Short district name.

      • kind string
      • lowest_grade string
      • highest_grade string
      • in_district boolean

        False when the point is outside every district and this is the nearest school's district.

  • amenities object

    Counts and nearest places within a radius.

    • miles number
    • counts map of integer

      How many places of each type fall inside the radius.

    • nearest map of object | null

      The closest place of each type.

      • gers_id string
      • name string
      • amenity_group string
      • basic_category string
      • confidence number | null
      • latitude number
      • longitude number
      • distance_miles number | null
  • crime object

    Crime rates for the tract, place, and ZIP.

    • tract object | null
      14 fields
      • violent_rate_per_1k number
      • property_rate_per_1k number
      • violent_grade string
      • property_grade string
      • method string
      • method_kind string
      • method_text string
      • grade_note string
      • geoid string
      • place_name string
      • agency_name string
      • source_year integer | null
      • source string
      • population integer | null
    • place object | null
      • crime object | null
        11 fields
        • year integer
        • source string
        • agency_name string
        • agency_population integer | null
        • violent integer | null
        • property integer | null
        • violent_rate_per_100k number | null
        • property_rate_per_100k number | null
        • confidence string
        • confidence_reasons string[]
        • attribution string
      • display object
        • show boolean
        • level string
        • text string
      • estimate object | null
        16 fields
        • violent_rate_per_1k number
        • property_rate_per_1k number
        • violent_grade string
        • property_grade string
        • method string
        • method_kind string
        • method_text string
        • grade_note string
        • source_year integer
        • source_years string
        • agency_name string
        • agency_population integer | null
        • county_name string
        • has_own_police boolean
        • source string
        • attribution string
    • zip object | null
      16 fields
      • violent_rate_per_1k number
      • property_rate_per_1k number
      • violent_grade string
      • property_grade string
      • method string
      • method_kind string
      • method_text string
      • grade_note string
      • zcta string
      • est_population integer | null
      • n_tracts integer
      • coverage_share number | null
      • local_data_share number
      • mixed_sources boolean
      • source_years integer[]
      • zip_note string

Status

  • 200 Profile for that point.
  • 400 The address could not be geocoded, or lat and lng were not both numbers.
  • 401 Missing or invalid credentials.
  • 403 This plan has no call allowance configured.
  • 404 No geography is loaded for that point.
  • 429 Monthly call limit reached.