# InfoCasas Uruguay Property Scraper (`bovi/infocasas-scraper`) Actor

Collects public property listing fields from InfoCasas Uruguay search pages, including title, operation, price, location, areas, rooms, description, and image URLs.

- **URL**: https://apify.com/bovi/infocasas-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 infocasas uruguay property scrapers

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

## InfoCasas Uruguay Property Listings Scraper

This Actor extracts public sale and rental property listings from InfoCasas Uruguay search pages on infocasas.com.uy and saves one dataset record per listing. It is meant for buyers who want those public listing fields without an InfoCasas login or a buyer API key.

- Download bedrooms, bathrooms, rooms, built area, and land area to review a houses-for-sale search such as the prefilled Montevideo URL.
- Export titles, listing URLs, property codes, and agency names into an inventory sheet.
- Collect neighbourhood, operation, and advertised amounts from one search when you compare listings side by side.
- Save description, coordinates, and image URLs when the listing supplies them.

### What you get

Each saved listing is one flat record. The Actor reads listing documents embedded in the public search page, does not open a property-detail page, and does not add fields that are not on that search document. A key is left out when the value is missing or an empty string. Numeric zero is kept.

| Group | Fields | Detail |
| --- | --- | --- |
| Listing | `id`, `url`, `title`, `property_code` | `id` is the InfoCasas identifier stored as text. `url` is the canonical property page URL. `title` is the listing title. `property_code` is the advertiser reference when the listing sends one. |
| Operation | `operation_type`, `property_type` | Names from the listing for the sale or rental operation and the property category. |
| Place | `address`, `country`, `department`, `neighbourhood`, `latitude`, `longitude` | Address text, country, department (the listing state), neighbourhood, and coordinates when those values are present. |
| Price | `price`, `price_currency`, `price_amount_usd`, `common_expenses`, `common_expenses_currency` | Advertised amount and its currency label. `price_amount_usd` is the USD amount only when the listing data includes that number. Common expenses are the monthly amount and currency label when supplied. The Actor does not convert currencies. |
| Size | `bedrooms`, `bathrooms`, `rooms`, `built_area_m2`, `land_area_m2` | Bedroom, bathroom, and room counts, plus built and land surface in square metres, from the property record. |
| Text and media | `description`, `image_urls`, `image_count` | Description text, image URLs found on the listing document, and the image count reported by the source. Image files are not downloaded. |
| Publisher and time | `agency_name`, `scraped_at` | Publisher or agency name when the listing has an owner name, and the UTC time when this record was collected. |

`image_urls` is filled from the listing image list, or from a single image field when that list is empty. `image_count` is the number the listing reports. Those two values are stored separately and are not forced to match.

### Sample output

This sample is shortened. Whole fields left out: `address`, `country`, `common_expenses`, `common_expenses_currency`, `rooms`, `latitude`, `longitude`, `description`, `property_code`, `image_urls`, and `scraped_at`. Every value below is unchanged. The run used `https://www.infocasas.com.uy/venta/casas/montevideo`, `maxResults` 30, and Apify Proxy with the `RESIDENTIAL` group.

```json
{
  "id": "194400842",
  "url": "https://www.infocasas.com.uy/venta-casa-en-pocitos-4-dormitorios-jardin-barbacoa-y-garaje/194400842",
  "title": "Venta Casa en Pocitos 4 Dormitorios, Jardín, Barbacoa y Garaje",
  "operation_type": "Venta",
  "property_type": "Casa",
  "department": "Montevideo",
  "neighbourhood": "Pocitos",
  "price": 580000,
  "price_currency": "U$S",
  "price_amount_usd": 580000,
  "bedrooms": 4,
  "bathrooms": 4,
  "built_area_m2": 190,
  "land_area_m2": 190,
  "image_count": 25,
  "agency_name": "Capital Real Estate"
}
```

### Pricing

Pricing is pay per event. The Free-plan prices below are the event prices configured for this Actor. No other charge events are configured.

| Event | When it is charged | Free-plan price |
| --- | --- | --- |
| `apify-actor-start` (Actor Start) | When the Actor starts. How many events are charged depends on memory: one event per GB, with a minimum of one event. | $0.00005 per event |
| `apify-default-dataset-item` (InfoCasas Uruguay Property Scraper) | Once per listing written to the default dataset. This is the primary event. One scraped result with all fields. | $0.0012 per listing |

Default memory is 512 MB, which is under 1 GB, so the minimum of one Actor Start event applies. A run that saves nothing still incurs that start event: $0.00005 on the Free plan at default memory. Skipped listings are not written, so they are not dataset-item events.

1,000 results = $1.20005 on Free at default memory. That is 1,000 × $0.0012 = $1.20 for the listings, plus one Actor Start event at $0.00005 on the Free plan.

10,000 results = $12.00005 on Free at default memory. That is 10,000 × $0.0012 = $12.00 for the listings, plus one Actor Start event at $0.00005 on the Free plan.

The Apify Free plan includes $5 of monthly platform usage credit. After one Actor Start event, that credit covers 4166 results: floor((5 − 0.00005) / 0.0012) = 4166.

On this pay-per-event Actor, platform usage (compute, Apify Proxy traffic including residential, and storage) is included in the event prices and is paid by the Actor developer. This Actor does not use pay-per-event plus usage, so those platform costs are not added on top of the events for the buyer.

### How to use

