# Zameen.com Scraper — Pakistan Property for Sale & Rent (`hipersoft/zameen-scraper`) Actor

Scrape Zameen.com, Pakistan's largest property portal: houses, flats, plots and commercial property for sale or rent in Lahore, Karachi, Islamabad and more. Price, beds, baths, area in sqm and marla, location, coordinates, agency and contact. Export CSV/JSON.

- **URL**: https://apify.com/hipersoft/zameen-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00075 / listing

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Zameen.com Scraper: Pakistan Property for Sale and Rent

**Zameen.com Scraper** extracts property listings from **Zameen.com**, Pakistan's largest real estate portal, with hundreds of thousands of **houses, flats, plots, shops, offices and commercial property** for sale and rent in **Lahore, Karachi, Islamabad, Rawalpindi, Faisalabad, Multan, Peshawar** and more. Every listing includes the **title, price in PKR, bedrooms, bathrooms, area in square metres and marla, city, area and society (e.g. DHA Defence, Bahria Town), province, GPS coordinates, description, verified flag, photo and video counts, cover photo, agency name and logo, contact phone and WhatsApp**, and listing dates. Filter by **property type, city, price and bedrooms**, or paste any Zameen search link, and export to **CSV, Excel or JSON**.

### What does Zameen.com Scraper do?

- 🏠 **Property types**: homes, plots and commercial for sale; homes, plots and commercial for rent.
- 🏙️ **12 major cities**: Lahore, Karachi, Islamabad, Rawalpindi, Faisalabad, Multan, Peshawar, Gujranwala, Hyderabad, Quetta, Sialkot, Bahawalpur.
- 🔗 **Any area or society**: paste Zameen links for DHA, Bahria Town, Gulberg, Clifton and more.
- 💰 **Price filter** in PKR and **bedroom filter**.
- 📐 **Area in square metres and marla** (Zameen marla = 225 sq ft).
- 📍 **Location hierarchy** (province, city, area, sub-area) and **GPS coordinates**.
- 🏢 **Agency** name, ID and logo, plus **contact phone and WhatsApp**.
- ✅ **Verified** and **listing tier** (Super Hot, Hot) flags.
- 🖼️ **Cover photo**, photo count and video count.
- 📅 **Created and updated** dates.
- 📈 **Thousands of listings per city** with automatic paging.

### What data can you scrape from Zameen.com?

| Field | Description |
|---|---|
| Listing | ID, title, link, purpose (for sale / for rent), property type |
| Price | Price in PKR, rent frequency |
| Layout | Bedrooms, bathrooms |
| Size | Area in sqm and marla |
| Location | Province, city, area, sub-area, latitude, longitude |
| Description | Short description |
| Media | Cover photo, photo count, video count |
| Agency | Name, ID, logo |
| Contact | Contact name, phone, WhatsApp |
| Flags | Verified, listing tier |
| Dates | Created and updated |

### Use cases for Pakistan property data

- **Real estate investors**: compare prices per marla across Lahore, Karachi and Islamabad societies.
- **Agencies and developers**: monitor competitor listings and new projects.
- **Property price research**: build price indices for DHA, Bahria Town and other societies.
- **Lead generation**: find active agencies and their contact numbers.
- **Overseas Pakistanis**: shortlist homes and plots by budget and size.
- **Proptech and valuation**: feed geocoded listings into pricing models.

### How to scrape Zameen.com

1. Click **Try for free** to open Zameen.com Scraper in Apify Console.
2. Choose a **property type** and **cities**, or paste **Zameen search links**.
3. Optionally set a **price range** and **bedrooms**.
4. Set **Max listings** and click **Start**.
5. Download the listings as **CSV, Excel or JSON**.

### Input

#### Example input

```json
{
  "propertyType": "homes",
  "cities": ["islamabad", "lahore"],
  "maxPrice": 30000000,
  "bedrooms": ["3", "4"],
  "maxItems": 1000
}
```

| Field | Description |
|---|---|
| **Property type** | Homes, plots or commercial; for sale or rent. |
| **Cities** | One or more Pakistani cities. |
| **Minimum / Maximum price** | Price range in PKR. |
| **Bedrooms** | Bedroom counts to include. |
| **Zameen search links** | Any Zameen search link for an area, society or custom filter. |
| **Max listings** | Stop after this many (0 = no limit). |

### Output

#### Listing example

