Zillow For Sale Real Estate Data Python 2021 [UPDATED] | Easy Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ค. 2024
  • Do you want access to real estate data to automate your processes? Look no further! In this video, we will cover how to use Zillow.com API to extract property data at scale. This is an easy python tutorial. We will cover data for two endpoints including for sale properties and property detail.
    US Real Estate Course FREE Sign-up: bit.ly/3jFnMjJ
    [Please note this course will only be free for those that register prior to release. The anticipated release date is November 1st, 2021.]
    Google Colab Notebook: bit.ly/3y9twHL
    Rapid API Zillow.com: rapidapi.com/apimaker/api/zil...
    ~-~~-~~~-~~-~-
    Resources & Services:
    Facebook group - / 263033709360071
    AnalyticsAriel Courses and Coaching - analyticsariel.teachable.com/...
    PropStream (7 Day Trial) - trial.propstreampro.com/analy...
    Apify (Web Scraping Tool) - www.apify.com?fpr=cy7vq
    Medium (Blog) - / membership
    Jasper AI - jasper.ai?fpr=analyticsariel
    ~-~~-~~~-~~-~-
    Share this video:
    • Zillow For Sale Real E...
    ~-~~-~~~-~~-~
    Related video(s):
    • How to get Zillow For ...
    ~-~~-~~~-~~-~
    Subscribe to this TH-cam channel:
    / @techinrealestate
    ~-~~-~~~-~~-~
    Want to learn more about how to apply analytics to your small real estate business? So that you can get back to the front-end work (building relationships and finding deals), why you started up in the first place. Then make sure to visit AnalyticsAriel for a free consultation on the page below:
    www.analyticsariel.com/
    ~-~~-~~~-~~-~

