# 99acres Scraper (`gauzy_penguin/99acres-scraper`) Actor

Extract property listings from 99acres at scale with a robust, production-ready scraper built to handle anti-bot protections.

- **URL**: https://apify.com/gauzy\_penguin/99acres-scraper.md
- **Developed by:** [locas mora](https://apify.com/gauzy_penguin) (community)
- **Categories:** Real estate, Lead generation, AI
- **Stats:** 10 total users, 6 monthly users, 95.8% runs succeeded, 5 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.50 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 99acres Property Scraper

### Overview

The **99acres Property Scraper** is a production-grade Apify actor designed to extract structured property listings from [99acres.com](https://www.99acres.com) at scale.Provide one or more search URLs and the actor pages through all results, handles rate-limiting, CAPTCHA, and delivers clean normalized data to your dataset.

This actor is built for **stability, scalability, and ease of use**, providing clean, structured output suitable for analytics, monitoring, research, and downstream automation.

---

### 💰 Most Cost‑Effective 99acres Scraper on Apify — Built for Scale, Priced for Efficiency

This actor delivers the **lowest cost per listing** on the Apify platform without compromising on data quality or reliability. It’s already battle‑hardened in production, pulling **5,000+ clean, structured listings every single day** for real businesses.




### What it does

- Accepts any number of 99acres property search URLs
- Iterates through all pages automatically until exhausted or a max listing cap is hit
- Detects CAPTCHA and deal with it
- Retries failed requests with exponential backoff (handles 429s and network errors)
- Normalizes raw responses into a consistent output schema
- Pushes results in configurable batches to the Apify dataset

---

### ✨ Feature Requests & Ideas

Got a feature in mind or an idea that would make this actor even better?  
I’d love to hear it. Just use the Apify actor issue tracker, and I’ll build it as fast as I can.

- Request a new field, filter, or output format
- Propose support for more property portals
- …or anything else you need

Your input directly shapes the roadmap, and quick turnaround is a priority.

### Input

```json
{
  "urls": [
    { "url": "https://www.99acres.com/search/property/buy/delhi?city=131&preference=S&area_unit=1&res_com=R" },
    { "url": "https://www.99acres.com/search/property/rent/mumbai?city=1&preference=S&area_unit=1&res_com=R" }
  ],
  "maxListingsPerCrawl": 500,
  "sort": "rel",
}
````

#### Fields

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `urls` | array | ✅ | — | List of 99acres search URLs to scrape. Each item must be `{ "url": "..." }`. |
| `maxListingsPerCrawl` | integer | ❌ | `0` (unlimited) | Stop after collecting this many listings per URL. `0` means scrape all pages. |
| `sort` | string | ❌ | `"rel"` | Sort order. Use `"rel"` (relevance), `"price_asc"`, or `"price_dsc"`. |

#### URL requirements

Only 99acres property search URLs are accepted. The URL must:

- Be from `99acres.com`
- Have a path starting with `/search/property`

Any other URL will fail input validation with a descriptive error.

***

### Output

Each listing is saved as one record in the Apify dataset. Example:

```json
{
  "SPID": "87540802",
  "PROP_HEADING": "2 BHK Independent Builder Floor in Dilshad Garden, Delhi",
  "PRICE": "72.4 L",
  "PRICE_SQFT": 9986,
  "CARPET_AREA": "725 sq.ft.",
  "LOCALITY": "Dilshad Garden, Delhi",
  "CITY": "East Delhi",
  "FURNISH": "Semifurnished",
  "PHOTO_URL": "https://imagecdn.99acres.com/...",
  "PROP_DETAILS_URL": "...",
  "MAP_DETAILS": { "LATITUDE": "28.68", "LONGITUDE": "77.31" },
  "POSTING_DATE": 1766430257000,
  "REGISTERED_DAYS": "4 months ago",
  "contact": { "NAME": "Ram", "COMPANY": "" }
}
```

The actual dataset contains all raw API fields (e.g., `INFINITY_VIDEO_SCREENING`, `FORMATTED`, `FEATURE_HEADERS`, etc.).

***

### Retry behaviour

| Condition | Behaviour |
|---|---|
| HTTP 429 | Retry with exponential backoff |
| Network / timeout error | Retry with exponential backoff |
| HTTP 4xx (not 429) | Fail immediately — not retried |
| CAPTCHA redirect | deal with it, retry same page (up to 3×) |

Backoff delay = `RETRY_DELAY_S × attempt` (linear). Configured via constants.

***

### Support & Maintenance

This actor is actively maintained and designed for production usage.
For issues or feature requests, please use the Apify platform issue tracker.

### Final Notes

This actor prioritizes:

1. Data clarity
2. Operational reliability
3. Professional usability

It is suitable for both individual users and enterprise-scale workflows.

# Actor input Schema

## `urls` (type: `array`):

List of 99acres URLs to start scraping from.

## `sort` (type: `string`):

Sort order for listings

## `maxListingsPerCrawl` (type: `integer`):

Maximum number of listings to scrape per Crawl

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.99acres.com/search/property/buy/delhi?city=1075722&preference=S&area_unit=1&res_com=R"
    }
  ],
  "sort": "rel",
  "maxListingsPerCrawl": 200
}
```

# 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 = {
    "urls": [
        {
            "url": "https://www.99acres.com/search/property/buy/delhi?city=1075722&preference=S&area_unit=1&res_com=R"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gauzy_penguin/99acres-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 = { "urls": [{ "url": "https://www.99acres.com/search/property/buy/delhi?city=1075722&preference=S&area_unit=1&res_com=R" }] }

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

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

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

```

## CLI example

```bash
echo '{
  "urls": [
    {
      "url": "https://www.99acres.com/search/property/buy/delhi?city=1075722&preference=S&area_unit=1&res_com=R"
    }
  ]
}' |
apify call gauzy_penguin/99acres-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=gauzy_penguin/99acres-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "99acres Scraper",
        "description": "Extract property listings from 99acres at scale with a robust, production-ready scraper built to handle anti-bot protections.",
        "version": "1.0",
        "x-build-id": "i8aOyXQ2NQqx26jsb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gauzy_penguin~99acres-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gauzy_penguin-99acres-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/gauzy_penguin~99acres-scraper/runs": {
            "post": {
                "operationId": "runs-sync-gauzy_penguin-99acres-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/gauzy_penguin~99acres-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-gauzy_penguin-99acres-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "List of 99acres URLs to start scraping from.",
                        "default": [
                            {
                                "url": "https://www.99acres.com/search/property/buy/delhi?city=1075722&preference=S&area_unit=1&res_com=R"
                            }
                        ],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "sort": {
                        "title": "Sort Results",
                        "enum": [
                            "price_a",
                            "price_d",
                            "rel",
                            "rate_sqft_a",
                            "rate_sqft_d"
                        ],
                        "type": "string",
                        "description": "Sort order for listings",
                        "default": "rel"
                    },
                    "maxListingsPerCrawl": {
                        "title": "Max Listings",
                        "minimum": 50,
                        "type": "integer",
                        "description": "Maximum number of listings to scrape per Crawl",
                        "default": 200
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
