Actowiz Solutions LLP ‘The Fastest Growing’ Big Data Analytics Company
Actowiz Solutions LLP ‘The Fastest Growing’ Big Data Analytics Company

Start Your Project with Us

Whatever your project size is, we will handle it well with all the standards fulfilled! We are here to give 100% satisfaction.

  • Any feature, you ask, we develop
  • 24x7 support worldwide
  • Real-time performance dashboard
  • Complete transparency
  • Dedicated account manager
  • Customized solutions to fulfill data scraping goals

In this post, we'll uniquely discuss one of the most attractive cities, Istanbul. It is a bustling and vibrant city at the crossroads of Asia and Europe. Considering that it is the largest city in Turkey, it is the residence of more than 15 million individuals. The city is also the hub of tourism, culture, and commerce.

The real estate market has been significantly growing in Istanbul recently, with the market of rental flats being dynamic. Considering the unique blend of modernity and history, the city is a leading subject for real estate markets and data analytics.

However, the economy is not up to the mark in Turkey. In the last year, the inflation rate was around 86 percent. Still, there is instability in the economy of Turkey.

We decided to experiment with analyzing data on the rental flat market in Istanbul. Here, we used our usual data scraping techniques to collect the data.

We scraped the data for around 13000 flats on rent. Here are some interesting visualizations and figures after the EDA process.


Introduction to HTML

Hypertext Markup Language helps make and structure web content. It consists of essential data for web scraping services, like images, text content, links, and other data fields that webpages use. Applying the proper techniques and tools, you can scrape data from these web pages and parse the data to compile the sheet, study trends, and make better business decisions. Knowing the structure of HTML in detail plays a crucial role in web data extraction.

HTML attributes are vital for creating responsive, accessible, and well-formatted web pages. HTML attributes give extra information related to its element, and you can add their appearance, modify behavior, and add opening tags. Further, you can use details to specify color, size, font, and other element features or share alt text, links, or additional metadata. You can also use attributes to define IDs and classes essential for script targeting and styling.

  • class attribute: you can use this to define class elements. You can use it to style CSS or target JavaScript according to your needs.
  • id attribute: It is helpful to define a unique identifier to spot HTML elements is helpful. You can use it to target JavaScript or identify fragments in the URL.
  • src attribute: This attribute defines the source URL for the media element, like the image.
  • href attribute: You can use this to define the URL destination for a link element.
  • alt attribute: Use this attribute to give an alternative text to an image element. If the image can't load, you can see the alt text on the screen.
  • title attribute: Use this to give a title to an HTML element.
experimental-data-analysis-of-the-rental-flat-market-in-istanbul-using-web-scraping\class-attribute-you-can-use-this-to-define-class-elements.jpg experimental-data-analysis-of-the-rental-flat-market-in-istanbul-using-web-scraping\class-attribute-you-can-use-this-to-define-class-elements-2.jpg

We need to uncover the HTML elements of the website. To do this, we'll use the Google Chrome browser. Right-click and inspect your target.


While scraping web data, generally, we need class names and href links to explore the required data. We will explain the example for this below.

So, Let's Begin to Scrape Web Data!

experimental-data-analysis-of-the-rental-flat-market-in-istanbul-using-web-scraping\So,-Let's-Begin-to-Scrape-Web-Data!.jpg So,-Let's-Begin-to-Scrape-Web-Data!--2.jpg So,-Let's-Begin-to-Scrape-Web-Data!--3.jpg

Inspecting HTML to Find href Links

Inspecting-HTML-to-Find-href-Links..jpg Inspecting-HTML-to-Find-href-Links-2.jpg

Use HTML to Get Flat Rental Data

We need data about rental flats like Rent, Building Age, District, Safety Deposit, Heat Type, Dues, etc.

First, We Need to Search Data Locations

First,-We-Need-to-Search-Data-Locations.jpg First,-We-Need-to-Search-Data-Locations---2.jpg

Experimental Data Analysis:

We now have data for 13000 flats in rent in the city. That data has a considerable amount of information about rental apartments. Their Heat Type, Price, Location, Safety Deposit, Due, etc.

Experimental-Data-Analysis.jpg Experimental-Data-Analysis-2.jpg Experimental-Data-Analysis-3.jpg Experimental-Data-Analysis-4.jpg average-cost-of-rents-by-region-istambul.jpg Experimental-Data-Analysis-5.jpg Experimental-Data-Analysis-6.jpg Experimental-Data-Analysis-7.jpg highest-cost-of-rent-byu-region.jpg highest-cost-of-rent-byu-region-1.jpg lowest-cost-of-rent-by-region.jpg lowest-cost-of-rent-by-region-1.jpg budget-friendly-regions.jpg budget-friendly-regions-1.jpg average-cost-of-deposite-by-region-istanbul.jpg average-cost-of-deposite-by-region-istanbul-1.jpg average-cost-of-due-by-region-istanbul-1.jpg average-cost-of-due-by-region-istanbul.jpg count-of-rooms-by-district.jpg count-of-rooms-by-district-1.jpg distribution-of-istanbul-rental-rooms.jpg distribution-of-istanbul-rental-rooms-1.jpg average-net-area-by-district.jpg average-net-area-by-district-1.jpg average-rent-by-district-and-heat.jpg average-rent-by-district-and-heat-1.jpg percentage-of-heat-types-istanbul-rental-flats.jpg inessence.jpg


Istanbul is a remarkable city. Consider it a center of Diversity, Businesses, and Entertainment. The Rental Flat Market is growing. Want to scrape flat rental data for Istanbul? Contact Actowiz Solutions.