Comparis.ch Scraper - Swiss Real Estate & Cars avatar

Comparis.ch Scraper - Swiss Real Estate & Cars

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Comparis.ch Scraper - Swiss Real Estate & Cars

Comparis.ch Scraper - Swiss Real Estate & Cars

Scrape Comparis.ch Swiss listings: real estate (price, rooms, m², type, address, coordinates) and used cars (make, model, price, Comparis market price, mileage, fuel, location). Paste any Comparis result URL — real estate or car market. No login, no API key, no browser.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Comparis.ch Scraper — Swiss Real Estate & Used-Car Listings 🇨🇭

The definitive Comparis scraper for extracting Swiss property and used-car market data at scale — without coding or manual data entry. Extract structured real-estate listings (apartments, houses, commercial spaces for rent and purchase) with full pricing, room counts, living areas, addresses, agencies, and geographic coordinates, alongside used-car listings with vehicle specifications, mileage, seller details, and Comparis market valuation ratings. Simply provide any Comparis search or marketplace URL and automate complete Swiss market intelligence.

Export thousands of records seamlessly to JSON, CSV, Excel, or direct API integration.

Apify Actor Swiss Market

Designed for Swiss real estate investors, property asset managers, mortgage and insurance brokers, automotive dealerships and remarketing teams, competitive intelligence researchers, and data engineers building programmatic feeds.


⚡ At a glance

