# Infocasas.com Real Estate Scraper (`unfenced-group/infocasas-scraper`) Actor

Real estate listings scraper for infocasas.com

- **URL**: https://apify.com/unfenced-group/infocasas-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## 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.

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

## Infocasas Scraper

Scrape real estate listings from **Infocasas**, the leading property portal across five Latin American countries: **Uruguay, Paraguay, Bolivia, Peru, and Colombia**.

Supports filtering by location, property type, operation (sale/rent/temporary), price range, number of bedrooms, and publication date.

---

### Supported countries

| Country  | Domain                    | Code |
|----------|---------------------------|------|
| Uruguay  | www.infocasas.com.uy      | `uy` |
| Paraguay | www.infocasas.com.py      | `py` |
| Bolivia  | www.infocasas.com.bo      | `bo` |
| Peru     | www.infocasas.com.pe      | `pe` |
| Colombia | www.infocasas.com.co      | `co` |

---

### Input parameters

| Parameter      | Type    | Default          | Description |
|----------------|---------|------------------|-------------|
| `country`      | string  | `uy`             | Country code: `uy`, `py`, `bo`, `pe`, `co` |
| `operation`    | string  | `venta`          | `venta` (sale), `alquiler` (rent), `temporal` (short-term) |
| `propertyType` | string  | `apartamentos`   | See property types table below |
| `location`     | string  | `montevideo`     | City, neighborhood, or keyword. Leave empty for all country. |
| `maxItems`     | integer | `100`            | Maximum number of listings to return |
| `daysOld`      | integer | `0`              | Only listings published within N days. `0` = no filter |
| `minPrice`     | integer | —                | Minimum price (in listing currency) |
| `maxPrice`     | integer | —                | Maximum price (in listing currency) |
| `bedrooms`     | array   | `[]`             | Filter by bedroom count, e.g. `[2, 3]`. Empty = all |
| `fetchDetails` | boolean | `false`          | Fetch each listing detail to populate `latitude`, `longitude`, full `images` array, and `publishDate`. Slower — use only when coordinates or dates are required. |

#### Property types

| Value                | Description       |
|----------------------|-------------------|
| `apartamentos`       | Apartments        |
| `casas`              | Houses            |
| `terrenos`           | Land              |
| `locales-comerciales`| Commercial units  |
| `oficinas`           | Offices           |
| `campos`             | Farms / Fields    |
| `garajes`            | Garages           |
| `hoteles`            | Hotels            |
| `galpones`           | Industrial        |

---

### Output fields

Each scraped listing contains:

| Field                    | Type    | Description |
|--------------------------|---------|-------------|
| `id`                     | string  | Unique listing ID |
| `url`                    | string  | Full listing URL |
| `transaction`            | string  | `sale`, `rent`, or `temporary` |
| `propertyType`           | string  | Property category |
| `title`                  | string  | Listing title |
| `description`            | string  | Full property description |
| `priceText`              | string  | Formatted price, e.g. `USD 250,000` |
| `priceAmount`            | number  | Numeric price |
| `priceCurrency`          | string  | `USD`, `UYU`, etc. |
| `commonExpenses`         | number  | Monthly maintenance fee (if applicable) |
| `commonExpensesCurrency` | string  | Currency of common expenses |
| `address`                | string  | Street address |
| `neighborhood`           | string  | Neighborhood name |
| `city`                   | string  | City or department |
| `country`                | string  | Country code (uppercase) |
| `latitude`               | number  | Latitude (`fetchDetails: true` only) |
| `longitude`              | number  | Longitude (`fetchDetails: true` only) |
| `areaM2`                 | number  | Built area in m² |
| `landM2`                 | number  | Land area in m² (`fetchDetails: true` only) |
| `terraceM2`              | number  | Terrace area in m² (`fetchDetails: true` only) |
| `rooms`                  | number  | Total rooms |
| `bedrooms`               | number  | Bedrooms |
| `bathrooms`              | number  | Bathrooms |
| `guests`                 | number  | Guest capacity (temporary rentals) |
| `isProject`              | boolean | Whether listing is a development project |
| `tour3d`                 | string  | 3D tour URL (if available) |
| `seaDistanceName`        | string  | Distance to sea label (coastal listings) |
| `stratum`                | number  | Socioeconomic stratum (Colombia) |
| `images`                 | array   | Image URLs (up to 10; full gallery with `fetchDetails`) |
| `agencyName`             | string  | Real estate agency name (null if private seller) |
| `isPrivateSeller`        | boolean | `true` if listed by a private individual |
| `publishDate`            | string  | Publication date `YYYY-MM-DD` (`fetchDetails: true` only) |
| `publishDateISO`         | string  | Full ISO publication timestamp |
| `source`                 | string  | Source domain, e.g. `infocasas.com.uy` |
| `scrapedAt`              | string  | ISO timestamp of scrape |
| `contentHash`            | string  | MD5 hash for change detection |

---

### Example output

