# Magicbricks Scraper - India Property Listings & Prices (`scrapewise/magicbricks-scraper`) Actor

Scrape magicbricks.com property listings in India by city, sale or rent, property type, BHK, budget or search link: price, price per sq ft, areas, floor, furnishing, possession, locality, project, developer, RERA number, amenities, photos, coordinates and dates. Error rows are free.

- **URL**: https://apify.com/scrapewise/magicbricks-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.03 / 1,000 listing delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Scraper: India property listings with price, areas, project, developer and RERA number

Magicbricks Scraper collects **property listings from magicbricks.com**, one of India's largest real estate
portals, by city and the site's filters, or from search links you copy from the site. Each listing comes back as
one clean row: title, sale or rent, property type, price in rupees with the site's own text (lakh, crore), price per
sq ft, BHK, bathrooms, balconies, carpet, covered and plot area, floor, furnishing, facing, possession status, age,
locality, project name and address, **developer**, **project RERA number**, nearby landmarks, amenities, photos,
coordinates, who posted it (owner, agent or builder), the agency name and the posted and expiry dates.

No account, cookies or API key needed. It is used to:

- track asking prices and rents by city, locality, BHK and project for market research and valuation;
- build property feeds, alerts and comparison tools for buyers, tenants and investors;
- map projects and developers, and find the agencies active in a locality, for real estate B2B outreach.

### At a glance

| What | Price |
|---|---|
| Listing delivered | **US$ 1.35 per 1,000 listings** (US$ 0.00135 each) |
| Run start | US$ 0.005 per run |

- 1,000 listings = **about US$ 1.36** on the Free plan, with every field included; there is no extra event.
- Proxy costs are included in the price; there is no extra proxy bill.
- Error rows, duplicates and listings already delivered in earlier runs (`onlyNew`) are never charged. `maxItems` is
  a hard cap, and a spending limit set on the run stops it cleanly with everything delivered so far.

### Quick start

```json
{
  "city": ["Mumbai"],
  "listingType": "sale",
  "maxItems": 50
}
```

2 and 3 BHK flats for rent in Pune up to 40,000 rupees a month, newest first:

```json
{
  "city": ["Pune"],
  "listingType": "rent",
  "propertyTypes": ["apartment"],
  "bedrooms": ["2", "3"],
  "maxPrice": 40000,
  "sortBy": "newest",
  "maxItems": 300
}
```

Every filter of the site, locality included: search on magicbricks.com, copy the link from the address bar and
paste it in `startUrls`, for example `https://www.magicbricks.com/2-bhk-flats-for-rent-in-andheri-west-mumbai-pppfr`.

Daily feed: schedule the run once a day with `"onlyNew": true`; only listings you have not received before come
back (the ones skipped are free).

### Input

| Field | Type | What it does |
|---|---|---|
| `city` | list of text | Indian cities as the site writes them (Mumbai, Bangalore, Pune, New Delhi, Gurgaon...). One search each. |
| `startUrls` | list of links | magicbricks.com search links; locality, BHK, budget and type filters are kept. |
| `listingType` | text | `sale` or `rent`. |
| `propertyTypes` | list | `apartment`, `builder-floor`, `house`, `villa`, `plot`. Empty = the site's residential default. |
| `bedrooms` | list | BHK counts, for example `2` and `3`. |
| `minPrice`, `maxPrice` | number | Price in rupees (monthly rent for rentals). |
| `sortBy` | text | `relevance` (site default) or `newest`. |
| `maxItems` | number | Hard cap for the whole run. Default 50, 0 = no cap. |
| `onlyNew` | true/false | Deliver only listings not delivered in earlier runs of the same search. |
| `proxyConfiguration` | proxy | India residential proxy by default. |

With no city and no link, the run searches the example `Mumbai` so you can see the output right away.

### Output

One row per listing. Fields the listing does not have come as `null` or an empty list.

