🏠 Zameen.com Scraper
Pricing
Pay per usage
🏠 Zameen.com Scraper
Extract detailed real estate listings from Pakistan's leading property portal. This lightweight actor efficiently scrapes data for houses, plots, and commercial properties for sale or rent. For seamless extraction and to avoid IP bans, the use of residential proxies is strongly recommended.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Shahid Irfan
Actor stats
0
Bookmarked
6
Total users
2
Monthly active users
13 days ago
Last modified
Categories
Share
Zameen.com Property Scraper
Extract comprehensive property listings from Zameen.com, Pakistan's leading real estate platform. This powerful scraper collects detailed information about houses, apartments, plots, and commercial properties across all major cities including Islamabad, Lahore, Karachi, and more. Perfect for real estate analysis, market research, and data-driven investment decisions.
Key Features
- Comprehensive Data Extraction: Captures essential property details including price, bedrooms, bathrooms, area, location, and descriptions
- Flexible Input Options: Scrape by canonical listing URLs (recommended) or by
location + keywordresolver (no/search/) - Intelligent Pagination: Automatically handles multiple pages to collect extensive datasets
- Detail Page Scraping: Optional deep scraping of individual property pages for complete information
- Deduplication: Built-in duplicate removal ensures clean, unique results
- Proxy Support: Integrated proxy configuration to handle rate limiting and blocking
- Export-Ready Output: Structured JSON data perfect for analysis and integration
Input Configuration
Configure the scraper using the following input parameters. All fields are optional with sensible defaults.
Basic Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
startUrls | Array | Canonical Zameen listing URLs (recommended) | ["https://www.zameen.com/Homes/Lahore-1-1.html"] |
category | String | Used only with location + keyword resolver | "Homes" |
keyword | String | Area/development keyword to resolve within city | "Bahria Town" |
location | String | City name to resolve within | "Lahore" |
Note: if you provide startUrls, the actor uses those URLs directly and ignores the location + keyword resolver.
Advanced Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
results_wanted | Integer | Maximum number of properties to collect | 100 |
max_pages | Integer | Maximum pages to scrape per URL | 20 |
scrapeDetails | Boolean | Scrape individual property detail pages | true |
proxyConfiguration | Object | Proxy settings for anti-blocking | {"useApifyProxy": true} |
Example Input
{"startUrls": ["https://www.zameen.com/Homes/Pakistan-1-1.html"],"results_wanted": 50,"max_pages": 5,"scrapeDetails": true,"proxyConfiguration": {"useApifyProxy": true}}
Output Data Structure
The scraper produces clean, structured JSON records with the following schema:
{"title": "3 Marla House in DHA Defence","price": 12500000,"currency": "PKR","bedrooms": 3,"bathrooms": 3,"area": 3,"area_unit": "marla","location": "DHA Phase 2, DHA Defence","city": "Islamabad","property_type": "house","purpose": "sale","Description": "Beautiful 3 marla house available for sale in DHA Defence Phase 2...","external_id": "53463864","url": "https://www.zameen.com/Property/dha_defence_dha_phase_2_3_marla_house_for_sale_53463864-12345-1.html","source": "zameen.com"}
Usage Guide
Quick Start
- Access the Actor: Visit the actor page on Apify platform
- Configure Input: Set your desired parameters using the input form or JSON editor
- Run the Actor: Click "Start" to begin scraping
- Download Results: Export data from the dataset in your preferred format (JSON, CSV, Excel)
Scraping Strategies
Direct URL Scraping
Provide specific Zameen.com URLs for targeted scraping:
{"startUrls": ["https://www.zameen.com/Homes/Islamabad-3-1.html","https://www.zameen.com/Homes/Lahore-1-1.html"],"results_wanted": 100}
Keyword Search
Resolve a canonical listing page from location + keyword (avoids /search/, which often returns 503):
{"category": "Homes","keyword": "Bahria Town","location": "Lahore","results_wanted": 200,"scrapeDetails": true}
Area-Specific Scraping
Target specific neighborhoods or developments:
{"startUrls": ["https://www.zameen.com/Homes/Karachi_DHA-1234-1.html"],"max_pages": 20}
Best Practices
- Start Small: Begin with
results_wanted: 10-50to test your configuration - Enable Details: Set
scrapeDetails: truefor complete property information - Use Proxies: Always enable proxy configuration for reliable scraping
- Monitor Limits: Respect Zameen.com's terms of service and implement appropriate delays
- Data Validation: Review sample results before large-scale runs
Troubleshooting
Common Issues
Error Messages
| Error | Description | Solution |
|---|---|---|
No listings found | Search returned no results | Adjust keywords or location |
Page not accessible | URL blocked or invalid | Use proxies, check URL validity |
Timeout error | Request took too long | Increase timeout, use faster proxies |
Parse error | Unexpected page structure | Report to maintainer, try different URLs |
Data Usage Examples
Real Estate Market Analysis
// Collect data for market research{"location": "Islamabad","results_wanted": 1000,"scrapeDetails": true}
Investment Property Search
// Find rental properties{"keyword": "apartment for rent","location": "Lahore","results_wanted": 500}
Commercial Property Listings
// Scrape commercial spaces{"category": "Commercial","keyword": "DHA","location": "Karachi"}
Changelog
v1.0.0
- Initial release with comprehensive Zameen.com scraping capabilities
- JSON-first extraction with HTML fallback
- Support for all major Pakistani cities
- Built-in pagination and deduplication
Support
For technical support or feature requests:
- Check the troubleshooting section above
- Review Apify actor logs for detailed error information
- Provide the following when reporting issues:
- Actor run ID
- Input configuration used
- Specific error messages
- Expected vs actual behavior
Legal and Ethical Use
- Respect Zameen.com's Terms of Service
- Use scraped data responsibly and in compliance with local laws
- Implement appropriate rate limiting to avoid impacting the target website
- Consider the privacy implications of collecting property data
This actor is designed for legitimate real estate research and analysis purposes. Always ensure compliance with applicable laws and website terms of service.