```json
{
  "id": "192534667",
  "url": "https://www.infocasas.com.uy/casa-pu-a-metros-del-shopping/192534667",
  "transaction": "sale",
  "propertyType": "House",
  "title": "Casa 4 dormitorios Tres Cruces",
  "description": "Casa de dos plantas con 14 mts de frente...",
  "priceText": "USD 320,000",
  "priceAmount": 320000,
  "priceCurrency": "USD",
  "commonExpenses": null,
  "commonExpensesCurrency": null,
  "address": "Presidente Batlle y Bv Artigas",
  "neighborhood": "La Blanqueada",
  "city": "Montevideo",
  "country": "UY",
  "latitude": null,
  "longitude": null,
  "areaM2": 161,
  "landM2": null,
  "terraceM2": null,
  "rooms": 5,
  "bedrooms": 4,
  "bathrooms": 2,
  "guests": null,
  "isProject": false,
  "tour3d": null,
  "seaDistanceName": null,
  "stratum": null,
  "images": ["https://cdn2.infocasas.com.uy/web/68505b76783b0_infocdn.jpg"],
  "agencyName": "CASAGRANDE",
  "isPrivateSeller": false,
  "publishDate": null,
  "publishDateISO": null,
  "source": "infocasas.com.uy",
  "scrapedAt": "2026-05-06T08:30:00.000Z",
  "contentHash": "a1b2c3d4e5f67890"
}
````

***

### Performance

- **~300–500 listings/minute** without `fetchDetails`
- **~60–80 listings/minute** with `fetchDetails: true`
- No proxy required

***

### Pricing

**$1.50 per 1,000 results**

# Actor input Schema

## `country` (type: `string`):

Country to scrape: Uruguay, Paraguay, Bolivia, Peru or Colombia.

## `operation` (type: `string`):

Type of listing: for sale, for rent, or temporary rental.

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

Type of property to scrape.

## `location` (type: `string`):

City, neighborhood or keyword. E.g. 'montevideo', 'pocitos', 'punta del este'. Leave empty for all country.

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

Maximum number of listings to scrape.

## `daysOld` (type: `integer`):

Only return listings published within this many days. 0 = no filter.

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

Minimum listing price in the listing currency. Leave empty for no filter.

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

Maximum listing price in the listing currency. Leave empty for no filter.

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

Filter by bedroom count. Enter a JSON array, e.g. \[2] or \[1,2,3]. Leave empty for all.

## `fetchDetails` (type: `boolean`):

Fetch each listing detail to populate latitude, longitude, full image gallery and publication date. Slower — enable only when coordinates or dates are needed.

## Actor input object example

```json
{
  "country": "uy",
  "operation": "venta",
  "propertyType": "apartamentos",
  "location": "Amsterdam",
  "maxItems": 5,
  "daysOld": 0,
  "bedrooms": [],
  "fetchDetails": 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 = {
    "location": "Amsterdam",
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/infocasas-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 = {
    "location": "Amsterdam",
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/infocasas-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 '{
  "location": "Amsterdam",
  "maxItems": 5
}' |
apify call unfenced-group/infocasas-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Infocasas.com Real Estate Scraper",
        "description": "Real estate listings scraper for infocasas.com",
        "version": "0.0",
        "x-build-id": "wefoGbdIL2MuBMUav"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/unfenced-group~infocasas-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-unfenced-group-infocasas-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/unfenced-group~infocasas-scraper/runs": {
            "post": {
                "operationId": "runs-sync-unfenced-group-infocasas-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/unfenced-group~infocasas-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-unfenced-group-infocasas-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",
                "properties": {
                    "country": {
                        "title": "Country",
                        "enum": [
                            "uy",
                            "py",
                            "bo",
                            "pe",
                            "co"
                        ],
                        "type": "string",
                        "description": "Country to scrape: Uruguay, Paraguay, Bolivia, Peru or Colombia.",
                        "default": "uy"
                    },
                    "operation": {
                        "title": "Operation type",
                        "enum": [
                            "venta",
                            "alquiler",
                            "temporal"
                        ],
                        "type": "string",
                        "description": "Type of listing: for sale, for rent, or temporary rental.",
                        "default": "venta"
                    },
                    "propertyType": {
                        "title": "Property type",
                        "enum": [
                            "apartamentos",
                            "casas",
                            "terrenos",
                            "locales-comerciales",
                            "oficinas",
                            "campos",
                            "garajes",
                            "hoteles",
                            "galpones"
                        ],
                        "type": "string",
                        "description": "Type of property to scrape.",
                        "default": "apartamentos"
                    },
                    "location": {
                        "title": "Location / keyword",
                        "type": "string",
                        "description": "City, neighborhood or keyword. E.g. 'montevideo', 'pocitos', 'punta del este'. Leave empty for all country.",
                        "default": "montevideo"
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of listings to scrape.",
                        "default": 100
                    },
                    "daysOld": {
                        "title": "Max age (days)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return listings published within this many days. 0 = no filter.",
                        "default": 0
                    },
                    "minPrice": {
                        "title": "Min price",
                        "type": "integer",
                        "description": "Minimum listing price in the listing currency. Leave empty for no filter."
                    },
                    "maxPrice": {
                        "title": "Max price",
                        "type": "integer",
                        "description": "Maximum listing price in the listing currency. Leave empty for no filter."
                    },
                    "bedrooms": {
                        "title": "Bedrooms",
                        "type": "array",
                        "description": "Filter by bedroom count. Enter a JSON array, e.g. [2] or [1,2,3]. Leave empty for all.",
                        "default": []
                    },
                    "fetchDetails": {
                        "title": "Fetch details (lat/long, images, date)",
                        "type": "boolean",
                        "description": "Fetch each listing detail to populate latitude, longitude, full image gallery and publication date. Slower — enable only when coordinates or dates are needed.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