| Field | Example | Notes |
|---|---|---|
| `listingId`, `title`, `url` | `86928361` | Magicbricks id, title and link |
| `listingType`, `propertyType`, `transactionType` | `Sale`, `Apartment`, `New Property` | Resale or new property |
| `price`, `priceText`, `currency`, `pricePerSqft` | `147970000`, `14.79 Cr`, `INR` | Monthly rent for rentals |
| `bedrooms`, `bathrooms`, `balconies` | `4`, `3`, `1` | |
| `carpetArea`, `coveredArea`, `plotArea` + units | `2116`, `Sq-ft` | Plot area for plots |
| `floor`, `floorNumber`, `totalFloors`, `facing`, `overlooking` | `22 of 22 Floor`, `East`, `["Pool"]` | |
| `furnishing`, `possessionStatus`, `availableFrom`, `ageOfProperty` | `Unfurnished`, `Ready To Move` | |
| `ownershipType`, `parking`, `flooring`, `waterAvailability`, `powerBackup` | `Freehold`, `2 Covered` | When the listing has them |
| `tenantsPreferred` | `Bachelors/Family` | Rentals only |
| `amenities` | `["Air Conditioned", "Banquet Hall"]` | |
| `city`, `locality`, `projectAddress`, `landmark`, `nearby` | `Mumbai`, `Worli` | Address of the project or building |
| `latitude`, `longitude` | `19.0047`, `72.8302` | |
| `projectName`, `projectUrl`, `projectReraNumber`, `developerName` | `Lodha Adrina`, `P51900014937`, `Lodha Developers Limited` | |
| `postedBy`, `agencyName`, `agencyOperatingSince` | `Agent`, `Mumbai Realty`, `1980` | Owner, Agent or Builder; agency only when it is a business |
| `isVerified` | `false` | The site's verified badge |
| `description`, `imageUrl`, `imageUrls`, `imageCount` | | Photos of the property and project |
| `postedAt`, `expiresAt` | `2026-10-14T11:10:59Z` | UTC |
| `sourceQuery`, `scrapedAt` | | Which search found it and when |

Real row (lists cut):

```json
{
  "type": "listing",
  "listingId": "86928361",
  "title": "4BHK Multistorey Apartment for New Property in Lodha Adrina at Worli",
  "url": "https://www.magicbricks.com/propertyDetails/4-BHK-2116-Sq-ft-Multistorey-Apartment-FOR-Sale-Worli-in-Mumbai&id=4d423836393238333631",
  "listingType": "Sale",
  "propertyType": "Apartment",
  "price": 147970000,
  "priceText": "14.79 Cr",
  "currency": "INR",
  "bedrooms": 4,
  "bathrooms": 3,
  "balconies": 1,
  "carpetArea": 2116,
  "carpetAreaUnit": "Sq-ft",
  "furnishing": "Unfurnished",
  "transactionType": "New Property",
  "possessionStatus": "Ready To Move",
  "ageOfProperty": "Less than 5 years",
  "city": "Mumbai",
  "locality": "Worli",
  "projectAddress": "Lodha Park Worli Mumbai Pandurang Budhkar Marg, Worli",
  "nearby": ["Worli Metro Station", "Aaswad Super Market"],
  "latitude": 19.0047256,
  "longitude": 72.8302417,
  "projectName": "Lodha Adrina",
  "projectUrl": "https://www.magicbricks.com/lodha-adrina-worli-mumbai-pdpid-4d4235343033313539",
  "projectReraNumber": "P51900014937",
  "developerName": "Lodha Developers Limited",
  "postedBy": "Agent",
  "agencyName": "Mumbai Realty",
  "agencyOperatingSince": 1980,
  "isVerified": false,
  "description": "This lovely 4 BHK flat is for sale in Worli, Mumbai. The property belongs to Lodha Adrina...",
  "imageCount": 29,
  "postedAt": "2026-10-14T11:10:59.000Z",
  "expiresAt": "2026-12-13T11:10:59.000Z",
  "sourceQuery": "Mumbai",
  "scrapedAt": "2026-10-17T01:20:30Z",
  "errorCode": null,
  "error": null
}
```

### Errors you may see

Error rows have `"type": "error"`, an `errorCode` and a message, and are **never charged**.

