# Angocasa Scraper (`dadhalfdev/angocasa-scraper`) Actor

Scrape property listings from Angocasa, Angola’s leading real estate portal. Extract prices, descriptions, images, locations, features, seller details, phone/WhatsApp contacts, and publication dates from listing and detail pages.

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

## Pricing

from $10.00 / 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

## Angocasa Scraper

Scrape structured real estate listings from [Angocasa](https://www.angocasa.com/), Angola's leading real estate portal for buying, selling, renting, and short-stay properties.

This Actor starts from an Angocasa listing/search URL, follows pagination until it reaches your `max_properties` limit, opens each property detail page, and saves clean property records to the dataset.

The scraped values are kept in **Portuguese**, exactly as Angocasa publishes them. Field names are in English for easier integration, but values such as `Usado`, `Arrendar`, `Estadia Curta`, `Sim`, `Não`, `Apartamento`, and feature names remain in Portuguese.

![Angocasa Website](https://i.ibb.co/27jMLN3t/Screenshot-From-2026-04-25-18-27-26.png)

### What It Extracts

The first dataset fields are ordered for quick review:

| Field | Description |
| --- | --- |
| `angocasa_id` | Angocasa property ID, without the leading `#` |
| `title` | Property title |
| `published_at` | Publication date as an ISO datetime |
| `image_url` | Main preview/gallery image URL |
| `price` | Numeric property price as a float |
| `currency` | Currency code/symbol from the price text, e.g. `AKZ` |
| `description` | Full visible property description |

Additional fields include:

| Field | Description |
| --- | --- |
| `url` | Property detail page URL |
| `property_state` | Property state, e.g. `Usado` |
| `typology` | Typology, e.g. `T1`, `T2`, `T3` |
| `business_type` | Business type, e.g. `Comprar`, `Arrendar`, `Estadia Curta` |
| `furnished` | Boolean parsed from `Mobilada?`: `true` for `Sim`, `false` for `Não` |
| `property_type` | Property type, e.g. `Apartamento`, `Vivenda`, `Terreno` |
| `minimum_nights` | Minimum short-stay nights as an integer, when present |
| `bathrooms` | Number of bathrooms as an integer |
| `build_year` | Construction year as an integer |
| `usable_area` | Usable area as a float |
| `land_area` | Land area as a float |
| `exterior` | Exterior features as a list |
| `interior` | Interior features as a list |
| `other_extras` | Other extra features as a list |
| `country` | Country |
| `region` | Region/province |
| `locality` | Locality/neighborhood |
| `seller_name` | Seller or agency name |
| `seller_registered` | Seller registration date as an ISO datetime |
| `seller_location` | Seller location |
| `contact_phone` | Main phone number from the property page |
| `contact_whatsapp` | WhatsApp number from the property page |

### Portuguese Output Values

Outputs preserve Angocasa's original Portuguese text. Here are common values you may see:

| Portuguese value | English meaning | Common field |
| --- | --- | --- |
| `Comprar` | Buy | `business_type` |
| `Arrendar` | Rent | `business_type` |
| `Estadia Curta` | Short stay | `business_type` |
| `Usado` | Used | `property_state` |
| `Novo` | New | `property_state` |
| `Sim` | Yes | source value for `furnished` |
| `Não` | No | source value for `furnished` |
| `Apartamento` | Apartment | `property_type` |
| `Vivenda` | House / villa | `property_type` |
| `Terreno` | Land | `property_type` |
| `Área útil` | Usable area | source label for `usable_area` |
| `Área do terreno` | Land area | source label for `land_area` |
| `Casas de banho` | Bathrooms | source label for `bathrooms` |
| `Cozinha equipada` | Equipped kitchen | `interior` |
| `Ar condicionado` | Air conditioning | `interior` |
| `Segurança 24 horas/dia` | 24-hour security | `other_extras` |
| `Reservatório de água` | Water tank/reservoir | `other_extras` |

One exception: `furnished` is normalized to a boolean in the dataset (`true` for `Sim`, `false` for `Não`).

### Input

Provide an Angocasa listing URL and the number of properties to scrape.

```json
{
  "input_url": "https://www.angocasa.com/anuncios/apartamento-t1/angola-luanda/listar-todos/mostrar-20/ordenar-mais-baratos/",
  "max_properties": 50
}
````

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `input_url` | string | Angocasa apartment search URL | Full Angocasa search/listing URL with any filters already applied |
| `max_properties` | integer | `100` | Maximum number of property detail pages to scrape |

`max_properties` is limited by the Actor input schema to a minimum of `10` and a maximum of `150`.

### Output Example

```json
{
  "angocasa_id": "0174004",
  "title": "APARTAMENTO T3 EM KILAMBA",
  "published_at": "2026-01-15T00:00:00",
  "image_url": "https://cdn.angocasa.com/images/content/a/p/apartamento-t3-big-o2hais76qe.jpg",
  "price": 25000.0,
  "currency": "AKZ",
  "description": "Apartamento de tipologia T2 para arrendamento de curta duração...",
  "url": "https://www.angocasa.com/apartamento/t3/luanda/kilamba/arrendar-apartamento-t2-no-kk5000-centralidade-do-kilamba/0174004/",
  "property_state": "Usado",
  "typology": "T3",
  "business_type": "Estadia Curta",
  "furnished": true,
  "property_type": "Apartamento",
  "minimum_nights": 7,
  "bathrooms": 2,
  "build_year": null,
  "usable_area": null,
  "land_area": null,
  "exterior": null,
  "interior": null,
  "other_extras": null,
  "country": "Angola",
  "region": "Luanda",
  "locality": "Kilamba",
  "seller_name": "Agência Premium",
  "seller_registered": "2020-04-29T00:00:00",
  "seller_location": "Luanda",
  "contact_phone": "946525295",
  "contact_whatsapp": "+244946525295"
}
```

### Notes

- The scraper reads property details from Angocasa detail pages, including the `dl` property information block and seller contact block.
- Short-stay fields such as `minimum_nights` are only populated when Angocasa shows them on the page.
- Feature lists such as `interior`, `exterior`, and `other_extras` are returned as arrays when present.
- Missing fields are returned as `null` so exports keep a stable shape.

# Actor input Schema

## `input_url` (type: `string`):

The input URL with the filters applied.

## `max_properties` (type: `integer`):

The maximum number of properties to be scraped.

## Actor input object example

```json
{
  "input_url": "https://www.angocasa.com/anuncios/apartamento-t1/angola-luanda/listar-todos/mostrar-20/ordenar-mais-baratos/",
  "max_properties": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped Angocasa properties using the dataset 'overview' view.

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

All scraped Angocasa properties from the default dataset without view transformation.

# 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 = {};

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

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Angocasa Scraper",
        "description": "Scrape property listings from Angocasa, Angola’s leading real estate portal. Extract prices, descriptions, images, locations, features, seller details, phone/WhatsApp contacts, and publication dates from listing and detail pages.",
        "version": "0.1",
        "x-build-id": "9CBKw6nZ29iZ1dpf5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dadhalfdev~angocasa-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dadhalfdev-angocasa-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/dadhalfdev~angocasa-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dadhalfdev-angocasa-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/dadhalfdev~angocasa-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dadhalfdev-angocasa-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": {
                    "input_url": {
                        "title": "Input URL",
                        "type": "string",
                        "description": "The input URL with the filters applied.",
                        "default": "https://www.angocasa.com/anuncios/apartamento-t1/angola-luanda/listar-todos/mostrar-20/ordenar-mais-baratos/"
                    },
                    "max_properties": {
                        "title": "Maximum number of properties",
                        "minimum": 10,
                        "maximum": 150,
                        "type": "integer",
                        "description": "The maximum number of properties to be scraped.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
