# Lima Apartments for Sale on InfoCasas

**Use case:** 

Export Lima flats for sale from InfoCasas: asking price in soles and USD, area, bedrooms, GPS, photos and the advertiser. CSV, JSON or Excel.

## Input

```json
{
  "operation": "search",
  "market": "pe",
  "place": "pe:lima",
  "operationType": "venta",
  "propertyType": "departamentos",
  "listingUrls": [],
  "listingIds": [],
  "minPrice": 0,
  "maxPrice": 0,
  "priceCurrency": "USD",
  "minBedrooms": 0,
  "minBathrooms": 0,
  "minArea": 0,
  "maxArea": 0,
  "propertyState": "",
  "publishedWithin": "",
  "sortBy": "newest",
  "maxResults": 30
}
```

## Output

```json
{
  "listingId": {
    "label": "🆔 Advert ID",
    "format": "number"
  },
  "market": {
    "label": "🌎 Country edition",
    "format": "string"
  },
  "country": {
    "label": "🏳️ Country",
    "format": "string"
  },
  "operation": {
    "label": "⚙️ Operation",
    "format": "string"
  },
  "listingUrl": {
    "label": "🔗 Advert link",
    "format": "string"
  },
  "propertyTitle": {
    "label": "🏷️ Headline",
    "format": "string"
  },
  "thumbnail": {
    "label": "🖼️ Main photo",
    "format": "string"
  },
  "priceAmount": {
    "label": "💵 Asking price",
    "format": "number"
  },
  "priceCurrency": {
    "label": "💱 Currency",
    "format": "string"
  },
  "priceUsd": {
    "label": "💵 Asking price (USD)",
    "format": "number"
  },
  "priceHidden": {
    "label": "🙈 Price on request",
    "format": "boolean"
  },
  "pricePerSqm": {
    "label": "📊 Price per m² (USD)",
    "format": "number"
  },
  "priceChangeAmount": {
    "label": "📉 Last price change",
    "format": "number"
  },
  "priceChangePct": {
    "label": "📉 Last price change (%)",
    "format": "number"
  },
  "priceChangeDate": {
    "label": "📅 Price changed on",
    "format": "string"
  },
  "commonExpenses": {
    "label": "🧾 Common expenses",
    "format": "number"
  },
  "commonExpensesCurrency": {
    "label": "🧾 Common expenses currency",
    "format": "string"
  },
  "operationType": {
    "label": "🤝 Operation",
    "format": "string"
  },
  "propertyType": {
    "label": "🏘️ Property type",
    "format": "string"
  },
  "condition": {
    "label": "🏗️ Condition",
    "format": "string"
  },
  "stratum": {
    "label": "📶 Stratum",
    "format": "number"
  },
  "isProject": {
    "label": "🏗️ Development project",
    "format": "boolean"
  },
  "bedrooms": {
    "label": "🛏️ Bedrooms",
    "format": "number"
  },
  "bathrooms": {
    "label": "🛁 Bathrooms",
    "format": "number"
  },
  "rooms": {
    "label": "🚪 Rooms",
    "format": "number"
  },
  "garages": {
    "label": "🚗 Garages",
    "format": "number"
  },
  "areaBuilt": {
    "label": "📐 Built area (m²)",
    "format": "number"
  },
  "areaTerrain": {
    "label": "🌳 Land area (m²)",
    "format": "number"
  },
  "areaTerrace": {
    "label": "🌤️ Terrace area (m²)",
    "format": "number"
  },
  "floor": {
    "label": "🏢 Floor",
    "format": "number"
  },
  "constructionYear": {
    "label": "🗓️ Year built",
    "format": "number"
  },
  "antiquity": {
    "label": "⏳ Age (years)",
    "format": "number"
  },
  "hasGarage": {
    "label": "🚗 Has garage",
    "format": "boolean"
  },
  "seaView": {
    "label": "🌊 Sea view",
    "format": "boolean"
  },
  "seaDistance": {
    "label": "🏖️ Distance to sea",
    "format": "string"
  },
  "amenities": {
    "label": "✨ Amenities",
    "format": "array"
  },
  "technicalSheet": {
    "label": "📋 Technical sheet",
    "format": "array"
  },
  "address": {
    "label": "📮 Address",
    "format": "string"
  },
  "addressShown": {
    "label": "👁️ Address published",
    "format": "boolean"
  },
  "state": {
    "label": "🗺️ Region",
    "format": "string"
  },
  "city": {
    "label": "🏙️ City",
    "format": "string"
  },
  "neighbourhood": {
    "label": "📍 Neighbourhood",
    "format": "string"
  },
  "latitude": {
    "label": "🧭 Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "🧭 Longitude",
    "format": "number"
  },
  "propertyDescription": {
    "label": "📝 Full description",
    "format": "string"
  },
  "photoCount": {
    "label": "📷 Photo count",
    "format": "number"
  },
  "photos": {
    "label": "📷 Photos",
    "format": "array"
  },
  "hasVideo": {
    "label": "🎥 Has video",
    "format": "boolean"
  },
  "youtubeUrl": {
    "label": "🎥 Video link",
    "format": "string"
  },
  "has3dTour": {
    "label": "🏠 Has 3D tour",
    "format": "boolean"
  },
  "advertiserName": {
    "label": "🏢 Advertiser",
    "format": "string"
  },
  "advertiserId": {
    "label": "🏢 Advertiser ID",
    "format": "number"
  },
  "advertiserWhatsapp": {
    "label": "💬 Advertiser WhatsApp",
    "format": "string"
  },
  "advertiserPhoneMasked": {
    "label": "📞 Advertiser phone (masked)",
    "format": "string"
  },
  "advertiserType": {
    "label": "🏷️ Advertiser type",
    "format": "string"
  },
  "advertiserProfileUrl": {
    "label": "🔗 Advertiser listings",
    "format": "string"
  },
  "advertiserHasWhatsapp": {
    "label": "💬 WhatsApp available",
    "format": "boolean"
  },
  "isPrivateOwner": {
    "label": "👤 Published by the owner",
    "format": "boolean"
  },
  "referenceCode": {
    "label": "🔖 Advertiser reference",
    "format": "string"
  },
  "publishedAt": {
    "label": "📅 First published",
    "format": "string"
  },
  "updatedAt": {
    "label": "🔄 Last updated",
    "format": "string"
  },
  "scrapedAt": {
    "label": "⏱️ Collected at",
    "format": "string"
  },
  "status": {
    "label": "✅ Row status",
    "format": "string"
  },
  "errorMessage": {
    "label": "⚠️ Error",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [InfoCasas Property Scraper — Phase-0 gate](https://apify.com/sian.agency/infocasas-property-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sian.agency/infocasas-property-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sian.agency/infocasas-property-scraper.md

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`).