| errorCode | Meaning | What to do |
|---|---|---|
| `INVALID_INPUT` | A filter value is not valid | Use the values listed in Input |
| `INVALID_URL` | The link is not a magicbricks.com search link | Paste a link copied after searching on the site |
| `CITY_NOT_FOUND` | The city name did not open a search on the site | Write it as the site does (Bangalore, New Delhi, Gurgaon) |
| `NOT_FOUND` | The search link no longer exists | Search again on the site and copy the new link |
| `NO_RESULTS` | No listing for that search and filters | Use fewer filters or a wider price range |
| `BLOCKED` | magicbricks.com refused every attempt for that search | Run again in a few minutes |
| `UNEXPECTED` | Something else stopped the run | Run again; the run never ends as FAILED |

### Integrations, scheduling and AI agents

- **Schedule** a city or locality daily with `onlyNew` in [Apify schedules](https://docs.apify.com/platform/schedules)
  for a feed of new listings.
- **Export** as JSON, CSV, Excel or XML, or read the dataset from the [Apify API](https://docs.apify.com/api/v2).
- **Connect** it to Make, n8n, Zapier or Google Sheets through
  [Apify integrations](https://docs.apify.com/platform/integrations), for example a sheet of new 3 BHK listings
  under a budget in one locality.
- **AI agents:** call it as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp)
  in Claude, ChatGPT, Cursor or any MCP client, for example "get 500 flats for sale in Pune from Magicbricks and give
  me the median price per sq ft by locality".

### FAQ

**Do I need a Magicbricks account?** No. The Actor reads the same public search the website shows.

**Are owner phone numbers or names included?** No. Owner names, contact names, phone numbers and profile photos are
never collected. The agency name comes only when it is a business name (for example "Mumbai Realty").

**How do I search one locality?** Search it on magicbricks.com with any filters and paste the link in `startUrls`.

**Why is the rent in `price`?** For rentals the site's price is the monthly rent, and `listingType` is `Rent`.

**How many listings can a search return?** The site shows 30 listings per page and the Actor follows the pages
until `maxItems` or the end of the search. Split a very large city by property type, BHK or price for more coverage.

**Is it fast?** In our test 50 listings took about 3 seconds after the first page.

### Limitations

- Only magicbricks.com listings in India, residential types.
- Fields such as parking, flooring, water and power backup appear only when the advertiser filled them in.
- The description is the summary the site writes for each listing.

### Changelog

- **16 Oct 2026:** first version: city, sale or rent, property type, BHK and budget filters, search links with
  locality, project, developer and RERA number, amenities, photos, coordinates, `onlyNew` for daily feeds.

# Actor input Schema

## `city` (type: `array`):

Indian cities as magicbricks.com writes them, one per line, for example Mumbai, Bangalore, Pune, New Delhi or Gurgaon. Each city is one search with the filters below. Leave empty when you paste search links.

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

Links copied from magicbricks.com after searching, with locality, BHK and every other filter kept, for example https://www.magicbricks.com/2-bhk-flats-for-rent-in-andheri-west-mumbai-pppfr.

## `listingType` (type: `string`):

Listings for sale or for rent.

## `propertyTypes` (type: `array`):

Keep only these property types. Empty = every residential type the site searches by default.

## `bedrooms` (type: `array`):

BHK counts, one per line, for example 2 and 3. Empty = any.

## `minPrice` (type: `integer`):

Lowest price in rupees (monthly rent for rentals), for example 5000000 for 50 lakh.

## `maxPrice` (type: `integer`):

Highest price in rupees (monthly rent for rentals).

## `sortBy` (type: `string`):

Order of the results. With onlyNew the run always sorts by newest.

## `maxItems` (type: `integer`):

Hard cap for the whole run, across all searches. 0 = no cap.

## `onlyNew` (type: `boolean`):

On: remembers the listings delivered in earlier runs of the same search (in your account) and delivers only listings not seen before. Skipped listings are free.

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

India residential proxy by default. The proxy cost is included in the price.

## Actor input object example

```json
{
  "city": [
    "Mumbai"
  ],
  "listingType": "sale",
  "sortBy": "relevance",
  "maxItems": 50,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (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 = {
    "city": [
        "Mumbai"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "IN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/magicbricks-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 = {
    "city": ["Mumbai"],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "IN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/magicbricks-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 '{
  "city": [
    "Mumbai"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}' |
apify call scrapewise/magicbricks-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/magicbricks-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/rd4p9l1QVSAjA3sTg/builds/7pnxr13MjVOWXqe6v/openapi.json