```json
{
  "listingId": "54689635",
  "url": "https://www.zameen.com/Property/bahria_enclave_bahria_enclave_-_sector_n_sector_n_5_marla_brand_new_corner_house_for_sale_bahria_enclave_islamabad-54689635-11975-1.html",
  "title": "Sector N 5 Marla Brand New Corner House For Sale | Bahria Enclave, Islamabad",
  "purpose": "for-sale",
  "propertyType": "House",
  "price": 24500000,
  "currency": "PKR",
  "bedrooms": 3,
  "bathrooms": 3,
  "areaSqm": 104.52,
  "areaMarla": 5,
  "city": "Islamabad",
  "area": "Bahria Town",
  "subArea": "Bahria Enclave, Bahria Enclave - Sector N",
  "province": "Islamabad Capital",
  "latitude": 33.69065954,
  "longitude": 73.24194062,
  "description": "Sector: N House Size: 5 Marla Brand New Corner House 3 Bedrooms With Attached Bathrooms TV Lounge",
  "verified": false,
  "listingTier": "superhot",
  "photoCount": 38,
  "videoCount": 1,
  "imageUrl": "https://media.zameen.com/thumbnails/306739797-800x600.jpeg",
  "agencyName": "Al Razzaq Real Estate & Builders",
  "agencyId": "201245",
  "createdAt": "2026-10-06T06:28:07.000Z",
  "search": "Homes Islamabad"
}
```

#### Output schema

| Field | Type | Description |
|---|---|---|
| `listingId`, `url`, `title` | string | Listing. |
| `purpose`, `propertyType` | string | Type. |
| `price`, `currency`, `rentFrequency` | mixed | Price. |
| `bedrooms`, `bathrooms` | number | Layout. |
| `areaSqm`, `areaMarla` | number | Size. |
| `province`, `city`, `area`, `subArea` | string | Location. |
| `latitude`, `longitude`, `exactLocation` | mixed | Coordinates. |
| `description` | string | Description. |
| `verified`, `listingTier` | mixed | Flags. |
| `imageUrl`, `photoCount`, `videoCount` | mixed | Media. |
| `agencyName`, `agencyId`, `agencyLogo` | string | Agency. |
| `contactName`, `phone`, `whatsapp` | string | Listing contact. |
| `createdAt`, `updatedAt` | string | Dates. |
| `search`, `scrapedAt` | string | Source info. |

### How much does it cost to scrape Zameen.com?

Zameen.com Scraper uses **pay-per-listing** pricing: a small fixed price per listing, with automatic discounts on higher Apify plans. See the **Pricing** tab for the exact price.

### More property data

- [OpenSooq Scraper](https://apify.com/hipersoft/opensooq-scraper): Middle East classifieds including property.
- [Property Finder Scraper](https://apify.com/hipersoft/propertyfinder-scraper): UAE and Gulf property.

### FAQ

**Which cities are supported?**
Lahore, Karachi, Islamabad, Rawalpindi, Faisalabad, Multan, Peshawar, Gujranwala, Hyderabad, Quetta, Sialkot and Bahawalpur, plus any area via **Zameen search links**.

**How is marla calculated?**
Using Zameen's standard of 1 marla = 225 sq ft (20.9 m²).

**Can I scrape a specific society like DHA or Bahria Town?**
Yes. Open the society on Zameen.com, copy the link and paste it into **Zameen search links**.

**What formats can I export?**
CSV, Excel, JSON, XML, HTML and RSS, or read the results through the Apify API.

**Can I integrate Zameen.com Scraper with other apps?**
Zameen.com Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JS/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

**Is it legal to scrape Zameen.com?**
The scraper only collects publicly listed property information. You are responsible for using the data, especially contact details, in line with Zameen's terms and applicable law.

### Related Actors

- [OpenSooq Scraper](https://apify.com/hipersoft/opensooq-scraper)
- [Property Finder Scraper](https://apify.com/hipersoft/propertyfinder-scraper)

### Notes

Original clean-room implementation. Returns only public data. Not affiliated with Zameen.com.

# Actor input Schema

## `propertyType` (type: `string`):

What to scrape.

## `cities` (type: `array`):

Pakistani cities to scrape.

## `minPrice` (type: `integer`):

Only listings at or above this price.

## `maxPrice` (type: `integer`):

Only listings at or below this price.

## `bedrooms` (type: `array`):

Only listings with these bedroom counts, e.g. 3, 4, 5.

## `startUrls` (type: `array`):

Optional. Paste Zameen.com search links for any area or society (e.g. DHA Defence, Bahria Town) with your own filters. When set, the fields above are ignored.

## `maxItems` (type: `integer`):

Stop after this many listings. 0 means no limit.

## `proxyConfiguration` (type: `object`):

Not required for normal use.

## Actor input object example

```json
{
  "propertyType": "homes",
  "cities": [
    "lahore"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

The results as dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cities": [
        "lahore"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/zameen-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "cities": ["lahore"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/zameen-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cities": [
    "lahore"
  ],
  "maxItems": 50
}' |
apify call hipersoft/zameen-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/zameen-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lMrP6munyWMSyDHEv/builds/JlM1HOIOfGwmWbo8E/openapi.json
