Matthew Kong

Case studies/Zillow, 2025

Fee transparency and partner feed data quality

A canonical fee taxonomy with provenance and a quarantine queue, so the monthly total a renter sees is explainable and right.

Close-up of stylesheet code on a monitor
  1. Partner feed
  2. Schema validator
  3. Canonical fee model
  4. Quarantine or fee DB
  5. Price aggregation
  6. GraphQL listing API
  7. Fee breakdown UI

Why this work, at that time

Zillow expanded fee breakdowns and required-total monthly pricing in 2025, as multifamily listings grew toward 2.4 million monthly active rental listings.

The problem

Property managers sent rent, utilities, parking, pet charges and one-time fees in inconsistent formats. Renters needed an accurate, explainable cost breakdown, and a successful API response was not the same thing as a correct one.

The team and my part

Eight engineers spanning partner ingestion and listing UI: three ingestion and backend, two API, two frontend, one test automation, with PM, legal and compliance, and partner operations consulted. I owned the canonical fee contract and its validation rollout.

Data and index design

source_fee(source_id, listing_id, raw_type, amount, frequency, ingested_at); fee_component(listing_id, kind, amount, period, required, version); price_snapshot(listing_id, base_rent, required_monthly_total, source_version).

API and event contract

POST /partners/fees/batch with a versioned schema. GET /listings/{id}/cost-breakdown returns base rent, mandatory monthly fees, optional fees, one-time fees, the update timestamp and provenance. Event fee.updated.

Core logic

Parse the partner mapping, validate currency and frequency, classify each fee as required or optional only from explicit source metadata, compute the required monthly total deterministically, and publish only validated, coherent snapshots.

Implementation sequence

  1. Define the canonical fee taxonomy with product, compliance and partner teams, with worked examples.
  2. Build the schema validator and per-partner transform configuration. Never silently infer a missing obligation.
  3. Store the raw feed with lineage, the canonical fee rows and a versioned price snapshot.
  4. Create a reconciliation report against partner-provided expected totals, plus an exception queue and reprocessing UI.
  5. Shadow the calculations, compare old and new display per listing, release behind per-partner flags and monitor discrepancies.

Environments and release

Go or Python ingestion workers with SQL, a queue and the GraphQL and TypeScript UI. Staging exercised malformed feeds and seasonal cases; production used partner-specific switchback.

Failure drill

A partner maps a recurring parking fee as one-time. Source-specific contract checks catch it, the record is quarantined, and the misleading monthly total is withheld until corrected.

Scale and targets

Modeled scale

  • About 260K rental listings in the partner cohort
  • 900K feed updates per day, 10.4 per second average, bursts near 320 per second
  • Up to nine fee components per unit and roughly 3M price reads per day in the covered UI

Acceptance targets

  • Mandatory-fee completeness at or above 99.8% among validated supplied data
  • Feed error recovery under one hour

Scale figures are the sizing model behind the design. Targets are acceptance criteria, not measured results.

The trade-off I would defend

Completeness from partner-supplied data is not a guarantee of every real-world charge. Surface provenance and last-updated timestamps rather than imply certainty.