Look up HUD ZIP and area rent benchmarks in Python
Look up genuine two-bedroom ZIP and area benchmarks, preserving fiscal years and dated reevaluation exceptions.
Look up ZIP and area rent benchmarks
A housing analyst has a list of ZIP codes and wants two-bedroom HUD rent benchmarks. The ZIP-level Small Area Fair Market Rent provides local detail; the parent-area Fair Market Rent supplies broader context. The fiscal year and effective-status fields distinguish published figures from the benchmarks retained by HUD’s reevaluation notice.
Download zip_rents.csv and area_rents.csv below. These are genuine subsets of the purchased tables: all bedrooms and area relationships for ZIP codes 27601, 27513 and 03766, plus both parent areas. All columns are unchanged. The ZIP list and two-bedroom selection are in the Python code below; no records are invented.
The full $29 edition includes 259,355 ZIP-area-bedroom records for 38,601 source ZIP codes, 13,030 area-bedroom benchmarks and supporting geography, notice and audit tables. Inspect the complete download.
Code example
Place both CSVs in your working directory and run this code in a notebook cell, IPython or a script. It uses Python’s standard library and keeps ZIP codes as text. The selected ZIPs each have one HUD area; the code stops for missing or ambiguous ZIPs so that an area is not chosen silently.
Paths are relative to your working folder; use from pathlib import Path; print(Path.cwd()) to check it, or supply full paths.
import csv
# Genuine ZIP selections; the sample includes every area/bedroom row for each ZIP.
zip_codes = ['27601', '27513', '03766']
bedrooms = '2'
with open('zip_rents.csv', newline='', encoding='utf-8') as f:
selected = [r for r in csv.DictReader(f)
if r['zip_code'] in zip_codes and r['bedrooms'] == bedrooms]
with open('area_rents.csv', newline='', encoding='utf-8') as f:
area_rows = [r for r in csv.DictReader(f) if r['bedrooms'] == bedrooms]
areas = {}
for row in area_rows:
if row['hud_area_code'] in areas:
raise ValueError('Duplicate area/bedroom benchmark')
areas[row['hud_area_code']] = row
results = []
for zip_code in zip_codes:
matches = [r for r in selected if r['zip_code'] == zip_code]
if len(matches) != 1 or matches[0]['zip_area_count'] != '1':
raise ValueError(f'{zip_code}: inspect the available HUD areas before choosing one')
row = matches[0]
area = areas[row['hud_area_code']]
if row['unit'] != 'USD_per_month_gross_rent' or row['status_as_of'] != area['status_as_of']:
raise ValueError('Incompatible units or status dates')
results.append({
'zip_code': zip_code,
'hud_area_code': row['hud_area_code'],
'bedrooms': bedrooms,
'zip_published_fy2027_usd': row['published_rent_usd'],
'zip_benchmark_fiscal_year': row['benchmark_fiscal_year'],
'zip_benchmark_usd': row['benchmark_rent_usd'],
'area_benchmark_fiscal_year': area['benchmark_fiscal_year'],
'area_benchmark_usd': area['benchmark_rent_usd'],
'status_as_of': row['status_as_of'],
})
print(f"{zip_code} | {row['hud_area_name']} | {bedrooms} bedrooms")
print(f" ZIP published FY2027: ${int(row['published_rent_usd']):,}; "
f"benchmark at notice: FY{row['benchmark_fiscal_year']} ${int(row['benchmark_rent_usd']):,}")
print(f" Area benchmark at notice: FY{area['benchmark_fiscal_year']} "
f"${int(area['benchmark_rent_usd']):,}; status as of {row['status_as_of']}")
Analysis of the output
27601 | Raleigh-Cary, NC MSA | 2 bedrooms
ZIP published FY2027: $1,750; benchmark at notice: FY2027 $1,750
Area benchmark at notice: FY2027 $1,689; status as of 2026-10-01
27513 | Raleigh-Cary, NC MSA | 2 bedrooms
ZIP published FY2027: $1,840; benchmark at notice: FY2027 $1,840
Area benchmark at notice: FY2027 $1,689; status as of 2026-10-01
03766 | Grafton County, NH | 2 bedrooms
ZIP published FY2027: $2,390; benchmark at notice: FY2026 $2,650
Area benchmark at notice: FY2027 $1,719; status as of 2026-10-01
The two Raleigh-area ZIPs have FY2027 two-bedroom benchmarks of $1,750 and $1,840, compared with $1,689 for their common parent area. This gives the analyst separate local and area-wide reference amounts. The figures are monthly gross rents, including qualifying tenant-paid utilities. They are not advertised rents or a particular housing agency’s adopted payment standards.
ZIP 03766 illustrates why the fiscal-year fields matter. HUD published $2,390 for FY2027, but its October 1 notice retains the revised FY2026 amount of $2,650 for this ZIP. The parent Grafton County area remains on FY2027. The product preserves all of those values; a ZIP-specific exception does not change the entire area.
status_as_of is October 1, 2026, the retained notice date. The source files were captured November 10, but the example is not a live determination of what applies today. Consult HUD and the relevant housing agency before making an operational payment-standard decision.
Using the full dataset
Extract the purchased ZIP and replace both samples with their full tables; the code runs unchanged. Edit zip_codes and bedrooms for your task. Bedrooms run from studio (0) through four (4).
In the full source, 10,093 ZIP codes appear under more than one HUD area. Use zip_area_count to find them, inspect the available areas and select the correct area for your location. The unique key is zip_code + hud_area_code + bedrooms. ZIP codes are postal identifiers, not Census ZCTAs; this package does not supply a ZIP-to-county allocation or spatial weights.
area_membership.csv retains the original county/town relationships. One label inconsistency is recorded in area_label_differences.json: the ZIP workbook labels 06384 with a Connecticut planning-region name while its area code refers to the Voluntown exception area. Both source labels remain intact. Do not apply that exception-area rent to the whole planning region.
reevaluation_requests.csv records the reviewed notice treatment. Twelve whole areas and two additional ZIP-specific cases retain FY2026 benchmarks; other listed requests still use FY2027. The 90% and 110% columns preserve HUD’s arithmetic reference values, not adopted agency standards. Complete FY2026 history, agency participation and utility allowances are outside this edition.
The construction and housing markets collection adds ACS housing estimates, county house-price growth and regional vacancy context. Check geography, periods and concepts before combining them: none is interchangeable with a HUD rent benchmark.
Sources and versions
HUD’s free area FMR and ZIP-level SAFMR workbooks supply the original values. FY2027 tables were published September 1, 2026 and generally became effective October 1. A retained notice as of October 1 identifies exceptions; revised FY2026 workbooks supply their holdover amounts.
ACD adds consistent CSVs, preserved identifiers, reviewed notice handling, coverage checks, documentation and this tested example. Read the source and preparation record. Processing improvements and documented publisher error corrections to the purchased edition are included. New source editions may be separate purchases.
Example checked November 10, 2026 against both these samples and the complete purchased files. Source and processing records, sample checksums · Expected result CSV. Independent preparation; no agency endorsement.