# Land and building plots for sale in Spain

**Use case:** 

Building plots and land across Spain — 78,064 listings, the second-largest property type after housing and the one most competing scrapers skip entirely. Land is where the GPS point earns its keep, because a plot has no street address to speak of: latitude and longitude come back on 100% of rows (n=3,184), with the postcode and the full location hierarchy.

## Input

```json
{
  "location": "724,0,0,0,0,0,0,0,0",
  "transactionType": "sale",
  "propertyType": "land",
  "sortBy": "relevance",
  "sortDescending": true,
  "maxItems": 250,
  "scrapeDetails": false,
  "includeAgencies": false,
  "respectRobotsTxt": false,
  "maxCacheAgeDays": 7,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "id": {
    "label": "Id",
    "format": "integer"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "postal_code": {
    "label": "Postal code",
    "format": "string"
  },
  "location_text": {
    "label": "Location text",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "region": {
    "label": "Region",
    "format": "string"
  },
  "province": {
    "label": "Province",
    "format": "string"
  },
  "municipality": {
    "label": "Municipality",
    "format": "string"
  },
  "district": {
    "label": "District",
    "format": "string"
  },
  "neighborhood": {
    "label": "Neighborhood",
    "format": "string"
  },
  "region_id": {
    "label": "Region id",
    "format": "integer"
  },
  "province_id": {
    "label": "Province id",
    "format": "integer"
  },
  "municipality_id": {
    "label": "Municipality id",
    "format": "integer"
  },
  "district_id": {
    "label": "District id",
    "format": "integer"
  },
  "neighborhood_id": {
    "label": "Neighborhood id",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Fotocasa Scraper $0.95/1K — Spain Real Estate Data & Agencies](https://apify.com/oswaldocarabano/fotocasa-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/oswaldocarabano/fotocasa-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/oswaldocarabano/fotocasa-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`).
