APIs / MagicBricks / Cities
MagicBricks: Cities
Cities from MagicBricks as JSON. 1 credit per successful call.
GET /v1/magicbricks/cities
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
group | string | Optional | top, new, popular |
Example request
MagicBricks
GET/v1/magicbricks/cities?group=top
{
"success": true,
"data": {
"group": "top",
"items": [
{
"id": 2624,
"name": "New Delhi",
"group": "top"
},
{
"id": 2951,
"name": "Gurgaon",
"group": "top"
},
{
"id": 6403,
"name": "Noida",
"group": "top"
}
]
},
"meta": {
"endpoint_family": "cities"
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.items has these 3 fields, read from a recorded call that returned 16 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | integer |
name | string |
group | string |