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.

MagicBricks
GET/v1/magicbricks/search?city=Mumbai&category=buy&property_type=flat&limit=10
{
  "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"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idintegertitlestringurlurlpriceintegercurrencystringprice_displaystringcarpet_areaintegerarea_unitstringbedroomsintegerbathroomsintegerfloorstringfurnishingstringpossessionstringproperty_typestringowner_typestringlocalitystringcitystringimagesstring[]
187331531Modern 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=4d42383733333135333113630500INR1.36 Cr699sqft23Ground of 42 FloorUnfurnishedUnder ConstructionMultistorey ApartmentBuilderMira RoadMumbai[1 item]
287302151Multistorey 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=4d42383733303231353117000000INR1.70 Cr640sqft226 of 7 FloorSemi-FurnishedReady to MoveMultistorey ApartmentOwnerChemburMumbai[3 items]
387302011Corner 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, lifthttps://www.magicbricks.com/propertyDetails/3-BHK-673-Sq-ft-Multistorey-Apartment-FOR-Sale-in-Mumbai&id=4d4238373330323031319000000INR90 Lac578sqft323 of 3 FloorUnfurnishedReady to MoveMultistorey ApartmentOwner—Mumbai[3 items]

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

cURLshell
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.

EndpointRequired parametersReturnsCost
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: search takes a city and property_type, with category (buy or rent), locality, keyword, page and limit. filters takes a city, with category and property_type.
  • Listings: listing takes an id, with slug.
  • Projects: projects takes a city and property_type, with page; project takes an id, with slug.
  • Places: cities takes a group (top, new or popular); localities takes a city, with type (popular or suburbs) and limit; locality takes a city, with locality; autocomplete takes a query, with city and type (all, locality or project).
  • Prices: price-trends takes a city, with locality, project and property_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.

Real estateJSONRESTMCP

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 type

Follow 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 project

Compare projects in a city by property type

Use the MagicBricks API to compare projects in a city by property type

Build 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.