# Magicbricks Property Listings Scraper \[Just 💰$0.72] (`blackfalcondata/magicbricks-com-scraper`) Actor

Scrape magicbricks.com India property listings for sale or rent by city: price in INR and per sqft, bedrooms, bathrooms, covered and carpet area, furnishing, RERA id, locality, coordinates and photos. Incremental mode emits only new or changed listings.

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

## Pricing

from $0.72 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What does Magicbricks Property Listings Scraper do?

Magicbricks Property Listings Scraper extracts structured listing data from [magicbricks.com](https://magicbricks.com) — including descriptions, prices, location data, and beds. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi) and use the included $5 monthly platform credit to test this actor.

### Key features

- **🏠 Property details and amenities:** `bedrooms`, `bathrooms` and `floor` on each listing as separate fields, not listing text, plus `amenities` showing what each listing offers.
- **📍 Coordinates and radius search:** `latitude`, `longitude` and `distanceKm` on each listing that has a location, ready for a map. Search around a point with `lat`, `lon` and `radiusKm`.
- **🔍 Sale or rent:** choose properties for sale or for rent with the `query` input, in the place you name in `location`. Type a locality in the city field (e.g. "Andheri West Mumbai") or paste a locality search URL.
- **🎚️ Search filters:** filter by `propertyTypes` (apartment, builder-floor, penthouse, studio, house, villa, plot), `bedrooms` (1-10 BHK), `minPrice`/`maxPrice` (INR, asking price or monthly rent), `minArea`/`maxArea` (covered area, sq ft), `furnishing`, `availability` (ready-to-move or under-construction), `postedBy` (owner, agent, builder) and `postedWithinDays`. Results come newest first.
- **🗂️ Full coverage:** every listing the site reports for a search is reachable - large searches are covered automatically; `maxResults` only caps how many rows are delivered (0 = all).
- **🔗 Paste-mode:** paste magicbricks.com URLs into `startUrls` to scrape exactly the pages you picked in the browser. Pasted search URLs keep their filters (price, bedrooms, property type, area, furnishing); a URL with a filter the actor cannot apply is rejected with a clear error instead of silently widening.
- **♻️ Incremental mode:** daily runs emit only listings that are new or whose price/condition changed since last run. Perfect for inventory-diff dashboards and competitive pricing alerts. Saves 80–95% on recurring monitoring.
- **🔔 Notifications:** telegram / Slack / Discord / WhatsApp / webhook alerts on each run. Combine with incremental to ping only when prices or inventory actually move.
- **📦 Compact mode:** light payload with core fields only — comparable rows across listings without HTML or metadata overhead. Perfect for pricing dashboards.
- **🔌 MCP connectors:** export your results into Notion via Apify's MCP connectors — a clean run-summary page, no glue code. Opt-in via the App connector field; deterministic field-mapping, no AI. Built on Apify's connector framework, so more destinations open up as their catalog grows.
- **📌 Change classification:** each record carries a `changeType` of NEW / UPDATED / UNCHANGED / REAPPEARED / EXPIRED. Default emits NEW + UPDATED + REAPPEARED; opt into the others with `emitUnchanged` / `emitExpired`.

### What data can you extract from magicbricks.com?

Each result includes Core listing fields (`search_city`, `listing_id`, `enc_id`, `url`, `portalUrl`, `title`, `price_inr`, and `price_display`, and more) and extended fields (`description` and `detailFetched`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

### Input

The main inputs are a `query` choice (sale / rent), an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — `sale` for properties for sale, `rent` for rentals. Use the filters below to narrow the search — free-text keywords are not supported by the site's search. (default: `"sale"`)
- **`location`** — Indian city to search, e.g. `Mumbai`, `Bangalore`, `New Delhi`, `Pune`, `Hyderabad`, `Chennai`, `Kolkata`. Any other city name is resolved automatically. Leave empty to search Mumbai. Use a JSON array for several cities, e.g. \["Mumbai","Pune"].
- **`propertyTypes`** — Only these property types. Leave empty for every residential type.
- **`bedrooms`** — Only listings with these bedroom counts. Leave empty for any.
- **`minPrice`** — Lowest asking price (sale) or monthly rent (rent) in Indian rupees. Leave empty for no minimum.
- **`maxPrice`** — Highest asking price (sale) or monthly rent (rent) in Indian rupees. Leave empty for no maximum.
- **`minArea`** — Smallest covered (built-up) area in square feet. Leave empty for no minimum.
- **`maxArea`** — Largest covered (built-up) area in square feet. Leave empty for no maximum.
- **`furnishing`** — Only these furnishing states. Leave empty for any.
- **`tenantType`** — Rent searches only: listings whose owner accepts these tenants. A listing open to both bachelors and families matches either. Leave empty for any. Each rent listing reports its preference in preferred_tenants. magicbricks.com has no company-tenant option (no listing carries one).
- **`availability`** — Ready to move in, or still under construction. (default: `"any"`)
- **`postedBy`** — Only listings posted by these advertiser types. Leave empty for any.
- ...and 28 more parameters

### Input examples

**Filtered sale search** — 2 and 3 BHK apartments for sale in Pune within a price range.

→ Listings matching every filter; each row is checked against the filters again before it is returned.

```json
{
  "query": "sale",
  "location": "Pune",
  "propertyTypes": [
    "apartment"
  ],
  "bedrooms": [
    "2",
    "3"
  ],
  "minPrice": 5000000,
  "maxPrice": 15000000,
  "maxResults": 50
}
```

**Furnished rentals in a locality** — Rentals in one Mumbai locality, furnished, posted by owners in the last 30 days.

→ One row per rental listing, newest first.

```json
{
  "query": "rent",
  "location": "Andheri West Mumbai",
  "furnishing": [
    "furnished"
  ],
  "postedBy": [
    "owner"
  ],
  "postedWithinDays": 30,
  "maxResults": 50
}
```

**Daily new and changed listings** — Schedule this daily: only listings that are new or whose price changed since the last run are returned.

→ Rows with `changeType` NEW, UPDATED or REAPPEARED.

```json
{
  "query": "sale",
  "location": "Bangalore",
  "incrementalMode": true,
  "maxResults": 0
}
```

### Output

Each run produces a dataset of structured listing records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example listing record

```json
{
  "search_city": "Mumbai",
  "listing_id": "82487291",
  "enc_id": "/GYluehRD/RzpSvf+uAgZw==",
  "url": "https://www.magicbricks.com/propertyDetails/2-BHK-1015-Sq-ft-Multistorey-Apartment-FOR-Sale-Andheri-West-in-Mumbai&id=4d423832343837323931",
  "portalUrl": "https://www.magicbricks.com/propertyDetails/2-BHK-1015-Sq-ft-Multistorey-Apartment-FOR-Sale-Andheri-West-in-Mumbai&id=4d423832343837323931",
  "title": "2BHK Multistorey Apartment for Resale in Chandiwala Pearl Regency at Andheri West",
  "price_inr": 32500000,
  "price_display": "3.25 Cr",
  "price_per_sqft_inr": 32020,
  "covered_area": 1015,
  "covered_area_unit": "sqft",
  "covered_area_sqft": 1015,
  "bedrooms": 2,
  "bathrooms": 4,
  "property_type": "Apartment",
  "transaction": "Resale",
  "furnishing": "Semi-Furnished",
  "possession_status": "Ready to Move",
  "floor": 17,
  "total_floors": 18,
  "floor_raw": "17 of 18 Floor",
  "locality": "Andheri West",
  "city": "Mumbai",
  "city_code": "4320",
  "project_name": "Chandiwala Pearl Regency",
  "project_id": "5336837",
  "developer": "CHANDIWALA ENTERPRISES PVT LTD",
  "rera_id": "P51800029784",
  "latitude": 19.1274898,
  "longitude": 72.8348075,
  "distanceKm": 7.29,
  "posted_at": "2026-08-29T14:12:32.000Z",
  "advertiser_type": "Owner",
  "advertiser_name": "Zaid Siddiqui",
  "photo_url": "https://img.staticmb.com/mbphoto/property/cropped_images/2025/Dec/08/Photo_h180_w240/82487291_16_hatsAppImage20251207at3.29.46PM13_180_240.jpeg",
  "photo_count": 20,
  "photo_urls": [
    "https://img.staticmb.com/mbphoto/property/cropped_images/2025/Dec/08/Photo_h470_w1080/82487291_10_hatsAppImage20251207at3.29.46PM20_470_1080.jpeg",
    "https://img.staticmb.com/mbphoto/property/cropped_images/2025/Dec/08/Photo_h470_w1080/82487291_17_hatsAppImage20251207at3.29.46PM12_470_1080.jpeg",
    "https://img.staticmb.com/mbphoto/property/cropped_images/2025/Dec/08/Photo_h470_w1080/82487291_1_hatsAppImage20251207at3.29.46PM7_470_1080.jpeg",
    "https://img.staticmb.com/mbphoto/property/cropped_images/2025/Dec/08/Photo_h470_w1080/82487291_4_hatsAppImage20251207at3.29.46PM5_470_1080.jpeg",
    "https://img.staticmb.com/mbphoto/property/cropped_images/2025/Dec/08/Photo_h470_w1080/82487291_9_hatsAppImage20251207at3.29.46PM19_470_1080.jpeg",
    "... 15 more items"
  ],
  "description": "Multistorey apartment is available for sale. It is a good location property. Please contact for more details.",
  "source": "magicbricks.com",
  "listingId": "c91221576d3d6b154b891f8aebfd88615097536d29a911c95adf1ce096169dce",
  "searchQuery": "sale",
  "contentQuality": "full",
  "detailFetched": false,
  "scrapedAt": "2026-11-07T03:56:10.487Z"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape magicbricks.com

1. Go to [Magicbricks Property Listings Scraper](https://apify.com/blackfalcondata/magicbricks-com-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Click **Start** and wait for the run to finish.
5. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract listing data from magicbricks.com for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed listings on scheduled runs without processing the full dataset every time.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.

### How much does it cost to scrape magicbricks.com?

Magicbricks Property Listings Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.00045 per run
- **Per result:** $0.00072 per listing record

Example costs:

- 10 results: **$0.00765**
- 25 results: **$0.018**
- 100 results: **$0.072**
- 200 results: **$0.14**
- 500 results: **$0.36**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of listings that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 listings per run, daily polling (30 runs/month). Costs scale linearly with the number of listings.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.18 | $0.00945 | $0.17 (95%) | $0.28 |
| 15% — moderate broad query | $0.18 | $0.03 | $0.15 (85%) | $0.82 |
| 30% — high-volume aggregator | $0.18 | $0.05 | $0.13 (70%) | $1.63 |

Full re-scrape monthly cost at the same cadence: $5.41. First month with incremental costs $0.45 / $0.98 / $1.76 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

### FAQ

#### How many results can I get from magicbricks.com?

The number of results depends on the search query and available listings on magicbricks.com. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Magicbricks Property Listings Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed listings on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Magicbricks Property Listings Scraper with other apps?

Yes. Magicbricks Property Listings Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Magicbricks Property Listings Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Magicbricks Property Listings Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape magicbricks.com?

This actor extracts publicly available data from magicbricks.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/magicbricks-com-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [4zida.rs Scraper — Serbia Property Listings](https://apify.com/blackfalcondata/4zida-rs-scraper?fpr=1h3gvi) — Scrape 4zida.rs property listings for sale or rent across Serbia. Every record carries price, area.
- [99acres Scraper - India Property Listings](https://apify.com/blackfalcondata/99acres-com-scraper?fpr=1h3gvi) — Scrape 99acres.com property listings to buy, rent or resale in any Indian city, or paste a search.
- [Airbnb Realtime API — Live Listing, Reviews & Search Lookups](https://apify.com/blackfalcondata/airbnb-realtime?fpr=1h3gvi) — Real-time Airbnb lookups over HTTP: ask for one listing, its reviews or a location search and the.
- [Airbnb Scraper — Listings, Prices & Host Data](https://apify.com/blackfalcondata/airbnb-scraper?fpr=1h3gvi) — Scrape Airbnb stays: price, ratings, amenities, host info, photos, GPS and full filters.
- [Airbnb URL Finder Scraper — listing discovery](https://apify.com/blackfalcondata/airbnb-url-scraper?fpr=1h3gvi) — Scrape airbnb.com — enumerate every listing URL for a city or neighborhood · return listing id URL.
- [AirDNA Scraper: Rental Deals and Market Stats](https://apify.com/blackfalcondata/airdna-co-scraper?fpr=1h3gvi) — Scrape airdna.co — top vacation-rental deals per city with nightly rate, market average rate.
- [AppFolio Rental Listings Scraper](https://apify.com/blackfalcondata/appfolio-com-scraper?fpr=1h3gvi) — Scrape rental listings from any property manager on AppFolio: rent, beds, baths and square feet,.
- [Bayut Scraper \[Just 💰$0.8\] — UAE Property Listings & Agents](https://apify.com/blackfalcondata/bayut-scraper?fpr=1h3gvi) — 💰 $0.80 per 1,000 rows across the UAE, Saudi Arabia, Qatar, Oman and Jordan. Scrape Bayut property.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on magicbricks.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Magicbricks Property Listings's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Magicbricks Property Listings or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### Search keywords

magicbricks scraper, magicbricks api, apify magicbricks, magicbricks data extraction, magicbricks property listings scraper, apify magicbricks property listings, magicbricks property listings data extraction, magicbricks.com scraper, magicbricks.com data, magicbricks.com api, property listings scraper, real estate data, property data.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/magicbricks-com-scraper/changelog.md

# Actor input Schema

## `query` (type: `string`):

`sale` for properties for sale, `rent` for rentals. Use the filters below to narrow the search — free-text keywords are not supported by the site's search.

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

Indian city to search, e.g. `Mumbai`, `Bangalore`, `New Delhi`, `Pune`, `Hyderabad`, `Chennai`, `Kolkata`. Any other city name is resolved automatically. Leave empty to search Mumbai. Use a JSON array for several cities, e.g. \["Mumbai","Pune"].

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

Only these property types. Leave empty for every residential type.

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

Only listings with these bedroom counts. Leave empty for any.

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

Lowest asking price (sale) or monthly rent (rent) in Indian rupees. Leave empty for no minimum.

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

Highest asking price (sale) or monthly rent (rent) in Indian rupees. Leave empty for no maximum.

## `minArea` (type: `integer`):

Smallest covered (built-up) area in square feet. Leave empty for no minimum.

## `maxArea` (type: `integer`):

Largest covered (built-up) area in square feet. Leave empty for no maximum.

## `furnishing` (type: `array`):

Only these furnishing states. Leave empty for any.

## `tenantType` (type: `array`):

Rent searches only: listings whose owner accepts these tenants. A listing open to both bachelors and families matches either. Leave empty for any. Each rent listing reports its preference in preferred_tenants. magicbricks.com has no company-tenant option (no listing carries one).

## `availability` (type: `string`):

Ready to move in, or still under construction.

## `postedBy` (type: `array`):

Only listings posted by these advertiser types. Leave empty for any.

## `postedWithinDays` (type: `integer`):

Only listings posted in the last N days. Leave empty for any age.

## `maxResults` (type: `integer`):

Maximum total listings to return (0 = unlimited). Large searches are split automatically so every listing the site reports for the search is reachable.

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

Paste raw search URLs from the target site. Each URL becomes its own search task; results are merged and deduped by listing ID across all URLs. When provided, startUrls REPLACE the query/location fields (each supported URL becomes one task; unsupported URLs are skipped, and if none is supported the run stops with an input error).

## `descriptionMaxLength` (type: `integer`):

Truncate description to N chars. 0 = no truncation.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `descriptionFormat` (type: `string`):

Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a value derived from everything that defines the search (sale/rent, cities, start URLs, filters and the centre + radius) so different searches never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.

## `skipReposts` (type: `boolean`):

When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection).

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also emit listings whose content has not changed since the last run.

## `emitExpired` (type: `boolean`):

When incremental mode is on, also emit a record (changeType EXPIRED) for each listing that was seen before but is no longer found. Expiry is only decided on runs that read the whole search without errors.

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1–20).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## `lat` (type: `number`):

Centre point (latitude) for distance. Pair with lon: every result then gets a distanceKm. The city/location search still decides which city is searched.

## `lon` (type: `number`):

Centre point (longitude) for distance. Pair with lat: every result then gets a distanceKm. The city/location search still decides which city is searched.

## `radiusKm` (type: `integer`):

Keep only listings within this many km of lat/lon (needs both). Listings without coordinates are left out, because they cannot be placed inside the radius. The city/location search still decides which city is searched. 0 = no radius filter.

## Actor input object example

```json
{
  "query": "sale",
  "location": "Mumbai",
  "availability": "any",
  "maxResults": 100,
  "startUrls": [],
  "descriptionMaxLength": 0,
  "compact": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "skipReposts": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `results` (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 = {
    "query": "sale",
    "location": "Mumbai",
    "maxResults": 100,
    "descriptionFormat": "all",
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/magicbricks-com-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 = {
    "query": "sale",
    "location": "Mumbai",
    "maxResults": 100,
    "descriptionFormat": "all",
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/magicbricks-com-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 '{
  "query": "sale",
  "location": "Mumbai",
  "maxResults": 100,
  "descriptionFormat": "all",
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/magicbricks-com-scraper --silent --output-dataset

```

## MCP server setup

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