Scraper API
MagicBricksmagicbricks.searchAvailable
MagicBricks search
The homes on a page of the city's listings: title, price, price per square foot, kind of home, rooms, size, locality, coordinates, furnishing and photo.
Give it a city, sale or rent, and a page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 3, 1 required
- Record
- 27 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/magicbricks.search/runs
sent, and answered
a record of the run27 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 27 fields are set down here; the whole record is below.

What it is used for
- Watch a city's housing prices
- Read a city's listings on a schedule and keep
price_per_sqftby locality, to follow what homes cost where. - Compare rents across localities
- Read the homes to rent in a city and set
pricebesidebedroomsandlocality, to see where rents sit. - Count new listings
- List the homes posted today in a city, with
postedandadvertiser_type, to see how much comes from owners and how much from agents.
What you send
A city, sale or rent, and a page. These are its 3 inputs, as its schema has them.
citystring Required- A city MagicBricks lists, such as Mumbai, Bangalore or New Delhi.
dealstring Optional- Homes for sale, or to rent.Default
sale pageinteger Optional- The page of listings, 30 each, from 1 to 50.Default
1
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/magicbricks.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"city":"Mumbai"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("magicbricks.search", {"city": "Mumbai"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("magicbricks.search", { city: "Mumbai" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "magicbricks.search", map[string]any{"city": "Mumbai"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("magicbricks.search", Map.of("city", "Mumbai"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run magicbricks.search --input city=MumbaiInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The homes on a page of the city's listings: title, price, price per square foot, kind of home, rooms, size, locality, coordinates, furnishing and photo. A record has 27 fields. One we could not read is null, never an empty string or a zero.
{
"id": "87445593",
"title": "1BHK Multistorey Apartment for Resale in Ambika Darshan at Kandivali East",
"url": "https://www.magicbricks.com/propertyDetails/1-BHK-492-Sq-ft-Multistorey-Apartment-FOR-Sale-Kandivali-East-in-Mumbai&id=4d423837343435353933",
"position": 1,
"price": 11000000,
"price_text": "1.10 Cr",
"price_per_sqft": 22358,
"property_type": "Apartment",
"bedrooms": 1,
"bathrooms": 1,
"carpet_area_sqft": 425,
"covered_area_sqft": 492,
"locality": "Kandivali East",
"city": "Mumbai",
"project": "Ambika Darshan",
"latitude": 19.2050017,
"longitude": 72.8692711,
"furnishing": "Semi-Furnished",
"possession": "Ready to Move",
"transaction": "Resale",
"floor": "7 of 7 Floor",
"advertiser_type": "Owner",
"posted": "Posted Today",
"description": "very good location, good connectivity to railway station, metro station, western express Highway, east west flyover, market ,. hospital, temple, bus depot , park everything is within 2 to 5 minutes distance",
"image": "https://img.staticmb.com/mbphoto/property/cropped_images/2026/Nov/19/Photo_h180_w240/87445593_7_PropertyImage138-48692263481433_180_240.jpg",
"image_count": 7,
"fetched_at": "2026-11-19T20:00:55.447437Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
idstring- MagicBricks' number of the listing.
titlestring- The listing's title, e.g.
1BHK Multistorey Apartment for Resale in Ambika Darshan at Kandivali East. urlstring- The property's page on magicbricks.com.
positioninteger- Its place on the page, from 1.
pricenumber or null- The price asked, in rupees: the sale price, or the monthly rent.
price_textstring or null- The price as the page writes it, e.g.
1.10 Cror45,000. price_per_sqftnumber or null- The price per square foot the page states, in rupees.
property_typestring or null- The kind of home, e.g.
ApartmentorVilla. bedroomsinteger or null- The number of bedrooms.
bathroomsinteger or null- The number of bathrooms.
carpet_area_sqftnumber or null- The carpet area, in square feet; null where the listing gives none or another unit.
covered_area_sqftnumber or null- The covered (super built-up) area, in square feet; null where the listing gives none or another unit.
localitystring or null- The locality, e.g.
Kandivali East. citystring or null- The city.
projectstring or null- The building or project's name, where the listing names one.
latitudenumber or null- The latitude the listing gives.
longitudenumber or null- The longitude.
furnishingstring or nullFurnished,Semi-FurnishedorUnfurnished.possessionstring or null- When it can be moved into, e.g.
Ready to Move. transactionstring or nullNew PropertyorResale, for a home for sale.floorstring or null- The floor as the page writes it, e.g.
7 of 7 Floor. advertiser_typestring or null- Who advertises it:
Owner,AgentorBuilder. The advertiser's name is not returned. postedstring or null- When it was posted, as the page writes it, e.g.
Posted Today. descriptionstring or null- The listing's text.
imagestring or null- The listing's main photo.
image_countinteger or null- How many photos it has.
fetched_atdatetime- When the page was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one page of a city's listings: 30 homes.
- The advertiser's name and telephone number are not returned, only whether it is an owner, an agent or a builder.
The bounds its schema sets
deal- sale, rent; sale unless you say otherwise
page- 1 to 50; 1 unless you say otherwise
Questions
What does MagicBricks search return?
The homes on a page of the city's listings: title, price, price per square foot, kind of home, rooms, size, locality, coordinates, furnishing and photo. A record has 27 fields, among them id, title, url, position, price and price_text. A value that could not be read is null, never an empty string or a zero.
What do I send?
A city, sale or rent, and a page. The input city is required. Optional: deal and page.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: deal sale, rent (sale unless you say otherwise); page 1 to 50 (1 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One run reads one page of a city's listings: 30 homes. The advertiser's name and telephone number are not returned, only whether it is an owner, an agent or a builder.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id magicbricks.search and the same input. It costs what the same API call costs.
MagicBricks
MagicBricks' public listings of homes for sale and to rent in Indian cities: price, size, rooms, locality, furnishing and the kind of advertiser.
MagicBricks property
magicbricks.propertyThe address of a property's page on magicbricks.com. The property: price, kind of home, rooms, size, address, coordinates, furnishing, possession, floors, the day it was posted and its text.
- Industry
- Real estate
- Where
- India
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.