# Track housing price trends in Madrid, Catalonia and Andalusia

**Use case:** 

Get quarterly official housing price index for Spain's three largest regions from INE, with year-over-year changes, ready for spreadsheets.

## Input

```json
{
  "regions": [
    "Madrid",
    "Cataluña",
    "Andalucía"
  ],
  "dateFrom": "2023-Q1",
  "dateTo": "2024-Q4",
  "indexType": "general",
  "maxItems": 50
}
```

## Output

```json
{
  "region": {
    "label": "region"
  },
  "regionCode": {
    "label": "regionCode"
  },
  "period": {
    "label": "period"
  },
  "indexValue": {
    "label": "indexValue"
  },
  "yoyChange": {
    "label": "yoyChange"
  },
  "sourceTableId": {
    "label": "sourceTableId"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Spain Housing Price Index (INE Official Data) Actor is ready to run with the inputs already set for "Track housing price trends in Madrid, Catalonia and Andalusia". [Sign up or log in](https://console.apify.com/create-task-from-example/97dJ6qTYDOrGU0grn) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Track housing price trends in Madrid, Catalonia and Andalusia" task

The Spain Housing Price Index (INE Official Data) Actor will start running based on the input automatically. You can also change all the input fields, like regions or provinces, start period (yyyy-qn), and more, to match your specific use case.

### 3. Receive the "Track housing price trends in Madrid, Catalonia and Andalusia" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as region, regioncode, period, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Track housing price trends in Madrid, Catalonia and Andalusia" task via API](https://apify.com/sourcewise/spain-housing-price-index.md).

## FAQ

### What data does this task return?

This task returns quarterly housing price index values and year-over-year changes for Madrid, Catalonia, and Andalusia from 2023-Q1 to 2024-Q4.

### What input does this task need?

This task needs the regions Madrid, Cataluña, Andalucía, date range 2023-Q1 to 2024-Q4, and index type general.

### How can I run this task on a schedule?

This task can be scheduled via Apify's scheduler to run quarterly when INE publishes new data.

### What is the price for this task?

This task costs about $2.5 per 1,000 results; typical runs return under 100 rows.

## About this Actor

This example demonstrates how to use [Spain Housing Price Index (INE Official Data)](https://apify.com/sourcewise/spain-housing-price-index.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sourcewise/spain-housing-price-index.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/sourcewise/spain-housing-price-index.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`).
