Unofficial Realtor.com API to scrape data on properties for sale, rent, or sold from one of the biggest real estate listings websites in the US.
Realtor.com is one of the biggest real estate listing websites in the US. It has a huge list of condos, family homes, land, farms, and lots of other types of properties for buying, selling, and renting.
The Realtor data scraper supports the following features:
- Scrape property details: scrape attributes such as property images, price, features, neighborhood, nearby schools, and many more.
- Scrape sold properties: scrape sold properties by search.
- Scrape for sale properties: if you're looking for a property for sale, you can directly target these.
- Scrape rental properties: rental properties can be directly targeted.
- Scrape by keyword: use location keywords to search specific search lists. You can also directly highlight rental, for sale, or sold properties with this feature.
- Scrape properties by filter: auto-detection of URLs helps you to directly copy and paste URLs into the scraper to apply any filtering you like.
Setup & usage
You can see how this actor works in these videos:
Everything you need is there: a comprehensive readme, all possible inputs, outputs, and settings of the actor, including CU consumption details.
This scraper is under active development. If you have any feature requests or questions, you can create an issue here.
To be able to use the actor, you need an Apify account. Just go ahead and create a free account. Then you can click the "Try me" button from here. Realtor Scraper comes with a free trial of 7 days and then only costs $30 a month.
After that, you will be redirected to Apify Console. This is where you can run and integrate the actor and review the logs and results.
There are multiple options you can specify here: Start URLs, Search terms, Search modes, Category end page, Maximum number of properties, and Proxy.
- Start URLs: these are the entry points of the actor which are necessary to run it. You can use a property details URL or a search URL.
- Search terms: you can specify the keywords you want to search for in Realtor. To be able to use it, mode must be set as well.
- Search mode: this is the mode for the actor. It uses the keyword provided to the actor, so you must enter one. Possible options are BUY, RENT, and SOLD.
- Category end page: this is the final number of the page you want to scrape.
When you want to filter a search URL, go to Realtor, create filters for the search list and copy and paste the link as one of the start URLs.
If you would like to scrape only the first page of a search list, then put the link for the page and have the endPage as 1.
With the last approach that explained above, you can also fetch any interval of pages. If you provide the 5th page of a search list and define the endPage parameter as 6 then you’ll have the 5th and 6th pages only.
P.S. You should always use a proxy to get the best results.