Compass
Compass Search API
Search homes for sale, rentals or homes sold in the last 90 days on Compass (compass.com, the US real estate brokerage) in a US city, ZIP, neighborhood, county or school area: highest price, fewest bedrooms, bathrooms and square feet, property type, open house this weekend, coming soon, 3 sorts, 41 a page up to 9 pages; each card with price, size, status, sold date, the listing brand and open houses. Costs 2 credits.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonmodeenum<string>default:for_saleHomes for sale, rentals or homes sold in the last 90 days.
Example: for_rent
for_sale— Homes for sale (default).for_rent— Rentals; price is rent per month.sold— Homes sold in the last 90 days (Compass's recently sold window).
areastringrequiredA Compass area slug from suggestions (areas[].slug): a city (austin-tx, manhattan-ny), a city and ZIP (los-angeles-ca-90012), a neighborhood (brooklyn-heights-brooklyn-ny), a county, or a school (school/<slug>, school-district/<slug>). A place written as "Austin, TX" reads as its slug. 2-160 characters.
Example: manhattan-ny
price_maxintegerHighest price, USD (on for_rent the monthly rent).
Example: 2000000
beds_minintegerFewest bedrooms, 1-10.
Example: 2
baths_minintegerFewest bathrooms, 1-10.
Example: 2
sqft_minintegerSmallest size in square feet.
Example: 1000
property_typeenum<string>One property type.
Example: condos
homes— Single family.condos— Condos.townhomes— Townhomes.co_ops— Co-ops.multi_family— Multi-family.land— Land.
open_housebooleanMode for_sale: only homes with an open house this weekend. Not with coming_soon.
Example: true
coming_soonbooleanMode for_sale: only Coming Soon listings. Not with open_house.
Example: true
sortenum<string>default:defaultCompass's own order or price.
Example: price_asc
default— Compass's own order (default).price_asc— Lowest price first.price_desc— Highest price first. On sold, Compass orders by its own price field, so prices run close to, not strictly in, order.
pageintegerdefault:1Page, 1-9 (41 listings a page). Compass pages through the first 369 results of a search; a page past the end answers with no listings and a note.
Example: 2
Notes
Compass. Compass (compass.com, the US real estate brokerage) lists homes for sale, rentals and recently sold homes across the US, in English and USD. Since its merger with Anywhere Real Estate closed in January 2026, Coldwell Banker, Corcoran, Century 21 and Sotheby's International Realty listings appear on compass.com under their own brand. Compass publishes no public API for reading listings. This endpoint costs 2 credits. No agent names, emails, phones, license numbers or photos are returned: Compass shows agent contacts on its listings and the API leaves them out, and phone numbers and emails are taken out of listing descriptions. The listing brand (brand: Compass, Corcoran, Coldwell Banker Realty, Sotheby's International Realty) is a business name and is kept. Agent suggestions are left out of suggestions. 41 listings a page, pages 1-9. total is Compass's own count; reachable is what its pages reach, at most 369 (9 pages of 41): Compass pages through the first 369 results of a search, and notes says so when total is larger. Narrow the area (a ZIP or neighborhood slug from suggestions) or the filters to read the rest. A page past the end answers with no listings and a note (charged). criteria echoes the filters as Compass applied them; Compass does not apply a minimum price or a maximum bedroom count next to other filters, nor year built or lot size, so price_min, beds_max, year_built_min, year_built_max and lot_min are refused with a 400 instead of being dropped. Three captures on 2026-11-26: Manhattan homes for sale up to 2,000,000 USD with at least 2 bedrooms read a total of 1,219, reachable 369 (41 cards on page 1: 23 listed by Compass, 14 by Corcoran, 4 by Sotheby's International Realty; 9 with an open house this week; median asking price 1,150,000); Los Angeles rentals up to 4,000 a month with at least 1 bedroom read 2,550 (median rent on page 1 3,300; 18 Coldwell Banker Realty, 17 Compass, 4 Sotheby's International Realty, 1 Coldwell Banker, 1 Century 21, and one coming-soon card); Austin single-family homes sold in the last 90 days, highest price first, read 1,857, sold between 2026-08-28 and 2026-11-23 at 2,790,000 to 12,995,000. Send area as a Compass slug from suggestions (areas[].slug) or a place written as City, ST; the answer returns area { slug, location_id }.
| Endpoint | Credits |
|---|---|
search | 2 credits |
listing | 2 credits |
suggestions | 2 credits |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=240)
# Manhattan homes for sale up to 2,000,000 with at least 2 bedrooms (2 credits).
d = client.compass.search(area="manhattan-ny", price_max=2000000, beds_min=2)["data"]
print(d["area"]["slug"], d["total"], d["reachable"], d["pages"], d["notes"])
for l in d["listings"]:
print(l["address"], l["neighborhood"], l["price"], l["beds"], l["baths"], l["status"], l["brand"], l["open_houses"])Response