# Zameen.com Property Scraper (Pakistan Real Estate) (`flourishing_catfish/zameen-property-scraper`) Actor

Scrape Zameen.com listings for sale and rent: price, marla/sqft, price per sqft, beds, baths, GPS location, agency. Lahore, Karachi, Islamabad or any search URL.

- **URL**: https://apify.com/flourishing_catfish/zameen-property-scraper.md
- **Developed by:** [Make Life Fair](https://apify.com/flourishing_catfish) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Property Scraper — Pakistan Real Estate Data

Extract property listings from **Zameen.com**, Pakistan's largest real estate portal. Houses, flats, plots and commercial property for sale or rent in Lahore, Karachi, Islamabad, Rawalpindi, Peshawar, Multan, Faisalabad — or any Zameen search URL with your own filters (society, phase, price, size, bedrooms).

No login, no browser. Fast and cheap.

### What you get

| Field | Example |
|---|---|
| `title`, `url`, `id` | Get A 10 Marla House For sale In LDA Avenue - Block J |
| `price`, `currency`, `purpose` | 45000000, PKR, for-sale |
| `areaMarla`, `areaSqft`, `areaSqm` | 8.26, 2250, 209.03 |
| `pricePerSqft` | 20000 |
| `bedrooms`, `bathrooms`, `category` | 6, 6, House |
| `city`, `locality`, `subLocality`, `locationPath` | Lahore, LDA Avenue, Block J |
| `latitude`, `longitude` | 31.409, 74.210 |
| `agencyName`, `agencyId`, `isVerified`, `listingTier` | Al Buraq Associates |
| `photoCount`, `videoCount`, `coverPhoto` | |
| `createdAt`, `updatedAt` | ISO dates |

Export to JSON, CSV or Excel, use the Apify API, or connect to Google Sheets, Make, Zapier, n8n or an AI agent via MCP.

### Use cases

- **Price per square foot** by society, phase or block — build your own price index.
- **Investment research** — compare rental vs. sale prices across areas.
- **Market monitoring** — schedule daily runs to catch new and updated listings.
- **Agency intelligence** — which agencies list the most in each area.
- **Mapping** — every listing has GPS coordinates.

### Input

- **Cities** + **Listing type** (homes for sale, rentals, plots, commercial) for a quick start, and/or
- **Zameen search URLs** — set any filters on zameen.com, copy the URL, paste it here.
- **Max listings per city / URL.**

```json
{
  "startUrls": [{"url": "https://www.zameen.com/Homes/Lahore_DHA_Defence-9-1.html"}],
  "maxItemsPerSearch": 500
}
```

### Pricing

Pay per listing returned. Platform usage is included.

### Notes

Collects publicly visible listing data. Personal contact names and phone numbers are not collected. Use the data in line with applicable laws and Zameen's terms.

### Sample output

One real listing from a test run (long text shortened):

```json
{
  "id": "54961470",
  "title": "Brand New Modern 5 Marla 2.5 Story House Near Park Available for Sale in Etihad Town, Lahore",
  "url": "https://www.zameen.com/Property/raiwind_road_etihad_town_brand_new_modern_5_marla_2_5_story_house_near_park_available_for_sale_in_etihad_town_lahore-54961470...",
  "purpose": "for-sale",
  "rentFrequency": null,
  "price": 30000000,
  "currency": "PKR",
  "category": "Houses",
  "categoryPath": [
    "Homes",
    "Houses"
  ],
  "bedrooms": 4,
  "bathrooms": 5,
  "areaSqm": 104.52,
  "areaSqft": 1125,
  "areaMarla": 5,
  "pricePerSqft": 26667,
  "city": "Lahore",
  "locality": "Raiwind Road",
  "subLocality": "Etihad Town",
  "locationPath": [
    "Pakistan",
    "Punjab",
    "Lahore"
  ],
  "latitude": 31.4438427,
  "longitude": 74.2313632,
  "agencyName": "Haram Real Estate & Builders",
  "agencyId": "196605",
  "isVerified": false,
  "listingTier": "superhot",
  "photoCount": 9,
  "videoCount": 0,
  "coverPhoto": "https://media.zameen.com/thumbnails/309384357-400x300.jpeg",
  "shortDescription": "5 Marla Brand New House\n4 Bed Rooms\n5 Washrooms\n2 TV Lounge\n2",
  "createdAt": "2026-11-07T12:40:15+00:00",
  "updatedAt": "2026-11-07T12:40:15+00:00",
  "source": "https://www.zameen.com/Homes/Lahore-1-1.html",
  "page": 1,
  "position": 1,
  "scrapedAt": "2026-11-07T12:44:13.374756+00:00"
}
```

### How to use

1. Click **Try for free** (or Start).
2. Pick cities (e.g. `lahore`, `karachi`) or paste any Zameen search URL with your filters.
3. Set the maximum number of listings, then run.
4. Download the results as JSON, CSV, Excel or HTML, or send them to Google Sheets, Make, Zapier or a webhook.

You can schedule the run (daily, hourly) in Apify to track new listings and price changes over time.

### How much does it cost?

**$4 per 1,000 listings** ($0.004 per listing), and Apify platform usage is included in that price.

| Listings | Cost |
|---|---|
| 100 | $0.40 |
| 1,000 | $4 |
| 10,000 | $40 |

### Use it from code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("flourishing_catfish/zameen-property-scraper").call(run_input={"cities": ["lahore"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

HTTP API (returns the items directly):

```bash
curl -X POST "https://api.apify.com/v2/acts/flourishing_catfish~zameen-property-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" -d '{"cities": ["lahore"]}'
```

### FAQ

**Do I need a Zameen account?** No. It reads public pages only, with no login and no browser.

**Is scraping Zameen legal?** It collects publicly visible data. You're responsible for how you use it: follow the site's terms and the data-protection law that applies to you (e.g. GDPR), and don't use it for spam.

**Something broke or a field is missing?** Report it on this Actor's Issues tab with the input you used.

### Also searched as

Zameen.com scraper, Pakistan property prices, Lahore plots, DHA Karachi, Islamabad houses, real estate data Pakistan

# Actor input Schema

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

Quick start: pick cities to scrape. For areas, filters or societies, paste a Zameen search URL below instead.

## `listingType` (type: `string`):

What to scrape for the selected cities.

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

Any zameen.com search results page, e.g. https://www.zameen.com/Homes/Lahore_DHA_Defence-9-1.html (filters in the URL are kept).

## `maxItemsPerSearch` (type: `integer`):

Stop after this many listings for each search.

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

Usually not needed.

## Actor input object example

```json
{
  "cities": [
    "lahore"
  ],
  "listingType": "homes-sale",
  "maxItemsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("flourishing_catfish/zameen-property-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"] }

# Run the Actor and wait for it to finish
run = client.actor("flourishing_catfish/zameen-property-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"
  ]
}' |
apify call flourishing_catfish/zameen-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,flourishing_catfish/zameen-property-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/orVaR0fBJh2WycY0h/builds/VjduxVC1AM0f8Y1nO/openapi.json