1. Open InfoCasas Uruguay Property Scraper in Apify Console with your own Apify account.
2. Paste an InfoCasas Uruguay property search URL into `startUrl`.
3. Set `maxResults` to the number of listings to save, or leave the default of 50.
4. Keep the default proxy configuration, or set `useApifyProxy` to false to connect directly.
5. Run the Actor and open the default dataset when the run finishes.
6. Repeat the run with Apify Schedules. A daily schedule is only a starting point for listing and price checks. This page does not state how often InfoCasas updates results.

The prefilled search URL is `https://www.infocasas.com.uy/venta/casas/montevideo`. The Actor requests that URL first, then the same path with /pagina2, /pagina3, and so on. If the path already ends with `/pagina` plus a number, that ending is replaced. The Actor does not add filters of its own.

```json
{
  "startUrl": "https://www.infocasas.com.uy/venta/casas/montevideo",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
| --- | --- | --- |
| `startUrl` | Required search URL. The Actor keeps only `https` URLs on `infocasas.com.uy` or `www.infocasas.com.uy`, with no username, password, or port other than 443. The query string is kept. A fragment is dropped. Any other URL fails before fetch. | None. Required. Prefill: `https://www.infocasas.com.uy/venta/casas/montevideo` |
| `maxResults` | Stops after this many listings have been written. There is no maximum in the input schema. A missing or non-numeric value is treated as 50. Zero or a negative number writes nothing. | 50 |
| `proxyConfiguration` | Optional object passed to Apify's proxy helper. When the object is present, page requests use it. The Actor does not choose a proxy group or country itself. When the field is absent, the Actor connects directly. Setting `useApifyProxy` to false also connects directly. | `useApifyProxy` true and `apifyProxyGroups` `["RESIDENTIAL"]` |

You do not provide an InfoCasas password, cookie, or third-party proxy credential.

### Limits and edge cases

The Actor stops when `maxResults` listings have been written, the paginator says the current page is the last page, a page has no listing documents, or the next page URL would match the current one. The search total is not saved and there is no page-size setting. Each request is one search page as the site returns it.

A listing is skipped, and does not count toward `maxResults`, when it has no id, the id was already saved, or it has no URL or no title.

| Condition | What you see | What to do |
| --- | --- | --- |
| `startUrl` is empty or not `https` on `infocasas.com.uy` / `www.infocasas.com.uy` | The run fails with `startUrl must be a non-empty InfoCasas Uruguay URL` or `startUrl must use https://infocasas.com.uy` | Paste a search URL from the site, including `https://` |
| `maxResults` is 0 or negative | Log line `maxResults is 0; no listings requested`, and no listings written | Set `maxResults` to 1 or higher. The form minimum is 1 |
| The page has no search listing documents | Warning `No listing data found on` that URL, then a log of how many listings were saved (zero if this was the first page) | Use a results URL. A page without embedded search listings, including a URL that is not a search results page, ends the run |
| HTTP status 400–499 on a page request | That error is raised on the first attempt and the run stops | Check the URL. Listings already written stay in the dataset |
| Timeout or another non-4xx fetch error | Up to 3 attempts. Waits are 1 second after the first failure and 2 seconds after the second. Each page request times out after 40 seconds. The last error then stops the run | Listings already written stay in the dataset. Start a new run for the rest |
| Search paginator reaches its last page, or `maxResults` is hit | The run ends and logs how many listings were saved | Raise `maxResults`, or start from another search URL, if you need more rows |

Description text is stored as provided, including characters the page already escaped. Numeric fields are copied as numbers and are not rewritten to match the description. On the sample listing, `built_area_m2` and `land_area_m2` are both 190, while the description text cites a built surface of 189 m² and land of 265 m².

The Actor collects public data from InfoCasas search pages. Whether a run is legal depends on InfoCasas terms and the law that applies to your use case. This page does not guarantee that any particular use is allowed.

### FAQ

#### How much does it cost to scrape InfoCasas Uruguay?

See Pricing for Free-plan prices, the 1,000-result example, and the credit count. Event prices include compute, Apify Proxy traffic, and storage.

#### Why did the run save no listings?

The dataset stays empty when the start URL is rejected, when `maxResults` is 0 or negative, when the first page has no listing documents, or when every document lacks an id, URL, or title. `Saved 0 InfoCasas listings` means no row was written.

#### What if the run stops before maxResults?

Rows already written stay in the dataset and each one is a dataset-item event. Raise `maxResults` only if the log shows the cap was reached. If the last page was reached, that URL has no further page.

#### Is automated collection of InfoCasas listings allowed under its terms?

InfoCasas' [FAQ and terms](https://www.infocasas.com.uy/faq) state that automated extraction requires prior written authorization. Whether a run is allowed depends on those source terms and on the law that applies to your use case. This page does not guarantee that any particular use is lawful. The Actor collects public data from InfoCasas search pages and does not offer a legal guarantee.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

## `startUrl` (type: `string`):

An InfoCasas Uruguay property search URL, for example the sale of houses in Montevideo.

## `maxResults` (type: `integer`):

Maximum number of property listings to save.

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

Optional Apify Proxy settings. Leave unset or set useApifyProxy to false to connect directly.

## Actor input object example

```json
{
  "startUrl": "https://www.infocasas.com.uy/venta/casas/montevideo",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the collected property listings.

# 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 = {
    "startUrl": "https://www.infocasas.com.uy/venta/casas/montevideo",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/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 = {
    "startUrl": "https://www.infocasas.com.uy/venta/casas/montevideo",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/infocasas-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 '{
  "startUrl": "https://www.infocasas.com.uy/venta/casas/montevideo",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/infocasas-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/infocasas-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/s8EWR4ycp3vtlFKHZ/builds/MQmFYUEjqvFbHRoqc/openapi.json