ความคิดเห็น • 66

  • @TechInRealEstate
    @TechInRealEstate  2 ปีที่แล้ว

    Have real estate data analytics questions? Join the private Facebook Group to ask questions and learn from peers - facebook.com/groups/techinrealestate

  • @hansenmarc
    @hansenmarc 24 วันที่ผ่านมา +1

    Great tutorial. Thanks!

  • @sidverma1888
    @sidverma1888 2 ปีที่แล้ว

    Awesome content, great delivery! Thank you!

  • @toberighteous
    @toberighteous 2 ปีที่แล้ว

    Thanks a lot

  • @zacharyknepp927
    @zacharyknepp927 2 ปีที่แล้ว

    Did not know about rapid api before this. Thank you

  • @JorgeJaramillocom
    @JorgeJaramillocom 2 ปีที่แล้ว

    Great video, Ariel, thank u.

  • @joeyalfieri1721
    @joeyalfieri1721 2 ปีที่แล้ว +1

    I've been watching web scraping/api tutorials for a month now, this is by far the best channel ive come across. You will blow up with more subscribers soon!

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      Thank you I really appreciate it, glad it’s helped!

  • @dandan141414
    @dandan141414 ปีที่แล้ว

    This was my first experience with Google Colab and RapidAPIs. Excellent tutorial -- and I have to say, I'm really blow away by this script. Very cool. I got it working following your directions and by making a copy of your project in google colab.

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Thanks for watching Dan, glad to hear you found the tutorial easy to follow 👍

  • @sonjaburke9097
    @sonjaburke9097 2 ปีที่แล้ว

    thank you so much for this!! this is so helpful!!

  • @johnniewalkeriii3437
    @johnniewalkeriii3437 2 ปีที่แล้ว

    Thank you for the amazing video. I really appreciate the helpful information. I ran into a problem when I converted the data frame. It ran the cell, but it's saying that I am missing the required parameters.

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      You're welcome! Could you send over the notebook you are running to arielherrera@analyticsariel.com? I can take a look

  • @jordans4234
    @jordans4234 2 ปีที่แล้ว

    Thank you for posting this. I learned a lot of new things that'll be so helpful. One thing I'd really like to find is a metric like ("number of contacts" or "number of applications") per "number of days posted as available for rent." I don't really see those fields as available options through the API, but with so much data there, maybe I'm just missing it. Again, thanks for the great video

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      Hi Jordan, thanks for watching! I do not see an option to retrieve rental listings fields. However, you could try requesting it by contacting the API maker. Or if you need a web scraper built to retrieve it you can try using Apify - apify.com/industries/real-estate?fpr=cy7vq

    • @jordans4234
      @jordans4234 2 ปีที่แล้ว

      @@TechInRealEstate Thanks for responding Ariel. Maybe I'll do that eventually once I get more comfortable with the wealth of info you provided on this video. In fact, when I looked at the sample file your report output (after changing a few of the parameters since I wanted to look at "for rent" and not "for sale"), I found the "price history" field to have some pretty good info in there. That might be kind of an alternative for me. Piggybacking off your comment to Jacob about outputting more than just a page at a time with a for loop or do while loop - that sounds great. I'm kind of new to programming and very new to python. Would it be like creating a list and appending a page to the list for each iteration? Thanks again. Looking forward to your class!

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      @@jordans4234 Glad the price history field can help! Yes, it would be using a for loop to get the response for each page. Then joining it back together. I created a quick tutorial on how to do so, hope this helps! - bit.ly/3Cbytmk

    • @jordans4234
      @jordans4234 2 ปีที่แล้ว

      @@TechInRealEstate That tutorial was awesome. Exactly what I needed. Thank you!

  • @lisadevito4956
    @lisadevito4956 2 ปีที่แล้ว

    Really informative. Thank you! Is there a way to find properties a list of properities that were previously for sale, pending or under contract but not sold for a given geographic area, e.g., zip code? Thank you very much.

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว +1

      Thanks for watching Lisa! I have not found a straight forward way to locate expired listings yet. You can take the approach of retrieving daily listings from a zip code via the API. Store the data in a table. Implement logic to determine if a property was on your list prior date vs. current date. For those properties that are no longer listed, cross-check via the "property-details" api to see if it was recently sold or not. If the property was not sold, then it should meet your criteria. Feel free to schedule time with me if you have any further questions via my website

    • @lisadevito4956
      @lisadevito4956 2 ปีที่แล้ว

      @@TechInRealEstate Thank you very much, Ariel! That makes sense as a workaround.

  • @deontebodrick8610
    @deontebodrick8610 ปีที่แล้ว

    hi i am trying to use this to integrate it into podio do you have a video on how to do this

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Hi Deonte thanks for watching! I messaged you back on the most recent comment on steps to find integration help 👍

  • @Razolution
    @Razolution ปีที่แล้ว +1

    How up to date is the data that you say was scraped from Rapid?
    Btw, great video

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Thanks for watching! It should be real-time as per their description - rapidapi.com/apimaker/api/zillow-com1

  • @chideraokafor4087
    @chideraokafor4087 ปีที่แล้ว

    Hi, Love your videos. After following your steps, I only got 40 results for HTX. I want to use the data for a ds project, how can I get more than 40 rows. Ideally, I'll love 10k+ rows so I can show my skill working with big data? Thank you for your tutorials!

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Hi Chidera thanks for watching! The API returns 40 properties at a time via the /propertyExtendedSearch endpoint. To obtain all pages you need to do a FOR LOOP to iterate through all pages available. The number of pages can be found in the "totalPages" key from the response. You can set the page you want to get data for via the "page" parameter. The resolution can also be found in the "popular questions" section of the API - rapidapi.com/apimaker/api/zillow-com1/tutorials/popular-questions
      Hope this helps!

    • @chideraokafor4087
      @chideraokafor4087 ปีที่แล้ว

      @@TechInRealEstate a channel owner that responds! Thank youuu that worked.
      One last question.. do you know if we can get info for multiple cities at once using the search string? Or it’s only for 1 city at a time?

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      @@chideraokafor4087 Glad it worked! Only 1 city at a time

  • @justinhewitt5725
    @justinhewitt5725 ปีที่แล้ว

    Hi Ariel, thanks for this great video. When there are multiple pages of results and you're using a while loop to iterate through the pages, how do you compile the results (a list?) I'm struggling to convert the list to a dataframe

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Hey Justin thanks for watching! In the for loop you should be able to compile each response or DataFrame into a list and concatenate them using Pandas - pandas.pydata.org/docs/reference/api/pandas.concat.html. Feel free to reach out to me directly at arielherrera@analyticsariel.com or on the Facebook Group if you need help! 😊

    • @justinhewitt5725
      @justinhewitt5725 ปีที่แล้ว

      @@TechInRealEstate Thank you!

  • @martinmorenocerda8687
    @martinmorenocerda8687 ปีที่แล้ว

    Now you have to pay for Zillow API

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Thanks for watching Martin! Yes the data providers charge for larger volume of data requests. If you’d like to stick to a free option you can create your own web scraping bot for the website and run the code locally 👍

  • @thewilltejeda
    @thewilltejeda 2 ปีที่แล้ว

    Cool vid

  • @aloginov
    @aloginov ปีที่แล้ว

    Thanks for the video, very well done!
    On zillow website they have "Est. payment" / "Estimated monthly cost", which includes mortgage, taxes, HOA, etc..
    Do you know if this API has this data, or it's calculated dynamically on the website?

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      Hi Alex thanks for watching! Yes you can extract that information from the same API using the /property endpoint. This gives property details including mortgage, tax, HOA. My upcoming course details how to extract this information to calculate metrics like cash flow

    • @aloginov
      @aloginov ปีที่แล้ว

      @@TechInRealEstate Right, I see that endpoint has all the data that goes into the "Estimated monthly cost" that is shown on the website, but you need to do this calculation on your own, right? Doesn't look like they have the calculated monthly payment in the API response.

    • @TechInRealEstate
      @TechInRealEstate  ปีที่แล้ว

      @@aloginov Yes that's correct it needs to be derived

  • @TheLegendOfNiko
    @TheLegendOfNiko 2 ปีที่แล้ว

    Recently was informed that the Zillow API is now deprecated...

  • @jacobjacob3431
    @jacobjacob3431 2 ปีที่แล้ว +2

    Hey Ariel thanks so much for this video, super helpful! I had two questions regarding the API. Have you noticed you're only getting 40 results with the response? I was wondering if you know how to increase the amount of properties the API extracts? I was also having issues with retrieving just "Apartments". I altered the "house_type" argument to "Apartments" but didn't have any luck with that approach. Curious if you know of a way to fix these issues I'm experiencing?

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      Hi Jacob, thanks for watching! The propertyExtendedSearch returns a key called 'totalPages'. For the default example, it has 2 pages. I tested it and if you use the parameter "page" and set the value as 2, then it returns the additional listings. For apartments, it looks like it only works when 'status_type' is 'ForRent'.

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว +1

      I also do coaching for Python + Real Estate Data in case you are interested - www.analyticsariel.com/

    • @jacobjacob3431
      @jacobjacob3431 2 ปีที่แล้ว

      @@TechInRealEstate Thanks Ariel, this helped a ton! I was just curious if there's a way to set the page variable to all the pages available? I ended up running my notebook 25 times and changing the page variable value 25 times but I was wondering if there was a more efficient method to do this?

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว +1

      @@jacobjacob3431 Great question, if you set "totalPages" to a variable and perform a , then you should be able to dynamically pull each one. If that does not work then you can add a statement to continue retrieving the next page until there is no next page. Here's a quick guide for that - www.freecodecamp.org/news/python-do-while-loop-example/

    • @skyejohnson2477
      @skyejohnson2477 ปีที่แล้ว

      @@TechInRealEstate Hi Ariel, thanks for the great video. After looking through the message thread here I found where you showed how to iterate through the different pages if the Total Pages is more than 1. Thank you for that! I am curious the area I have been searching with the parameters is showing around 57 listings but my csv file will only output 10 at most. How do I output all the listed properties that are being found through this search?

  • @haoxuesong1814
    @haoxuesong1814 2 ปีที่แล้ว

    Super helpful! Can we call Zillow API directly rather than using RapidAPI to avoid the fee? If so, can you have a tutorial on that?

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      Thanks for watching! Unfortunately the free API Zillow managed is no longer active. You will need to request an API key through Bridge Interactive. I believe there is a cost associated with them too

  • @ryanmakipour9193
    @ryanmakipour9193 2 ปีที่แล้ว

    Hi Ariel, I've scraped my county website for the addresses and have them in a df. Anyway I can input those addresses into rapidapi and get a list of zpids?

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว +1

      Hi Ryan, Zillow used to have an easy way to grab ZPID by entering an address, however they deprecated their public API as of Sept. I recently created a backdoor way of retrieving ZPID for a list of addresses by using the Google library in Python. It searches the address as a Google search then extracts the ZPID from the url. I’ll be posting a video on it soon

    • @ryanmakipour9193
      @ryanmakipour9193 2 ปีที่แล้ว

      @@TechInRealEstate Thanks!

  • @xairk_
    @xairk_ 2 ปีที่แล้ว

    I see you ran into the XML error in your Colab notebook too. Now I can rest I know its not something on my end.

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว +1

      Thanks for watching! You can check out my article on the medium for an up-to-date solution. Logic had to change due to the library no longer working to get ZPID - levelup.gitconnected.com/how-to-get-property-data-to-analyze-your-market-using-python-e9ef5336d141

  • @Nearco1000
    @Nearco1000 2 ปีที่แล้ว

    is it any tutorial when prices change in a particular property notify you with an email?.

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      I can look to create a video on it. The solution would require to query the API repeatedly (I.e. every hour, once a day). If the property is new, then save the data to a database (Google Sheets or CSV file could work). If the property exists in the database already, but the price is different then log the change and send an email - either within the same code or with Zapier

  • @creneemugo94
    @creneemugo94 2 ปีที่แล้ว

    Does the api give you more than just one picture of the property?

    • @TechInRealEstate
      @TechInRealEstate  2 ปีที่แล้ว

      Thanks for watching! Yes, if you pass in the ZPID of the property into the "GET /images (Property images and video)" endpoint, then you can get all of the images listed. You will see it on the left-hand panel on the API page - rapidapi.com/apimaker/api/zillow-com1/

    • @creneemugo94
      @creneemugo94 2 ปีที่แล้ว

      @@TechInRealEstate Thanks!