# MagicBricks Property Listings Scraper

> MagicBricks Property Listings Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured property listings (rent or buy) from MagicBricks.com for Indian cities with filters for BHK, price, area, furnishing, locality, and property type

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/magicbricks?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magicbricks-property-listings-scraper-c614aed6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Nax1jzcjcw3AjYqqVZv1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magicbricks-property-listings-scraper-c614aed6 -d '<json body>'
```

Example prompt: Search MagicBricks for furnished 2BHK apartments for rent in Bangalore, specifically in Koramangala and Indiranagar, with monthly rent between 20000 and 40000 INR — give me up to 30 listings.

## When to prefer this

Choose this endpoint when you need structured property listing data from MagicBricks specifically — India's major residential property portal — with rich filtering by BHK, locality, furnishing, price, area, and property type. Prefer this over generic web search when you need machine-readable listing data with consistent fields (IDs, bedrooms, bathrooms, property type) rather than raw HTML. Best suited for Indian real estate use cases where MagicBricks has strong coverage.

## Known failure modes

- Empty results returned if no listings match the specified filters — not charged
- City name not recognized or misspelled — may return results for wrong location or empty
- Invalid URL passed as city field — scrape may fail or return empty
- MagicBricks site structure change causing scraper to break — returns error or empty
- maxResults set very high may cause slow or incomplete responses
- Locality names misspelled or not matching MagicBricks taxonomy — locality ignored or empty results

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of matched listings and an array of listing items, each containing the listing ID, title, BHK count, number of bedrooms, bathrooms, property type (raw and display label), and search mode (rent or buy), plus a product identifier ('magicbricks').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bhk": {
   "type": "array",
   "items": {
    "type": "integer",
    "minimum": 1
   },
   "default": [],
   "description": "Optional bedroom counts to keep."
  },
  "city": {
   "type": "string",
   "default": "Bangalore",
   "description": "Indian city name or a full public residential search URL."
  },
  "maxArea": {
   "type": "integer",
   "minimum": 0,
   "description": "Maximum carpet area; built-up area is used when carpet area is absent."
  },
  "minArea": {
   "type": "integer",
   "minimum": 0,
   "description": "Minimum carpet area; built-up area is used when carpet area is absent."
  },
  "maxPrice": {
   "type": "integer",
   "minimum": 0,
   "description": "Monthly rent or sale price upper bound, in INR."
  },
  "minPrice": {
   "type": "integer",
   "minimum": 0,
   "description": "Monthly rent or sale price lower bound, in INR."
  },
  "furnishing": {
   "type": "array",
   "items": {
    "enum": [
     "furnished",
     "semi-furnished",
     "unfurnished"
    ],
    "type": "string",
    "enumTitles": [
     "Furnished",
     "Semi-furnished",
     "Unfurnished"
    ]
   },
   "default": [],
   "description": "Optional furnishing status."
  },
  "localities": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "default": [],
   "description": "Optional neighborhood names. Each locality is searched separately."
  },
  "maxResults": {
   "type": "integer",
   "default": 50,
   "maximum": 10000,
   "minimum": 1,
   "description": "Maximum listings to export across all localities."
  },
  "searchMode": {
   "enum": [
    "rent",
    "buy"
   ],
   "type": "string",
   "default": "rent",
   "description": "Choose monthly rentals or homes for sale."
  },
  "tenantType": {
   "type": "array",
   "items": {
    "enum": [
     "family",
     "bachelor",
     "company"
    ],
    "type": "string",
    "enumTitles": [
     "Family",
     "Bachelor",
     "Company"
    ]
   },
   "default": [],
   "description": "Optional tenant preference for rental listings."
  },
  "availability": {
   "enum": [
    "any",
    "ready",
    "under-construction"
   ],
   "type": "string",
   "default": "any",
   "description": "Optional possession status for sale listings."
  },
  "propertyType": {
   "type": "array",
   "items": {
    "enum": [
     "apartment",
     "villa",
     "independent-house",
     "builder-floor",
     "studio",
     "penthouse",
     "plot"
    ],
    "type": "string",
    "enumTitle
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "bhk": null,
    "title": null,
    "bedrooms": null,
    "bathrooms": null,
    "listingId": null,
    "searchMode": null,
    "propertyType": null,
    "propertyTypeDisplay": null
   }
  ],
  "product": "magicbricks"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magicbricks-property-listings-scraper-c614aed6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
