Skip to main content
POST
/
api
/
magicbricks
/
projects
/magicbricks/projects
curl --request POST \
  --url https://api.anysite.io/api/magicbricks/projects \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "project": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@magicbricks_project",
    "name": "<string>",
    "project_type": "<string>",
    "property_type": "<string>",
    "configuration": "<string>",
    "description": "<string>",
    "construction_status": "<string>",
    "launch_date": "<string>",
    "possession_date": "<string>",
    "price_min": 123,
    "price_max": 123,
    "price_text": "<string>",
    "price_per_sqft": 123,
    "currency": "<string>",
    "project_area": "<string>",
    "tower_count": 123,
    "unit_count": 123,
    "bedrooms": "<string>",
    "city": "<string>",
    "locality": "<string>",
    "address": "<string>",
    "state": "<string>",
    "pincode": "<string>",
    "latitude": 123,
    "longitude": 123,
    "rera_id": "<string>",
    "is_rera_approved": true,
    "is_prelaunch": true,
    "builder_name": "<string>",
    "builder_description": "<string>",
    "builder_url": "<string>",
    "brochure_url": "<string>",
    "amenities": [],
    "highlights": [],
    "configurations": [],
    "rating": {
      "@type": "@magicbricks_project_rating",
      "overall": 123,
      "construction_quality": 123,
      "maintenance": 123,
      "amenities": 123,
      "infrastructure": 123,
      "security": 123,
      "rating_count": 123
    },
    "image": "<string>",
    "images": [],
    "image_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
project
string
required

Magicbricks project id (psmId) or a project page URL containing it

Minimum string length: 1
Examples:

"5433263"

"https://www.magicbricks.com/amogaya-adorit-budigere-cross-bangalore-pdpid-4d4235343333323633"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@magicbricks_project
name
string | null
project_type
string | null
property_type
string | null
configuration
string | null
description
string | null
construction_status
string | null
launch_date
string | null
possession_date
string | null
price_min
number | null
price_max
number | null
price_text
string | null
price_per_sqft
number | null
currency
string | null
project_area
string | null
tower_count
integer | null
unit_count
integer | null
bedrooms
string | null
city
string | null
locality
string | null
address
string | null
state
string | null
pincode
string | null
latitude
number | null
longitude
number | null
rera_id
string | null
is_rera_approved
boolean | null
is_prelaunch
boolean | null
builder_name
string | null
builder_description
string | null
builder_url
string | null
brochure_url
string | null
amenities
string[]
highlights
string[]
configurations
MagicbricksProjectConfiguration · object[]
rating
MagicbricksProjectRating · object
image
string | null
images
string[]
image_count
integer | null