CapabilityFeature Details
Target WebsiteComparis.ch — Switzerland's #1 leading price comparison and marketplace portal
Supported VerticalsDual-vertical engine: Real Estate (/immobilien) & Used Cars (/carfinder)
Input FlexibilityAccepts any filtered Comparis search URL (cantons, cities, price brackets, rooms, vehicle makes, trims)
Scale & PaginationUnlocked deep pagination supporting 1,000+ listings per URL across up to 100 consecutive result pages
Data EnrichmentExtracted agency/partner names, geographic coordinates (lat/lng), and Comparis market price valuations
NormalizationClean Swiss numeric parsing (1'950 CHF → 1950, 141.400 km → 141400) and absolutized image URLs
Anti-Bot HandlingSmart request orchestration with automatic residential session management for Swiss marketplace pages
Export FormatsClean JSON, NDJSON, CSV, Excel (.xlsx), HTML tables, and Apify REST API

🔎 Why scrape Comparis.ch?

Comparis.ch is the gold standard of Swiss consumer and market intelligence. Operating across all 26 Swiss cantons, Comparis aggregates live inventory from hundreds of independent real-estate portals, brokerages, automotive dealers, and private classifieds. For real estate, it represents the most comprehensive view of asking rents and purchase prices across Zurich, Geneva, Basel, Bern, Lausanne, and regional valleys. In the automotive sector, Comparis calculates an algorithmic Comparis Rating and Market Price Estimate, evaluating whether vehicles are priced above or below fair Swiss market value.

Accessing this data systematically is critical for businesses operating in Switzerland:

  • Comprehensive Cantonal Coverage: Captures listings from local Swiss portals (Homegate, ImmoScout24, AutoScout24) aggregated under a unified schema.
  • Fair Value Benchmark: Leverages the Comparis proprietary market price algorithm to detect undervalued properties or automotive trade-ins.
  • Micro-Location Intelligence: Provides exact canton, neighborhood, and geographic coordinate information for geospatial property mapping.
  • Agency & Dealer Identification: Reveals which brokerages and dealerships control inventory in specific Swiss postcodes.

Manually browsing Comparis is cumbersome: pages are split across Swiss-German and French language parameters, prices use Swiss thousand apostrophe separators (2'450), and deep catalogs span dozens of paginated pages. This Comparis scraper handles the entire ingestion workflow: it detects the vertical, iterates through catalog pages, extracts structured records, converts Swiss formatting into clean numbers, and exports analysis-ready tabular files.


🎯 Key Use Cases & Business Applications

1. Real Estate Investment & Yield Analysis

Institutional property funds and private investors can monitor gross rental yields across Swiss urban centers. Filter by canton (e.g., Zurich, Vaud, Zug) to track price-per-square-meter trends across apartments, duplexes, and single-family houses over time.

2. Used-Car Dealership Arbitrage & Valuation

Automotive dealers and fleet remarketers can scan used-car listings to identify inventory priced below the Comparis marketPrice. Spotting vehicles with favorable Comparis ratings enables rapid wholesale purchasing and profitable resale margins.

3. Brokerage & Competitor Benchmarking

Real estate agencies can track competitor mandates by monitoring partnerName across designated postal codes. Understand competitors' average days on market, listing price adjustments, and market share per district.

4. Automated Lead Generation for Services

Mortgage advisors, insurance brokers, renovation contractors, and moving logistics companies can track newly published property listings to source timely B2B and consumer service opportunities.

5. Algorithmic Pricing & Hedonic Valuation Models

Data science teams training automated valuation models (AVM) for Swiss properties or vehicles can ingest fresh training datasets containing exact room counts, square meters, construction year, mileage, and transmission types.


✨ Key Features & Technical Highlights

  • ✅ Unified Dual-Vertical Architecture: Seamlessly process real estate searches and automotive marketplace URLs within the same run. The actor inspects the URL pattern and applies vertical-specific data extraction automatically.
  • ✅ Respects All Custom URL Filters: Apply intricate filters on the Comparis web portal (e.g., min/max rooms, price floors, balcony/terrace tags, fuel type, transmission, matriculation year) and paste the resulting URL — the scraper extracts exactly what matches your search.
  • ✅ Deep 1,000+ Results Pagination: Traverses all available pages (up to 100 pages per search query) without artificial truncation, collecting up to 1,000+ listings per target URL.
  • ✅ Strict Zero Duplicate Output: Deduplicates listings via unique listing IDs (id), ensuring datasets contain no repeated rows even during multi-page pagination runs.
  • ✅ Clean Numeric Normalization: Strips Swiss currency symbols and thousands separators (CHF 3'200.- → 3200, 85 m² → 85), providing clean integer and float types suitable for direct database injection.
  • ✅ Geocoded Location Metadata: Extracts latitude and longitude coordinates for real estate listings, enabling direct visualization on Mapbox, Google Maps, or GIS platforms.
  • ✅ Absolutized Image Assets: Resolves relative CDN and API image paths into permanent, absolute image URLs ready for asset download or catalog display.

🥊 Comparis Scraper vs Manual Research

FeatureComparis ScraperManual Copy-PasteGeneric Scrapers
Speed100+ listings in seconds15-20 listings per hourFails on complex pagination
Swiss Number NormalizationBuilt-in (1'850 → 1850)Manual spreadsheet cleanupStores messy raw strings
Multi-Vertical SupportReal Estate + Cars unifiedSeparate manual processesUsually single-domain only
Valuation MetricsCaptures Comparis Market PriceOften skippedMisses hidden JSON attributes
Pagination DepthUp to 100 pages (1,000+ items)Unfeasible by handBreaks on React hydration
Automated SchedulingHourly / Daily / Weekly runsManual effort requiredHigh maintenance overhead

📥 Input Parameters

Provide one or more Comparis result URLs in startUrls. If omitted, the actor runs a fast demo extracting both Swiss rental properties and SUV car listings.

ParameterTypeDefaultDescription
startUrlsArray[]List of Comparis result URLs (real estate searches or car marketplace URLs).
maxItemsInteger0Maximum listings to collect per URL (0 = auto/unlimited up to all available pages).
proxyConfigurationObject{ "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }Apify Proxy configuration. Residential proxy is recommended for Swiss marketplace routes.

Example Input Configuration

{
"startUrls": [
{ "url": "https://www.comparis.ch/immobilien/result/list?dealtype=10&city=Z%C3%BCrich" },
{ "url": "https://www.comparis.ch/carfinder/marktplatz/suv" }
],
"maxItems": 500,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

📤 Output Data Structure

The scraper outputs rich, typed JSON objects with a vertical discriminator (realEstate or car), allowing effortless filtering in downstream processing pipelines.

Sample Real-Estate Output Record

{
"vertical": "realEstate",
"id": "38269509",
"title": "Moderne 3.5-Zimmer-Wohnung mit Balkon in ruhiger Lage",
"propertyType": "Wohnung",
"dealType": "rent",
"price": 2450,
"priceText": "2'450",
"currency": "CHF",
"rooms": 3.5,
"livingSpaceM2": 92,
"address": "Gotthardstrasse 24, 8002 Zürich",
"neighborhood": "Enge",
"yearOfConstruction": 2018,
"latitude": 47.3621,
"longitude": 8.5342,
"partnerName": "Engel & Völkers Zürich",
"imageUrl": "https://mapl-assets.comparis.ch/images/realestate/38269509/main.jpg",
"url": "https://www.comparis.ch/immobilien/marktplatz/details/show/38269509",
"scrapedAt": "2026-11-10T14:35:00.000Z"
}

Sample Used-Car Output Record

{
"vertical": "car",
"id": "29841023",
"title": "VOLVO XC60 2.0 T8 Recharge AWD Inscription",
"make": "Volvo",
"model": "XC60",
"trim": "2.0 T8 Recharge AWD Inscription",
"bodyType": "SUV",
"condition": "Occasion",
"price": 43900,
"priceText": "43'900",
"marketPrice": 46500,
"currency": "CHF",
"comparisRating": "Sehr gut",
"mileage": 58200,
"mileageText": "58'200 km",
"registrationDate": "04/2021",
"fuelType": "Plug-in Hybrid Benzin/Elektro",
"transmission": "Automat",
"power": "392 PS (288 kW)",
"location": "Bern",
"firstSeenOn": "2026-10-28",
"partnerName": "Auto Thomi AG",
"imageUrl": "https://mapl-assets.comparis.ch/images/cars/29841023/front.jpg",
"sourceSite": "AutoScout24",
"sourceUrl": "https://www.autoscout24.ch/de/d/volvo-xc60-suv-2021-occasion-10829102",
"url": "https://www.comparis.ch/carfinder/marktplatz/details/29841023",
"scrapedAt": "2026-11-10T14:35:00.000Z"
}

📊 Complete Field Reference & Data Coverage

🏠 Real Estate Data Fields

FieldTypeDescriptionCoverage
verticalStringFixed identifier ("realEstate")🟢 High (100%)
idStringUnique Comparis property listing ID🟢 High (100%)
titleStringDescriptive listing headline🟢 High (100%)
propertyTypeStringProperty classification (e.g., Wohnung, Haus, Attika)🟢 High (100%)
dealTypeStringTransaction type: "rent" (Miete) or "buy" (Kauf)🟢 High (100%)
priceNumberNormalized numeric price in Swiss Francs (CHF)🟢 High (~98%)
priceTextStringRaw formatted price string (e.g., "2'450")🟢 High (100%)
currencyStringCurrency code (typically "CHF")🟢 High (100%)
roomsNumberNumber of rooms (e.g., 3.5, 4.5) parsed from text🟢 High (~95%)
livingSpaceM2NumberUsable living space in square meters🟢 High (~90%)
addressStringStreet address, postal code, and municipality🟢 High (~96%)
neighborhoodStringSpecific quarter or local district name🟡 Conditional (~40%)
yearOfConstructionNumberFour-digit construction year🟡 Conditional (~50%)
latitude / longitudeNumberGeocoded coordinates of the listing🟢 High (~92%)
partnerNameStringListing real estate brokerage or managing agency🟢 High (~85%)
imageUrlStringFull direct URL to primary listing photograph🟢 High (~95%)
urlStringDirect canonical link to the Comparis listing detail page🟢 High (100%)
scrapedAtStringISO 8601 UTC timestamp of data collection🟢 High (100%)

🚗 Used-Car Data Fields

FieldTypeDescriptionCoverage
verticalStringFixed identifier ("car")🟢 High (100%)
idStringUnique Comparis vehicle listing ID🟢 High (100%)
titleStringFull vehicle title (Make, Model, Trim combined)🟢 High (100%)
make / modelStringVehicle manufacturer and model series🟢 High (100%)
trimStringDetailed edition, trim level, or package description🟢 High (~90%)
bodyTypeStringChassis style (e.g., SUV, Limousine, Kombi, Cabrio)🟢 High (100%)
conditionStringVehicle condition (e.g., Occasion, Neuwagen, Vorführmodell)🟢 High (100%)
priceNumberAsking price in Swiss Francs (CHF)🟢 High (100%)
marketPriceNumberComparis proprietary algorithmic fair market valuation🟢 High (~85%)
comparisRatingStringAlgorithmic deal quality rating (e.g., "Sehr gut", "Gut")🟢 High (~85%)
mileageNumberNormalized odometer reading in kilometers🟢 High (~98%)
registrationDateStringFirst registration date (MM/YYYY)🟢 High (~98%)
fuelTypeStringPropulsion type (Benzin, Diesel, Elektro, Hybrid)🟢 High (100%)
transmissionStringGearbox type (Automat, Schaltgetriebe manuell)🟢 High (~98%)
powerStringEngine power rating in horsepower and kilowatts🟢 High (~90%)
locationStringCity or region where vehicle is located🟢 High (~95%)
partnerNameStringSelling dealership or private seller name🟢 High (~80%)
sourceSiteStringOriginal upstream portal (AutoScout24, car4you, etc.)🟢 High (~90%)
sourceUrlStringUpstream listing link on partner portal🟢 High (~90%)
urlStringDirect canonical link on Comparis Carfinder🟢 High (100%)
scrapedAtStringISO 8601 UTC timestamp of data collection🟢 High (100%)

🚀 Step-by-Step Usage Guide

1. Web Console Interface

  1. Go to the Comparis.ch website in your browser.
  2. Select your desired criteria (e.g., Immobilien for apartments in Zurich, or Carfinder for hybrid SUVs).
  3. Copy the URL from your browser address bar.
  4. Paste the URL into the startUrls section in the Apify Console.
  5. Set maxItems to your target volume (e.g., 1000) and click Start.

2. Python API Client

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
"startUrls": [
{"url": "https://www.comparis.ch/immobilien/result/list?dealtype=10&city=Z%C3%BCrich"},
{"url": "https://www.comparis.ch/carfinder/marktplatz/suv"}
],
"maxItems": 500,
"proxyConfiguration": {
"useApifyProxy": True,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}
run = client.actor("haketa/comparis-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
if item["vertical"] == "realEstate":
print(f"🏠 {item['title']} - {item['price']} CHF in {item['address']}")
else:
print(f"🚗 {item['title']} - {item['price']} CHF ({item['mileage']} km)")

3. Node.js API Client

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({
token: 'YOUR_APIFY_TOKEN',
});
const run = await client.actor('haketa/comparis-scraper').call({
startUrls: [
{ url: 'https://www.comparis.ch/immobilien/result/list?dealtype=10' },
],
maxItems: 300,
proxyConfiguration: {
useApifyProxy: true,
apifyProxyGroups: ['RESIDENTIAL'],
},
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Scraped ${items.length} listings from Comparis.ch.`);

4. Direct cURL / REST API

curl -X POST "https://api.apify.com/v2/acts/haketa~comparis-scraper/runs?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"startUrls": [{"url": "https://www.comparis.ch/immobilien/result/list"}],
"maxItems": 200,
"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}
}'

🗺️ Geographic Coverage Across Swiss Cantons

The scraper captures listings across all 26 Swiss cantons and major metropolitan regions:

Canton CodeCanton NameMajor Hubs CoveredPrimary Language
ZHZürichZürich, Winterthur, Uster, DübendorfGerman
BEBernBern, Biel/Bienne, Thun, KönizGerman / French
GEGenevaGenève, Meyrin, Vernier, LancyFrench
VDVaudLausanne, Yverdon-les-Bains, MontreuxFrench
BS / BLBasel-Stadt / Basel-LandschaftBasel, Allschwil, Reinach, LiestalGerman
ZGZugZug, Baar, Cham, Risch-RotkreuzGerman
LULucerneLuzern, Emmen, Kriens, HorwGerman
SGSt. GallenSt. Gallen, Rapperswil-Jona, WilGerman
TITicinoLugano, Bellinzona, Locarno, MendrisioItalian
VSValaisSion, Sierre, Monthey, Brig-GlisFrench / German

🔗 Downstream Integrations & Data Pipelines

  • Google Sheets & Airtable: Connect Apify's native integrations to append newly scraped real-estate listings to your investment review sheets automatically.
  • HubSpot & Salesforce CRM: Trigger B2B leads from partnerName and address to create new company prospecting accounts for agency services.
  • PostgreSQL / Snowflake / BigQuery: Ingest structured JSON or NDJSON dumps directly into analytical data warehouses for longitudinal price tracking.
  • Mapbox & GIS Dashboards: Use the parsed latitude and longitude fields to plot real-time heatmaps of price per square meter across cantonal borders.

❓ Frequently Asked Questions (FAQ)

Do I need to create a Comparis.ch account?

No. The actor parses public marketplace listings directly without requiring user registration, login credentials, or session tokens.

Why is Apify Residential proxy required?

Comparis marketplace search pages serve challenge interstitials to standard datacenter IP ranges. Residential proxies provide consistent, reliable access to both real estate and automotive catalog listings.

How many listings can I extract in a single execution?

Comparis displays up to 100 pages per search query (approximately 1,000 listings per query URL). Supplying multiple URLs allows you to gather tens of thousands of listings in a single run.

How are Swiss price formats handled?

All prices formatted with Swiss thousand apostrophes (e.g., 2'450 CHF) are automatically parsed into native numeric integers (2450), making them ready for statistical analysis and database queries.

Can I track price reductions over time?

Yes. Schedule automated weekly or daily runs on your target search URLs and store the output datasets in your database to compute historical price movements and days-on-market metrics.


📋 Changelog

Version 1.3.0 (2026-11)

  • Swiss & DACH Geo-Pinned Session Warmup: Updated session initialization to validate edge cookie acquisition directly from the cookie jar and prioritize Swiss/DACH residential routing (CH / DE), eliminating multi-retry warm-up timeouts and cutting run times to ~10–25 seconds.
  • Tighter Request Timeouts & Graceful Exit: Reduced per-request socket timeouts from 45s to 18s for instant failover on slow proxy nodes.

Version 1.2.0 (2026-11)

  • Deep 1,000+ Pagination: Re-engineered pagination boundaries to support full 100-page traversal per URL with maxItems: 0 auto-unlimited mode.
  • Enhanced Multi-City Demo Engine: Added automatic multi-city routing when running demo extractions above 100 items.
  • Robust Field Parsing: Enhanced extraction of dealer and agency partner names, geographic coordinates, and Comparis market valuations.
  • Strict Zero Duplicate Guarantee: Hardened unique listing ID deduplication across multi-page batches.

Version 1.1.0 (2026-10)

  • Introduced dual-vertical support for both /immobilien and /carfinder marketplaces.
  • Integrated residential session management for high-reliability data fetching.

Version 1.0.0 (2026-10)

  • Initial release featuring structured real estate listing extraction from Comparis.ch.