APIs / Real estate / MagicBricks
1 credit per call10 endpoints18 datapointsChecked working 6 Dec 2026
MagicBricks API
MagicBricks API for property listings to buy or rent, projects, localities, city lists and price trends as JSON. 10 endpoints, 1 credit per successful call.
{
"success": true,
"data": {
"items": [
{
"id": 87331531,
"title": "Modern construction technologies and premium quality materials are used to create homes that offer superior quality, durability, and comfort.",
"url": "https://www.magicbricks.com/propertyDetails/2-BHK-699-Sq-ft-Multistorey-Apartment-FOR-Sale-Mira-Road-in-Mumbai&id=4d423837333331353331",
"price": 13630500,
"currency": "INR",
"price_display": "1.36 Cr",
"carpet_area": 699,
"area_unit": "sqft",
"bedrooms": 2,
"bathrooms": 3,
"floor": "Ground of 42 Floor",
"furnishing": "Unfurnished",
"possession": "Under Construction",
"property_type": "Multistorey Apartment",
"owner_type": "Builder",
"locality": "Mira Road",
"city": "Mumbai",
"images": [
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dcvHWJgbYEZoJvbsZMkDnhRE/Photo_h470_w1080/87331531_1_VENINGVIEW1_470_1080.jpeg"
]
},
{
"id": 87302151,
"title": "Multistorey apartment is available for sale. It is a good location property. Please contact for more details.",
"url": "https://www.magicbricks.com/propertyDetails/2-BHK-920-Sq-ft-Multistorey-Apartment-FOR-Sale-Chembur-in-Mumbai&id=4d423837333032313531",
"price": 17000000,
"currency": "INR",
"price_display": "1.70 Cr",
"carpet_area": 640,
"covered_area": 920,
"area_unit": "sqft",
"bedrooms": 2,
"bathrooms": 2,
"floor": "6 of 7 Floor",
"furnishing": "Semi-Furnished",
"possession": "Ready to Move",
"property_type": "Multistorey Apartment",
"owner_type": "Owner",
"locality": "Chembur",
"city": "Mumbai",
"images": [
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_1_PropertyImage8-626988410167513_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_9_PropertyImage569-088745786362_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_11_PropertyImage119-81679265985012_470_1080.jpg"
]
},
{
"id": 87302011,
"title": "Corner top floor apartment of the society, has views of both the oustide greenary and the society interiors. Covered parking, and other amenities in the society Swimming pool, security, lift",
"url": "https://www.magicbricks.com/propertyDetails/3-BHK-673-Sq-ft-Multistorey-Apartment-FOR-Sale-in-Mumbai&id=4d423837333032303131",
"price": 9000000,
"currency": "INR",
"price_display": "90 Lac",
"carpet_area": 578,
"covered_area": 673,
"area_unit": "sqft",
"bedrooms": 3,
"bathrooms": 2,
"floor": "3 of 3 Floor",
"furnishing": "Unfurnished",
"possession": "Ready to Move",
"property_type": "Multistorey Apartment",
"owner_type": "Owner",
"city": "Mumbai",
"images": [
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_5_MG2551_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_6_MG2550_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_1_MG5042_470_1080.JPG"
]
}
],
"page": 1,
"limit": 10,
"total": 59812,
"has_more": true
},
"meta": {
"endpoint_family": "search"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idinteger | titlestring | urlurl | priceinteger | currencystring | price_displaystring | carpet_areainteger | area_unitstring | bedroomsinteger | bathroomsinteger | floorstring | furnishingstring | possessionstring | property_typestring | owner_typestring | localitystring | citystring | imagesstring[] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 87331531 | Modern construction technologies and premium quality materials are used to create homes that offer superior quality, durability, and comfort. | https://www.magicbricks.com/propertyDetails/2-BHK-699-Sq-ft-Multistorey-Apartment-FOR-Sale-Mira-Road-in-Mumbai&id=4d423837333331353331 | 13630500 | INR | 1.36 Cr | 699 | sqft | 2 | 3 | Ground of 42 Floor | Unfurnished | Under Construction | Multistorey Apartment | Builder | Mira Road | Mumbai | [1 item] |
| 2 | 87302151 | Multistorey apartment is available for sale. It is a good location property. Please contact for more details. | https://www.magicbricks.com/propertyDetails/2-BHK-920-Sq-ft-Multistorey-Apartment-FOR-Sale-Chembur-in-Mumbai&id=4d423837333032313531 | 17000000 | INR | 1.70 Cr | 640 | sqft | 2 | 2 | 6 of 7 Floor | Semi-Furnished | Ready to Move | Multistorey Apartment | Owner | Chembur | Mumbai | [3 items] |
| 3 | 87302011 | Corner top floor apartment of the society, has views of both the oustide greenary and the society interiors. Covered parking, and other amenities in the society Swimming pool, security, lift | https://www.magicbricks.com/propertyDetails/3-BHK-673-Sq-ft-Multistorey-Apartment-FOR-Sale-in-Mumbai&id=4d423837333032303131 | 9000000 | INR | 90 Lac | 578 | sqft | 3 | 2 | 3 of 3 Floor | Unfurnished | Ready to Move | Multistorey Apartment | Owner | — | Mumbai | [3 items] |
[
{
"id": 87331531,
"title": "Modern construction technologies and premium quality materials are used to create homes that offer superior quality, durability, and comfort.",
"url": "https://www.magicbricks.com/propertyDetails/2-BHK-699-Sq-ft-Multistorey-Apartment-FOR-Sale-Mira-Road-in-Mumbai&id=4d423837333331353331",
"price": 13630500,
"currency": "INR",
"price_display": "1.36 Cr",
"carpet_area": 699,
"area_unit": "sqft",
"bedrooms": 2,
"bathrooms": 3,
"floor": "Ground of 42 Floor",
"furnishing": "Unfurnished",
"possession": "Under Construction",
"property_type": "Multistorey Apartment",
"owner_type": "Builder",
"locality": "Mira Road",
"city": "Mumbai",
"images": [
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dcvHWJgbYEZoJvbsZMkDnhRE/Photo_h470_w1080/87331531_1_VENINGVIEW1_470_1080.jpeg"
]
},
{
"id": 87302151,
"title": "Multistorey apartment is available for sale. It is a good location property. Please contact for more details.",
"url": "https://www.magicbricks.com/propertyDetails/2-BHK-920-Sq-ft-Multistorey-Apartment-FOR-Sale-Chembur-in-Mumbai&id=4d423837333032313531",
"price": 17000000,
"currency": "INR",
"price_display": "1.70 Cr",
"carpet_area": 640,
"covered_area": 920,
"area_unit": "sqft",
"bedrooms": 2,
"bathrooms": 2,
"floor": "6 of 7 Floor",
"furnishing": "Semi-Furnished",
"possession": "Ready to Move",
"property_type": "Multistorey Apartment",
"owner_type": "Owner",
"locality": "Chembur",
"city": "Mumbai",
"images": [
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_1_PropertyImage8-626988410167513_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_9_PropertyImage569-088745786362_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_11_PropertyImage119-81679265985012_470_1080.jpg"
]
},
{
"id": 87302011,
"title": "Corner top floor apartment of the society, has views of both the oustide greenary and the society interiors. Covered parking, and other amenities in the society Swimming pool, security, lift",
"url": "https://www.magicbricks.com/propertyDetails/3-BHK-673-Sq-ft-Multistorey-Apartment-FOR-Sale-in-Mumbai&id=4d423837333032303131",
"price": 9000000,
"currency": "INR",
"price_display": "90 Lac",
"carpet_area": 578,
"covered_area": 673,
"area_unit": "sqft",
"bedrooms": 3,
"bathrooms": 2,
"floor": "3 of 3 Floor",
"furnishing": "Unfurnished",
"possession": "Ready to Move",
"property_type": "Multistorey Apartment",
"owner_type": "Owner",
"city": "Mumbai",
"images": [
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_5_MG2551_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_6_MG2550_470_1080.jpg",
"https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_1_MG5042_470_1080.JPG"
]
}
]id,title,url,price,currency,price_display,carpet_area,area_unit,bedrooms,bathrooms,floor,furnishing,possession,property_type,owner_type,locality,city,images 87331531,"Modern construction technologies and premium quality materials are used to create homes that offer superior quality, durability, and comfort.",https://www.magicbricks.com/propertyDetails/2-BHK-699-Sq-ft-Multistorey-Apartment-FOR-Sale-Mira-Road-in-Mumbai&id=4d423837333331353331,13630500,INR,1.36 Cr,699,sqft,2,3,Ground of 42 Floor,Unfurnished,Under Construction,Multistorey Apartment,Builder,Mira Road,Mumbai,"[""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dcvHWJgbYEZoJvbsZMkDnhRE/Photo_h470_w1080/87331531_1_VENINGVIEW1_470_1080.jpeg""]" 87302151,Multistorey apartment is available for sale. It is a good location property. Please contact for more details.,https://www.magicbricks.com/propertyDetails/2-BHK-920-Sq-ft-Multistorey-Apartment-FOR-Sale-Chembur-in-Mumbai&id=4d423837333032313531,17000000,INR,1.70 Cr,640,sqft,2,2,6 of 7 Floor,Semi-Furnished,Ready to Move,Multistorey Apartment,Owner,Chembur,Mumbai,"[""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_1_PropertyImage8-626988410167513_470_1080.jpg"",""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_9_PropertyImage569-088745786362_470_1080.jpg"",""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302151_11_PropertyImage119-81679265985012_470_1080.jpg""]" 87302011,"Corner top floor apartment of the society, has views of both the oustide greenary and the society interiors. Covered parking, and other amenities in the society Swimming pool, security, lift",https://www.magicbricks.com/propertyDetails/3-BHK-673-Sq-ft-Multistorey-Apartment-FOR-Sale-in-Mumbai&id=4d423837333032303131,9000000,INR,90 Lac,578,sqft,3,2,3 of 3 Floor,Unfurnished,Ready to Move,Multistorey Apartment,Owner,,Mumbai,"[""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_5_MG2551_470_1080.jpg"",""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_6_MG2550_470_1080.jpg"",""https://img.staticmb.com/mbphoto/property/cropped_images/ver2/XIwvQlc61t8ZIpanz4mAnTVO-dQ9dMMz33Gtg1wqTZuZ_ma8RmvG/Photo_h470_w1080/87302011_1_MG5042_470_1080.JPG""]"
Recorded 12 Nov 2026 · 3 items shown · 18 datapoints per itemGET /v1/magicbricks/search?city=Mumbai&category=buy&property_type=flat&limit=10
18 datapoints
Identity
- idinteger
- titlestring
- property_typestring
Contact
- urlurl
- owner_typestring
Location
- carpet_areainteger
- area_unitstring
- citystring
Reputation
- imagesstring[]
Price
- priceinteger
- currencystring
- price_displaystring
Other
- bedroomsinteger
- bathroomsinteger
- floorstring
- furnishingstring
- possessionstring
- localitystring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/magicbricks/search?city=Mumbai&category=buy&property_type=flat&limit=10" \
-H "X-API-Key: $API_KEY"MagicBricks · 10 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/magicbricks/autocomplete | query+2 optional | nametypelocality_idcitycity_id | 1 credit |
GET/v1/magicbricks/cities | none+1 optional | idnamegroup | 1 credit |
GET/v1/magicbricks/filters | city+2 optional | citycategorycategoriesproperty_typespossession_options | 1 credit |
GET/v1/magicbricks/listing | id+1 optional | idtitleurlpricecurrencyprice_display+21 more | 1 credit |
GET/v1/magicbricks/localities | city+2 optional | locality_idnameproperty_countcity_id | 1 credit |
GET/v1/magicbricks/locality | city+1 optional | citycity_iditems | 1 credit |
GET/v1/magicbricks/price-trends | city+3 optional | levelcitylocalities | 1 credit |
GET/v1/magicbricks/project | id+1 optional | idtitleurldescriptionsqft_priceprice_range+12 more | 1 credit |
GET/v1/magicbricks/projects | cityproperty_type+1 optional | idproject_titledeveloperurlprice_rangeprice_min+7 more | 1 credit |
GET/v1/magicbricks/search | cityproperty_type+5 optional | idtitleurlpricecurrencyprice_display+13 more | 1 credit |
Overview
About the MagicBricks API
What you can get
The MagicBricks API returns MagicBricks real-estate data as JSON through 10 endpoints.
- Search:
searchtakes acityandproperty_type, withcategory(buy or rent),locality,keyword,pageandlimit.filterstakes acity, withcategoryandproperty_type. - Listings:
listingtakes anid, withslug. - Projects:
projectstakes acityandproperty_type, withpage;projecttakes anid, withslug. - Places:
citiestakes agroup(top, new or popular);localitiestakes acity, withtype(popular or suburbs) andlimit;localitytakes acity, withlocality;autocompletetakes aquery, withcityandtype(all, locality or project). - Prices:
price-trendstakes acity, withlocality,projectandproperty_type.
How a call works
Search flats to buy in a city: GET /v1/magicbricks/search?city=Mumbai&category=buy&property_type=flat&limit=10 with your key in the X-API-Key header. Page with page and limit. search, locality and price-trends each take a locality parameter, and price-trends takes a project parameter. Every successful call costs 1 credit; failed calls cost nothing.
More real estate APIs
Use cases
Track listings to buy or rent in a city by property type
Use the MagicBricks API to track listings to buy or rent in a city by property typeFollow price trends for a city, a locality or a project
Use the MagicBricks API to follow price trends for a city, a locality or a projectCompare projects in a city by property type
Use the MagicBricks API to compare projects in a city by property typeBuild a city and locality picker with `cities`, `localities` and `autocomplete`
Use the MagicBricks API to build a city and locality picker with `cities`, `localities` and `autocomplete`FAQ
Questions
Do I need a MagicBricks API key?
No. You call this MagicBricks API with your Perceptlayer key in the `X-API-Key` header, with no MagicBricks account.
How much does the MagicBricks API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Does the MagicBricks API cover rentals?
Yes. `search` and `filters` take `category`, set to buy or rent.
Is this the official MagicBricks API?
No. Perceptlayer is an independent service and is not affiliated with MagicBricks. It returns MagicBricks data as JSON with a Perceptlayer key, so there is no MagicBricks developer account, app review or partner approval to get first. It only reads data: if MagicBricks has an official API and you need to act on your own MagicBricks account, such as posting, managing orders or reading private data, use that one.
Should I build a MagicBricks scraper instead?
You can, but a MagicBricks scraper is code you maintain: page changes break it, requests get blocked, and MagicBricks's terms govern how you collect data. The MagicBricks API gives you 10 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the MagicBricks API with 100 free credits
No credit card. Failed calls are never billed.