Search Homes for Sale

View All Realtor Property Data APIs →

Find U.S. for-sale listings using a city, ZIP code, address or location ID from property-auto-complete. New York, NY with sort=newest was live-tested. Successful responses contain status=true, message, a flat data array, resultsPerPage, totalResultCount, totalPages and currentPage. Observed listing fields include property_id, listing_id, status=for_sale, list_price, list_date, location.address, description.beds/baths/sqft, primary_photo.href and photos[].href; some attributes are null. Optional price, room, home-size, property-type and amenity inputs are documented but were not individually validated. pageSize=8 returned 30 rows, so use the actual array length and verify page transitions rather than trusting requested sizes or perfectly consistent totals. An impossible city returned HTTP 200 with status=false, data=null and a misleading pagination message; inspect the business status instead of treating HTTP 200 alone as a successful search.

API Features

Sale inventory discovery The verified New York search returned for_sale records with property and listing identifiers.
Asking-price listing cards Combine available list_price, address, bedroom and bathroom fields with primary_photo; preserve null values.
Documented buyer filters Price, home size, lot size, property type and amenities are available as request inputs; validate their behavior before relying on them.
Search outcome inspection Read status and message even on HTTP 200; no-match searches can return a pagination error rather than an empty array.

Live API Demo

GET /api/project/realtor/property-search-buy

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/realtor/property-search-buy?key=<API_KEY>&location=New+York%2C+NY&sort=newest&page=1&newConstructionOnly=false&virtualToursOnly=false&garageParking=false&hide55plusCommunity=false&foreclosuresOnly=false&hideHomesNotYetBuilt=false&has3dTours=false&showHomesWhereHoaIsNotKnown=false&openHousesOnly=false&hidePendingContingent=true&priceRecentlyReducedOnly=false'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

Can I search homes for sale by ZIP code instead of city?

The documented location input accepts a city, ZIP code, address or ID returned by property autocomplete. New York, NY was live-tested; check the returned addresses when using another area.

Why did pageSize=8 return 30 listings?

The observed response did not enforce the requested count. Use the actual data array length, inspect adjacent pages and deduplicate identifiers rather than treating pageSize as a strict response cap.

Does HTTP 200 mean the sale search succeeded?

No. An impossible city returned status=false, data=null and an ambiguous pagination message with HTTP 200. Inspect the gateway code/message/data and the search payload business status.

Related operations

Guides

View Subscription Plans →