# Student & Mid-Term Rental Scraper for Uniplaces (`haketa/uniplaces-scraper`) Actor

Scrape Uniplaces student & mid-term rental listings: title, price, property type, neighbourhood, availability, coordinates, reviews and provider (verification, response rate). For rental market research and lead-gen. Independent tool, not affiliated with Uniplaces.

- **URL**: https://apify.com/haketa/uniplaces-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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/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

## Student & Mid-Term Rental Scraper for Uniplaces

> **Extract student & mid-term rental listings from Uniplaces at scale: title, monthly price, property type, neighbourhood, availability, coordinates, reviews and the provider's verification & response stats.** Enter city names or Uniplaces URLs and get clean JSON/CSV/Excel in seconds. Built for rental market research, pricing analysis and provider lead generation.

[![Rentals](https://img.shields.io/badge/Uniplaces-Rentals-ff5a5f)]()
[![Price & Specs](https://img.shields.io/badge/Price%20%2B%20Specs%20%2B%20Location-2da44e)]()
[![Provider Signals](https://img.shields.io/badge/Provider-Verification%20%2B%20Response-8250df)]()
[![Export](https://img.shields.io/badge/Export-JSON%20%2F%20CSV%20%2F%20Excel-fb8500)]()

***

### What This Actor Does

**Uniplaces** is a leading marketplace for student and mid-term housing across Europe. This Actor turns a city search into a structured dataset. For each listing it returns:

- **Listing** — title, description, monthly price & currency, old price, availability date, contract type
- **Property** — type (studio / apartment / room), private/shared, neighbourhood, rooms, bathrooms, coordinates
- **Booking** — instant-booking flag, all-bills-included, max guests, rating & review count
- **Provider (lead-gen)** — email/phone verified, trusted flag, response rate and response time

Enter one or many cities (or Uniplaces URLs) and it paginates through the full result set (48 per page).

***

### Why Use This

- **Rental market & pricing data.** Prices, property types, neighbourhoods and availability across a city — benchmark the student/mid-term rental market.
- **Provider leads with quality signals.** Each listing's provider carries verification (email/phone), response rate and response time — a lead source you can pre-qualify.
- **Clean, structured fields.** Price, specs, coordinates and provider stats come as typed values straight from the site's own data.
- **Fast and cheap.** Pure-HTTP over the site's SSR JSON — no headless browser, no residential proxy.

***

### Quick Start

#### Run it in the console (no code)

1. Add one or more **Cities** (e.g. `berlin`, `lisbon`, `madrid`) — or paste Uniplaces accommodation URLs.
2. Set **Max listings**, click **Start**.
3. Export as **JSON, CSV, Excel or HTML**, or push to Google Sheets, a webhook or a database.

#### Run it via API (Python)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "cities": ["berlin", "lisbon"],
    "maxItems": 500,
}

run = client.actor("YOUR_USERNAME/uniplaces-scraper").call(run_input=run_input)

for l in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(l["title"], "·", l["price"], l["currency"], "·", l["propertyType"], "·", l["neighbourhood"])
```

#### Benchmark prices by property type (Python)

```python
run = client.actor("YOUR_USERNAME/uniplaces-scraper").call(run_input={
    "cities": ["madrid"], "maxItems": 500,
})
from statistics import median
by_type = {}
for l in client.dataset(run["defaultDatasetId"]).iterate_items():
    if l.get("price"):
        by_type.setdefault(l.get("propertyType") or "?", []).append(l["price"])
for t, prices in by_type.items():
    print(t, "median:", int(median(prices)), "n=", len(prices))
```

#### Build a verified-provider lead list (Node.js)

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('YOUR_USERNAME/uniplaces-scraper').call({
    cities: ['porto'], maxItems: 300,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const leads = items.filter(l => l.providerEmailVerified && (l.responseRate || 0) >= 80);
console.log(leads.length, 'listings from verified, responsive providers');
```

***

### Input Parameters

| Field | Type | Description |
|---|---|---|
| `cities` | array | City names to search (e.g. `berlin`, `lisbon`). |
| `startUrls` | array | Uniplaces accommodation URLs (alternative to cities). |
| `maxItems` | integer | Max listings across all cities. `0` = no limit. |
| `maxPages` | integer | Max pages per city (48 per page). Default `30`. |
| `proxyConfiguration` | object | Apify Proxy. Datacenter is enough and enabled by default. |

***

### Output

Each listing is one record:

```json
{
  "offerId": "56673",
  "title": "Double bedroom in 4-bedroom apartment",
  "price": 730,
  "currency": "EUR",
  "availableFrom": "2026-10-01T00:00:00+00:00",
  "contractType": "fortnight",
  "allBillsIncluded": false,
  "isInstantBooking": false,
  "maxGuests": 2,
  "reviewsAverage": 0,
  "propertyType": "apartment",
  "accommodationType": "private",
  "neighbourhood": "Wedding",
  "numberOfBathrooms": 1,
  "latitude": 52.5401751,
  "longitude": 13.4110411,
  "providerEmailVerified": true,
  "providerPhoneVerified": true,
  "responseRate": 100,
  "responseTimeHours": 11,
  "photoUrl": "https://uniplaces-photos.imgix.net/...",
  "listingUrl": "https://www.uniplaces.com/en/accommodation/berlin/56673",
  "city": "berlin"
}
```

***

### Use Cases

#### 1. Rental market & pricing research

Benchmark student/mid-term rents by property type, neighbourhood and city — track supply and price levels.

#### 2. Provider lead generation

Every listing's provider carries verification and response stats — build lead lists of active, verified, responsive landlords/agencies.

#### 3. Competitive & inventory monitoring

Track which properties are listed, at what prices, where, and how fast providers respond.

#### 4. Location & investment analysis

Coordinates + prices + property types let you map and analyze rental hotspots for investment or expansion.

#### 5. Data enrichment

Enrich a housing CRM or dataset with fresh listings, prices, specs and provider quality signals.

***

### Tips

- **Cities:** use lowercase city names (`berlin`, `lisbon`, `madrid`, `porto`, `milan`) or paste full Uniplaces URLs.
- **`maxItems: 0`** paginates to the end of a city's results (48 per page).
- **Provider signals** (`providerEmailVerified`, `responseRate`, `responseTimeHours`) let you pre-qualify leads.
- **Schedule it** with Apify Schedules to track new listings and price changes.

***

### Frequently Asked Questions

**Do I need an account?**
No. The Actor reads publicly visible listing data — no login required.

**Is the price monthly?**
Prices are as shown on Uniplaces for the listing's contract type; each record carries its `currency` and `contractType`.

**Which cities are supported?**
Any city Uniplaces covers — pass its name or URL.

**What export formats are supported?**
JSON, CSV, Excel, HTML, or via API — plus Google Sheets, webhooks, Make and Zapier.

***

### Legal & Responsible Use

This Actor is an independent tool and is **not affiliated with, endorsed by, or sponsored by Uniplaces** or its operators. All trademarks are the property of their respective owners.

It collects only publicly available listing information for research and business use. You are responsible for how you use the data. Please:

- Respect Uniplaces' Terms of Service and robots directives.
- Comply with applicable data-protection laws when handling provider contact details.
- Do not use the data for spam, harassment, or any unlawful purpose.
- Use reasonable request volumes and scheduling.

# Actor input Schema

## `cities` (type: `array`):

City names to search (e.g. berlin, lisbon, madrid, porto, milan). Each is searched separately.

## `startUrls` (type: `array`):

Uniplaces accommodation URLs (e.g. https://www.uniplaces.com/en/accommodation/berlin). Use instead of / in addition to city names.

## `maxItems` (type: `integer`):

Maximum listings across all cities. 0 = no limit.

## `maxPages` (type: `integer`):

Maximum result pages to paginate per city (48 listings per page).

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

Uniplaces blocks datacenter IPs — a residential proxy is required and enabled by default.

## Actor input object example

```json
{
  "cities": [
    "berlin",
    "lisbon"
  ],
  "maxItems": 100,
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `offerId` (type: `string`):

Uniplaces offer ID

## `title` (type: `string`):

Listing title

## `price` (type: `string`):

Monthly price

## `currency` (type: `string`):

Currency code

## `oldPrice` (type: `string`):

Previous price

## `availableFrom` (type: `string`):

Availability date

## `contractType` (type: `string`):

Contract type

## `allBillsIncluded` (type: `string`):

All bills included

## `isInstantBooking` (type: `string`):

Instant booking

## `maxGuests` (type: `string`):

Maximum guests

## `reviewsAverage` (type: `string`):

Average rating

## `reviewsCount` (type: `string`):

Review count

## `propertyType` (type: `string`):

studio/apartment/room

## `accommodationType` (type: `string`):

private/shared

## `neighbourhood` (type: `string`):

Neighbourhood

## `numberOfRooms` (type: `string`):

Number of rooms

## `numberOfBathrooms` (type: `string`):

Number of bathrooms

## `latitude` (type: `string`):

Latitude

## `longitude` (type: `string`):

Longitude

## `providerEmailVerified` (type: `string`):

Provider email verified

## `providerPhoneVerified` (type: `string`):

Provider phone verified

## `responseRate` (type: `string`):

Provider response rate %

## `responseTimeHours` (type: `string`):

Provider response time hours

## `photoUrl` (type: `string`):

Main photo URL

## `listingUrl` (type: `string`):

Listing URL

## `city` (type: `string`):

Searched city

## `scrapedAt` (type: `string`):

ISO timestamp

# 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 = {
    "cities": [
        "berlin",
        "lisbon"
    ],
    "maxItems": 100,
    "maxPages": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/uniplaces-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 = {
    "cities": [
        "berlin",
        "lisbon",
    ],
    "maxItems": 100,
    "maxPages": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/uniplaces-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 '{
  "cities": [
    "berlin",
    "lisbon"
  ],
  "maxItems": 100,
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call haketa/uniplaces-scraper --silent --output-dataset

```

## MCP server setup

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