---
title: "Search MagicBricks listings"
method: GET
path: "/magicbricks/v1/search"
tags: ["MagicBricks"]
---

# Search MagicBricks listings

`GET /magicbricks/v1/search`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/magicbricks/v1/search`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `city` string, required
- `category` 'buy' | 'rent'
- `property_type` string, required
- `locality` integer, nullable
- `keyword` string, nullable
- `page` integer
- `limit` integer

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested MagicBricks resource does not exist. The response is not billable.
- `422`: A public parameter is missing or invalid, or a city, locality or property type cannot be resolved. No upstream call is made and the response is not billable.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
