# MagicBricks Property Scraper 🏠 (`contactminerlabs/magicbricks-property-scraper`) Actor

MagicBricks Scraper extracts property listings from MagicBricks: property titles, prices, type, sale or rental status, bedrooms, bathrooms, carpet area, amenities, address, locality, images, agent or owner details & URLs. Paste one or more URLs with all the filters you want and get data in minutes

- **URL**: https://apify.com/contactminerlabs/magicbricks-property-scraper.md
- **Developed by:** [ContactMinerLabs](https://apify.com/contactminerlabs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🏠 MagicBricks Property Scraper – Extract Sale & Rent Listings from MagicBricks.com

🏠 Collect every property listed on MagicBricks (magicbricks.com), India's real estate portal: flats, houses, villas, builder floors and more, for sale or for rent, in any city, with price, price per sqft, BHK, area, floor, furnishing, society, locality, GPS coordinates, amenities, owner or agent and posted date.

Paste one or many search URLs with your filters and get a clean table ready for Excel, CSV or JSON.

### 🔍 What It Does

✅ Bulk input: many MagicBricks search URLs at once (sale and rent), all filters of the URL kept (city, BHK, property type, budget, locality…)

✅ Follows the whole result list automatically, up to the number of properties you want per URL

✅ 68 fields per property: prices, areas converted to sqft, floor number, parking, amenities, tags, photos

✅ Prices parsed into numbers: "₹ 1.35 Cr" → 13500000, "₹ 4 Lac" → 400000, "₹ 13,636 per sqft" → 13636

✅ Dates converted: "Yesterday", "Updated 6 days ago", "Oct 23, '26" → YYYY-MM-DD

✅ Owner / agent details: name, type, preferred or certified agent, operating since, buyers served, CRISIL rating

✅ Every missing value is returned as `"N/A"`, every row has the same columns

### 📦 Field Descriptions

| Field | Description |
| --- | --- |
| 🆔 `propertyId` / `propertyCode` / `url` / `title` | MagicBricks property ID, detail code, property page, card title |
| 🏷️ `transactionType` / `propertyType` / `bedrooms` | Sale or Rent, Flat / House / Villa…, number of bedrooms (BHK) |
| 💰 `price` / `priceText` / `pricePerSqft` / `currency` / `priceNote` | Price in INR (number), price as shown, price per sqft, currency, note under the price (e.g. Security Deposit) |
| 📍 `locality` / `city` / `society` / `societyUrl` / `latitude` / `longitude` | Location, society / project and its page, GPS when available |
| 📐 `carpetArea` / `carpetAreaSqft` / `superArea` / `superAreaSqft` / `plotArea` / `plotAreaSqft` | Areas as shown and converted to sqft |
| 🏢 `floor` / `floorNumber` / `totalFloors` | Floor as shown, floor number (Ground = 0), floors in the building |
| 🛋️ `possessionStatus` / `transaction` / `furnishing` / `facing` / `overlooking` / `ownership` | Status / availability, Resale or New, furnishing, facing, view, ownership |
| 🚗 `parking` / `coveredParking` / `openParking` | Parking as shown and parsed counts |
| 🛁 `bathrooms` / `balconies` / `tenantPreferred` / `otherDetails` | Rooms, tenants preferred (rent), any other detail of the card |
| ✨ `amenities` / `highlights` / `tags` / `isVerified` / `isReraApproved` | Amenities, highlights, badges (Verified on Site, RERA Approved) |
| ⭐ `isPremium` / `memberCategory` | Premium listing, member category |
| 📝 `description` | Listing description |
| 👤 `postedBy` / `postedByType` / `isPreferredAgent` / `isCertifiedAgent` / `operatingSince` / `buyersServed` / `crisilRating` | Owner, agent or builder details |
| 📅 `dateLabel` / `postedDate` / `postedText` | Posted or Updated, date (YYYY-MM-DD), text as shown |
| 🖼️ `photoCount` / `imageUrl` / `images` / `hasVideo` | Photos and video |
| 🔗 `searchUrl` / `totalResults` / `page` / `position` / `source` / `scrapedAt` | Search URL, results available for the search, list page, position, Data source, scrape time |

A `SUMMARY` record (results and status per URL) is saved in the key-value store.

### 🛠 How to Use the Scraper

1️⃣ Open https://www.magicbricks.com, choose Buy or Rent, a city and your filters

2️⃣ Add the URL(s) of the result page in "MagicBricks search URLs" (one per line, or "Bulk edit" to paste many)

3️⃣ Set the maximum number of properties per URL (0 = the whole list)

4️⃣ Keep the RESIDENTIAL proxy (India) and run

5️⃣ Export to JSON, CSV, Excel, XML or HTML

💡 For thousands of properties per URL, increase the run Timeout: the actor stops by itself a few seconds before the timeout and keeps everything collected.

💡 MagicBricks only shows a limited part of very large lists to visitors; splitting a big search by locality or budget on the site gives more complete lists. Each URL's status (complete, max reached, partial, empty) is in the `SUMMARY` record.

### 💡 Why Use This Scraper?

🏘️ Real estate agents and investors: compare prices per sqft by locality, society and BHK

📊 Market research: sale and rent price levels, supply by city, furnishing and property type

🔔 Monitoring: schedule the actor to follow new listings and price changes every day

🗂️ Lead lists: owners and agents active in a locality

### 💸 Pricing

You only pay for the results you get (pay per result).

### Related Actors

If you're interested in other Company Leads, YouTube or Facebook scraping solutions, check out these related tools:

- [Pracuj.pl Jobs Scraper 🇵🇱💼 - Cheap (Tani)](https://apify.com/scrapestorm/pracuj-pl-jobs-scraper---cheap-tani)
- [PanoramaFirm Company Scraper 🔍🏢 - Cheap Tani](https://apify.com/scrapestorm/panoramafirm-company-scraper---cheap-tani)
- [Clutch Company Search Scraper 📊🏢- Cheap](https://apify.com/scrapestorm/clutch-company-search-scraper---cheap)
- [Netmeds Product Scraper - Cheap 🛒](https://apify.com/scrapestorm/netmeds-product-scraper---cheap)
- [Y Combinator Company Scraper 🧠💼 - Cheap & Fast](https://apify.com/scrapestorm/y-combinator-company-scraper---cheap-fast)
- [BBB Business Directory Scraper 🏢💡 - Cheap & Fast](https://apify.com/scrapestorm/bbb-business-directory-scraper---cheap-fast)
- [Firmy.cz Search Scraper 🔍🏢 🇨🇿 - Cheap Levný](https://apify.com/scrapestorm/firmy-cz-search-scraper---cheap-levny)
- [AllRecipes Search Scraper 🔍🍽️ 👩‍🍳 - Cheap](https://apify.com/scrapestorm/allrecipes-search-scraper---cheap)
- [YouTube Full Channel Transcripts Extractor ⚡📜 - Fast & cheap](https://apify.com/scrapestorm/youtube-full-channel-transcripts-extractor---fast-cheap)
- [YouTube Transcript Short Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-short-scraper-fast-cheap)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [YouTube Email Extractor 📩📍 - Fast & cheap 💬⭐](https://apify.com/scrapestorm/youtube-email-extractor---fast-cheap)
- [YouTube Email & Phone Scraper 📧📞](https://apify.com/scrapestorm/youtube-email-phone-scraper)
- [YouTube Hashtag Shorts/Videos Scraper #️⃣📺 (All-in-one)](https://apify.com/scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one)
- [YouTube Community Posts Scraper 🚀📄💬](https://apify.com/scrapestorm/youtube-community-posts-scraper)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### ✏️ Input Schema Example

```
{
  "startUrls": [
    "https://www.magicbricks.com/property-for-sale/residential-real-estate?bedroom=2,3&proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi",
    "https://www.magicbricks.com/property-for-rent/residential-real-estate?proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi&language=en"
  ],
  "maxItemsPerUrl": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

The old input format (`bulkUrls` text, `urls`, `maxItems`, `max_items`…) is still accepted.

### 📤 Output Example

Fictitious example showing every field:

```
{
  "propertyId": "12345678",
  "propertyCode": "4d423132333435363738",
  "url": "https://www.magicbricks.com/propertyDetails/2-BHK-1100-Sq-ft-Multistorey-Apartment-FOR-Sale-Example-Nagar-in-New-Delhi&id=4d423132333435363738",
  "title": "2 BHK Flat for Sale in Example Residency, Example Nagar, New Delhi",
  "transactionType": "Sale",
  "propertyType": "Flat",
  "bedrooms": 2,
  "price": 13500000,
  "priceText": "₹1.35 Cr",
  "pricePerSqft": 13636,
  "currency": "INR",
  "priceNote": "N/A",
  "locality": "Example Nagar",
  "city": "New Delhi",
  "society": "Example Residency",
  "societyUrl": "https://www.magicbricks.com/example-residency-example-nagar-new-delhi-pdpid-4d4235303030303030",
  "latitude": 28.6688,
  "longitude": 77.0995,
  "carpetArea": "990 sqft",
  "carpetAreaSqft": 990,
  "superArea": "N/A",
  "superAreaSqft": "N/A",
  "plotArea": "N/A",
  "plotAreaSqft": "N/A",
  "possessionStatus": "Ready to Move",
  "transaction": "Resale",
  "furnishing": "Semi-Furnished",
  "floor": "2 out of 4",
  "floorNumber": 2,
  "totalFloors": 4,
  "facing": "East",
  "overlooking": "Garden/Park",
  "ownership": "Freehold",
  "parking": "1 Covered",
  "coveredParking": 1,
  "openParking": "N/A",
  "bathrooms": 2,
  "balconies": 1,
  "tenantPreferred": "N/A",
  "otherDetails": [
    "N/A"
  ],
  "amenities": [
    "Power Back Up",
    "Park"
  ],
  "highlights": [
    "East Facing Property"
  ],
  "tags": [
    "Verified on Site"
  ],
  "isVerified": true,
  "isReraApproved": false,
  "isPremium": true,
  "memberCategory": "Premium Member",
  "description": "Example description of a 2 BHK apartment.",
  "postedBy": "Example Owner",
  "postedByType": "Owner",
  "isPreferredAgent": false,
  "isCertifiedAgent": false,
  "operatingSince": "N/A",
  "buyersServed": "N/A",
  "crisilRating": "N/A",
  "dateLabel": "Updated",
  "postedDate": "2026-11-20",
  "postedText": "3 days ago",
  "photoCount": 12,
  "imageUrl": "https://img.staticmb.com/mbphoto/property/example.jpg",
  "images": [
    "https://img.staticmb.com/mbphoto/property/example.jpg"
  ],
  "hasVideo": false,
  "searchUrl": "https://www.magicbricks.com/property-for-sale/residential-real-estate?cityName=New-Delhi",
  "totalResults": 17958,
  "page": 1,
  "position": 1,
  "source": "html",
  "scrapedAt": "2026-11-23T12:00:00+00:00"
}
```

### 📊 Dataset Views

- **Overview**: photo, title, price, BHK, area, locality, posted by, date
- **Prices**: price, price per sqft, areas in sqft
- **Property details**: rooms, areas, floor, furnishing, status, facing, parking, amenities
- **Location**: society, locality, city, GPS
- **Owners & agents**: poster name and type, agent badges and ratings
- **All fields**: every column

The `SUMMARY` record (key-value store) gives the number of results and the status of each URL.

### 📫 Support

😊 Leave us a 5-star rating ⭐⭐⭐⭐⭐ if you're satisfied with the scraper

🌍 For any questions, specific needs, or issues, reach out through Apify's platform or via email - [Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

This actor is not affiliated with, endorsed by, or sponsored by MagicBricks or Magicbricks Realty Services Limited.

# Actor input Schema

## `startUrls` (type: `array`):

MagicBricks search URLs (sale or rent), one per line. Set your filters on magicbricks.com (city, BHK, property type, budget, locality...) and paste the URL: all filters are kept. Use 'Bulk edit' to paste many at once. A plain city name (e.g. Mumbai) searches properties for sale in that city.

## `maxItemsPerUrl` (type: `integer`):

Maximum number of properties collected for each URL. 0 = no limit (the whole list). For large numbers, increase the run Timeout.

## `proxyConfiguration` (type: `object`):

RESIDENTIAL proxy in India recommended (MagicBricks is an Indian website).

## Actor input object example

```json
{
  "startUrls": [
    "https://www.magicbricks.com/property-for-sale/residential-real-estate?bedroom=2,3&proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi",
    "https://www.magicbricks.com/property-for-rent/residential-real-estate?proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi&language=en"
  ],
  "maxItemsPerUrl": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `prices` (type: `string`):

No description

## `details` (type: `string`):

No description

## `location` (type: `string`):

No description

## `posters` (type: `string`):

No description

## `all_fields` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.magicbricks.com/property-for-sale/residential-real-estate?bedroom=2,3&proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi",
        "https://www.magicbricks.com/property-for-rent/residential-real-estate?proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi&language=en"
    ],
    "maxItemsPerUrl": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "IN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("contactminerlabs/magicbricks-property-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [
        "https://www.magicbricks.com/property-for-sale/residential-real-estate?bedroom=2,3&proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi",
        "https://www.magicbricks.com/property-for-rent/residential-real-estate?proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi&language=en",
    ],
    "maxItemsPerUrl": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "IN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("contactminerlabs/magicbricks-property-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.magicbricks.com/property-for-sale/residential-real-estate?bedroom=2,3&proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi",
    "https://www.magicbricks.com/property-for-rent/residential-real-estate?proptype=Multistorey-Apartment,Builder-Floor-Apartment,Penthouse,Studio-Apartment,Residential-House,Villa&cityName=New-Delhi&language=en"
  ],
  "maxItemsPerUrl": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}' |
apify call contactminerlabs/magicbricks-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,contactminerlabs/magicbricks-property-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0IrqrvYxoovLjrpgy/builds/2ZUOkBef569FUHcgl/openapi.json
