← Questions

Design a listing price suggestion system

0
AirbnbAI/ML designLast asked Aug 2025

An AI/ML design interview question asked in Airbnb's system design round, last asked Aug 2025. It tests regression, pricing and tabular ml.

Hosts on a home-rental marketplace often do not know what to charge. Too high and nights stay empty; too low and they lose money. Design a system that suggests a nightly price for every listing and every future date (for example the next 90 days) that maximizes the host's expected revenue, adapting to seasonality, local events and demand. Hosts see the suggestions on their calendar and can accept, change or ignore them; some hosts let the system set prices automatically.

Requirements

  • Functional: a suggested price per listing per night for the coming months; updated when demand changes or the host edits the listing; a refresh on request that returns within about 200 ms; explanations ("prices are higher this weekend because of a local event").
  • Non-functional: suggestions for millions of listings refreshed at least daily; prices within host-set minimum and maximum; hosts trust and keep using the suggestions.

Clarifying questions

  • Is the goal host revenue, bookings, or marketplace-wide revenue? (Here: the host's expected revenue.)
  • What data exist: past bookings and prices, search and view traffic, calendar availability, competitor listings, events?
  • How far ahead do we price, and how often do prices update?
  • How many hosts use automatic pricing versus manual suggestions?
  • Are there hosts' own constraints (minimum stay, min and max price)?

What a strong answer covers

  • Framing: expected revenue for a night is price times the probability of booking at that price, so model the booking probability as a function of price, listing, date and market, then choose the price that maximizes it.
  • Features: listing attributes and quality (reviews, photos), location, lead time, day of week, seasonality, local events, market demand (searches, occupancy of similar listings), competitor prices.
  • Models: a demand model (gradient-boosted trees or a neural network) with price as an input and a monotonic constraint (higher price, lower booking probability); why naive historical data confounds price and demand, and the role of price experiments.
  • Serving: a daily batch job that precomputes suggestions for all listings and dates into a cache, plus an online path that recomputes for one listing in under 200 ms.
  • Evaluation: offline accuracy of booking predictions, and online tests comparing host revenue and acceptance of suggestions; guardrails against pushing prices to zero to fill nights.
  • Trust: smooth changes, clear reasons, respecting host limits.

Follow-ups

  • A big concert is announced for next month. How quickly do prices react, and from what signal?
  • New listings have no booking history. How do you price them?
  • If every host in a city follows the suggestions, do prices feed back on themselves?

Where it's asked

What it tests

regression · pricing · tabular ml

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing