Comparable Sales (Comps)

Comparable sold properties (comps) for a subject property

GET /api/properties/comps/

5 credits

What it returns

Comparable sold properties around a subject address, each with sale price, sale date, distance, condition, a similarity score (confidence_score) and a price adjusted to the subject (adjusted_price). What you get depends on what you send:

Each comp's size, bedrooms, bathrooms, days on market (days_on_market) and price per sq ft are those of the listing that sold wherever we hold that listing, not of a later listing of the same home, and days on market is counted as Sold Properties by ZIP counts dom: the pending date, else the sale date, minus the listing date.

When to use it

Choose your own comps

One comp from a search in Hattiesburg, MS (1 mile, 12 months, newest first):

Listing photos

Send photos=true and every comp carries photos (a list of {"href": ...} image links) and photos_listing_date, the date the listing those photos come from went on the market (YYYY-MM-DD, or null when it is not known). The photos are from the listing that sold, never from a later relisting or from the listing behind the home's previous sale. Some closed sales carry only the main photo, and some none: then photos is []. When we hold no photo set of our own for a comp, Homesage.ai uses another record of the same sale where it has one; photos_listing_date is then null. Works with Homesage.ai's own comps and when you choose your own comps, at no extra credit. Every comp, with or without photos=true, carries mls_number: the MLS number of the listing that sold, the one the photos come from (the description's listing when there are no photos), or null when it is not known.

Listing descriptions

Send descriptions=true and every comp carries listing_description, the description from the listing that sold, and listing_description_date, the date that listing went on the market. Like the photos, it never comes from a later relisting or from the listing behind the home's previous sale. It is null when we hold none. Combine with photos=true to get both.

Nearby first

By default, when there are few comparable sales near the property, the search widens its radius before it looks further back in time. Send nearby_first=true and the search looks back up to 24 months within 1 mile of the property before it widens the radius, and keeps that 24-month window as it widens, so an older sale on the same street is preferred over a newer sale several miles away. The response then includes search_order: "nearby_first", plus search_radius_used_miles and search_timeframe_months, the radius and sale window the comparable sales came from. Same credits as a standard call; it has no effect when radius_miles, months, start_date or end_date is sent.

Prices in non-disclosure states

In states where sale prices are not publicly recorded (AK, ID, IN, KS, LA, ME, MS, MO, MT, NM, ND, TX, UT, WY), a comp with no recorded sale price is priced at its last list price. It is labelled price_is_list_price: true, the price is in list_price, and sold_price is null. When the ARV uses such comps, its confidence is one tier lower and the warning says how many list prices it used.

A comp with neither a sale price nor a list price is shown among Homesage.ai's own comps as reference_only: true and is not used in the ARV. When you choose your own comps, it is left out and counted in excluded_no_price.

Similarity score and adjusted price

Performance

With just the address this is a slow endpoint — use a 60-second client timeout and cache responses. Choosing your own comps usually answers in under 3 seconds; a 10-mile radius in a dense metro with narrow filters can take more than 30 seconds.

Pricing

FAQ

How are comps ranked?

Homesage.ai's own comps are ranked by the similarity score. When you choose your own comps, by sort_by: distance (default), sold_date, sold_price, size or similarity.

Does it adjust for condition?

Condition is part of the similarity score and decides which comps the ARV uses. adjusted_price adjusts for size, bedrooms and bathrooms only.

Fallback parameters

You can pass user-supplied values for the attributes the comp model uses, as fallbacks: Homesage.ai data is always used when available; your value is used only when our record is missing that field — so verified data is never overridden. Supported fallbacks: total_size, bedrooms, bathrooms, property_type. Only total_size can unblock an otherwise-empty result; the others just refine comp matching. When neither our record nor your call has a size, Homesage.ai looks one up in its other records before it answers Missing total_size for property. year_built is intentionally not a factor in the comp/ARV model.

Every response includes a field_sources object telling you where each value came from: homesage (our data), user_provided (your fallback), or unavailable.

Parameters

Responses

Response fields

FieldTypeExample
arvnumber528423.03
arv_confidencestringmedium
comps_found_totalnumber5
warningstringThis property is in a non-disclosure sta…
comps[].addressstring187 Tallulah Rdg, Hattiesburg, MS 39402
comps[].distancestring0.22
comps[].sizenumber3354
comps[].bedsnumber4
comps[].bathsnumber4
comps[].baths_fullnumber3
comps[].baths_halfnumber1
comps[].property_typestringsingle_family
comps[].sold_pricenullnull
comps[].adjusted_pricenumber618837.21
comps[].sold_datestring2026-07-17
comps[].property_conditionstringGood
comps[].confidence_scorenumber98.5
comps[].mls_numbernullnull
comps[].list_pricenumber585000
comps[].price_is_list_pricebooleantrue
comps[].latitudenumber31.304832
comps[].longitudenumber-89.418173
comps[].used_for_arvbooleantrue
size_sourcestringhomesage
field_sources.total_sizestringhomesage
field_sources.bedroomsstringhomesage
field_sources.bathroomsstringhomesage
field_sources.property_typestringhomesage
credits_chargednumber5

Sample response

{
  "arv": 528423.03,
  "arv_confidence": "medium",
  "comps_found_total": 5,
  "warning": "This property is in a non-disclosure state (MS). Sale prices are not publicly recorded, which limits available comp data…",
  "comps": [
    {
      "address": "187 Tallulah Rdg, Hattiesburg, MS 39402",
      "distance": "0.22",
      "size": 3354,
      "beds": 4,
      "baths": 4,
      "baths_full": 3,
      "baths_half": 1,
      "property_type": "single_family",
      "sold_price": null,
      "adjusted_price": 618837.21,
      "sold_date": "2026-07-17",
      "property_condition": "Good"
    }
  ],
  "size_source": "homesage",
  "field_sources": {
    "total_size": "homesage",
    "bedrooms": "homesage",
    "bathrooms": "homesage",
    "property_type": "homesage"
  },
  "credits_charged": 5
}

Use it through the MCP

Connect the Homesage.ai MCP to Claude, ChatGPT or Cursor, and your assistant calls this as the get_comps tool. Set up the MCP.

More in AI-Powered Analysis