Milanuncios Scraper - Spain Classifieds & Prices avatar

Milanuncios Scraper - Spain Classifieds & Prices

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Milanuncios Scraper - Spain Classifieds & Prices

Milanuncios Scraper - Spain Classifieds & Prices

Scrape classified ads from Milanuncios.com, Spain's #1 classifieds: title, price (euros, cash & financed), description, category, city, province, seller type, contact flags, publish date, images & tags. HTTP-only via impit + Spanish residential proxy (clears PerimeterX). Paginated, no browser.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 hours ago

Last modified

Features

Limited permissions

Share

Milanuncios Scraper — Spain Classifieds, Vehicles, Real Estate & Prices 🇪🇸

Apify Actor Maintenance Data Format Pagination Proxy

Scrape classified ads, second-hand vehicles, real estate, electronics, and job postings from Milanuncios.com — Spain's #1 classifieds marketplace. This enterprise-grade Milanuncios scraper traverses search results and category indices, extracting clean, structured ad records: listing title, cash price (€), financed price, complete category hierarchy, city, province, autonomous region, seller type (private vs. professional), phone availability, warranty status, full descriptions, photo galleries, and publication timestamps.

Whether you are monitoring used car valuations across Spain, tracking rental housing prices in Madrid and Barcelona, gathering B2B merchant leads, or building secondary market pricing intelligence, this Milanuncios data extractor automates your data pipeline at scale.

Export ready-to-use datasets in JSON, CSV, Excel, XML, or direct REST API.


⚡ At a Glance

FeatureSpecification
Target WebsiteMilanuncios.com (Adevinta Spain)
Data ScopeClassified ads, cash & financed prices, seller classification, geo-location, tags, photos
Geographic CoverageAll 50 Spanish provinces and autonomous communities (Madrid, Barcelona, Valencia, Seville, etc.)
Extraction Speed~120–300 ads/minute across concurrent category workers
Deep PaginationUnlocked deep extraction (1,000+ ads per category) via parameter pagination (?pagina=N)
Category BreadthMotor (coches, motos), Inmobiliaria (pisos, casas), Empleo, Formación, Hogar, Tecnología
Proxy RequirementApify Residential Proxies (ES country pool required for geographic compatibility)
Export FormatsJSON, CSV, XLSX, XML, RSS, HTML Table
IntegrationsMake.com, Zapier, n8n, Google Sheets, Airbyte, Webhooks, Python, Node.js

🔎 Why Scrape Milanuncios?

Milanuncios is the undisputed leader in Spanish digital classifieds, hosting millions of active listings published by both everyday individuals and commercial enterprises. From second-hand vehicles and commercial machinery to residential real estate and electronics, Milanuncios reflects real-time consumer and commercial market activity across the Iberian Peninsula.

Manually copying and pasting listings is impossible: pages feature high item churn, regional filters are fragmented across dozens of provinces, and bot defenses block automated collection. This dedicated Milanuncios scraper bypasses these hurdles, delivering structured data directly to your warehouse.

Key Industry Applications

  1. Automotive Pricing & Valuation Modeling
    Track second-hand car prices (coches-de-segunda-mano) by make, model, registration year, mileage tags, and warranty status to model fair market value.

  2. Real Estate Rental & Sales Intelligence
    Monitor rental yields and purchase prices for flats (venta-de-pisos, alquiler-de-pisos) across Madrid, Barcelona, Malaga, and the Balearic Islands.

  3. B2B Merchant & Dealer Lead Generation
    Identify high-volume professional sellers (sellerType: "professional"), commercial dealerships, and estate agents for outreach campaigns.

  4. Consumer Electronics & Marketplace Resale Arbitrage
    Detect underpriced luxury watches, smartphones, consoles, and vintage collectibles for resale across international marketplaces.

  5. Competitive Intelligence for Classified Marketplaces
    Benchmark listing volume, ad turnover velocity, and pricing trends against rival classified portals such as Wallapop, Idealista, and Coches.net.


✨ Key Features & Capabilities

  • Deep 1,000+ Ad Pagination: Unlocked pagination engine capable of traversing 30+ pages per query (~42 ads per page) without artificial caps.
  • Support for Any URL or Search Query: Scrape top-level categories, filtered sub-categories, provincial landing pages, or search queries simply by pasting the URL.
  • Cash & Financed Price Extraction: Captures both upfront cash prices and monthly financed price tiers where offered by professional dealerships.
  • Seller Classification: Distinguishes between private individuals (private) and commercial businesses (professional), capturing unique seller IDs.
  • Clean Tag & Attribute Resolution: Automatically extracts vehicle mileage, fuel types, transmission, and housing attributes from structured tags into clean strings.
  • Fast HTTP-Only Architecture: Operates over optimized HTTP network streams without browser overhead, maximizing throughput and reducing cost.
  • Multi-Listing Concurrency: Distributes work across parallel category workers with automatic IP rotation and back-off retries.

📥 Input Parameters

The actor accepts flexible input parameters designed for both non-technical users in the Apify Console and automated API callers.

Field NameTypeDefaultDescription
startUrlsArray[String]["https://www.milanuncios.com/coches-de-segunda-mano/"]Milanuncios listing URLs, category pages, filtered searches, or bare slugs (e.g. venta-de-pisos).
maxPagesInteger0Number of result pages to paginate per listing (~42 ads/page). Set to 0 for auto/unlimited deep pagination (1,000+).
maxItemsInteger0Total ads to extract across all URLs. Set to 0 for unlimited extraction. Prefilled with 50 for fast previews.
maxConcurrencyInteger3Parallel listings to process concurrently (1 to 8).
proxyConfigurationObject{ "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "ES" }Proxy configuration. Spanish Residential proxy is required for Milanuncios.

You can paste any URL from the following core vertical categories:

CategoryURL PatternCommon Attributes Captured
Motor (Cars & Vehicles)/coches-de-segunda-mano/, /motos-de-segunda-mano/Kilometers, year, fuel type, gearbox, warranty, financed price
Inmobiliaria (Real Estate)/venta-de-pisos/, /alquiler-de-pisos/Rooms, square meters, neighborhood, furnished status, elevator
Informática & Telefonía/telefonia/, /ordenadores/Storage capacity, brand, cosmetic condition, accessories
Hogar & Muebles/muebles/, /electrodomesticos/Dimensions, condition, pickup/shipping availability
Servicios & Negocios/servicios/, /traspasos/Professional certification, business turnover, lease transfer details

📤 Output Dataset Schema

Each item in the dataset corresponds to a single classified ad listing with fully resolved metadata.

Ad Listing Fields

FieldTypeCoverageDescription
idString🟢 HighUnique numerical Milanuncios advertisement ID.
titleString🟢 HighListing title headline.
priceNumber🟢 HighUpfront cash price in Euros (€).
currencyString🟢 HighCurrency code (EUR).
priceIncludesTaxesBoolean🟡 ConditionalFlag indicating whether taxes (IVA) are included.
financedPriceNumber / Null🟡 ConditionalFinanced total or installment price if offered by a dealership.
descriptionString🟢 HighComplete body text of the listing.
categoryString🟢 HighPrimary ad category name.
categoryPathString🟢 HighFull hierarchical category tree breadcrumb (e.g., Motor > Coches).
cityString🟢 HighMunicipality or city name (e.g., Badalona, Madrid).
provinceString🟢 HighSpanish province name (e.g., Barcelona, Valencia).
regionString🟢 HighAutonomous community (e.g., Cataluña, Comunidad de Madrid).

Seller & Contact Fields

FieldTypeCoverageDescription
sellerTypeString🟢 HighClassification: professional (business/dealer) or private (individual).
sellerIdString🟢 HighUnique numerical identifier of the posting user.
sellTypeString🟡 ConditionalOffer type classification (particular, profesional).
contactableBoolean🟢 HighFlag indicating if the lister accepts direct platform messages.
isPhoneAvailableBoolean🟢 HighFlag indicating if a phone contact option is enabled.
warrantyPeriodString / Null🟡 ConditionalCommercial warranty duration (e.g., "12 meses").
isNewBoolean🟢 HighFlag indicating brand-new merchandise condition.
highlightedBoolean🟢 HighFlag indicating paid promotional badge visibility.
tagsArray[String]🟢 HighStructured specification tags (e.g., ["2021 año", "45.000 kms", "Diésel"]).
imagesArray[String]🟢 HighAbsolute high-resolution photo URLs hosted on Milanuncios image CDNs.
publishDateString🟢 HighOriginal listing publication timestamp.
updateDateString🟢 HighTimestamp of most recent listing update or renewal.
urlString🟢 HighDirect canonical listing URL on milanuncios.com.
scrapedAtString🟢 HighISO 8601 timestamp of data extraction.

📋 Sample Output Record

{
"id": "528491024",
"title": "SEAT Ibiza 1.0 TSI Style 110CV",
"price": 16490,
"currency": "EUR",
"priceIncludesTaxes": true,
"financedPrice": 14990,
"description": "Vehículo nacional en impecable estado de reestreno. Único propietario, historial de revisiones completo en concesionario oficial. Garantía de 12 meses incluida.",
"category": "Coches de segunda mano",
"categoryPath": "Motor > Coches > SEAT > Ibiza",
"city": "Badalona",
"province": "Barcelona",
"region": "Cataluña",
"sellerType": "professional",
"sellerId": "9182741",
"sellType": "profesional",
"contactable": true,
"isPhoneAvailable": true,
"isNew": false,
"highlighted": true,
"warrantyPeriod": "12 meses",
"publishDate": "2026-11-08T18:22:10.000Z",
"updateDate": "2026-11-10T09:14:00.000Z",
"url": "https://www.milanuncios.com/coches-de-segunda-mano/seat-ibiza-1-0-tsi-style-110cv-528491024.htm",
"images": [
"https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/528491024/front.jpg",
"https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/528491024/interior.jpg"
],
"tags": [
"2022 año",
"38.500 kms",
"Gasolina",
"Manual",
"5 puertas",
"110 CV"
],
"scrapedAt": "2026-11-10T14:50:00.000Z"
}

💡 Practical Use Cases & Step-by-Step Recipes

1. Spain Automotive Price Tracker

  • Start URLs: ["https://www.milanuncios.com/coches-de-segunda-mano/"]
  • Max Pages: 10 (~420 vehicles)
  • Schedule: Run daily at 08:00 UTC.
  • Workflow: Ingest mileage tags and cash prices into PostgreSQL to detect sudden price reductions across dealership networks.

2. Madrid Residential Property Monitor

  • Start URLs: ["https://www.milanuncios.com/venta-de-pisos-en-madrid/"]
  • Max Items: 1000 (or 0 for all available)
  • Filter: Filter by private sellers (sellerType: "private") in your database to surface direct owner opportunities without commission overhead.

3. Dealership B2B Lead Sourcing

  • Start URLs: Category search filtered by commercial vehicles (/furgonetas-de-segunda-mano/).
  • Filter: Isolate records with sellerType: "professional" and isPhoneAvailable: true.
  • Result: Exports verified dealership seller IDs, locations, and inventory volumes for B2B CRM sales prospecting.

🛠️ Step-by-Step Execution Guide

  1. Find Target Search on Milanuncios: Browse milanuncios.com in your web browser, configure your location and category filters, and copy the resulting browser address.
  2. Paste into startUrls: Add the URL (or multiple URLs) to the actor input.
  3. Set Depth: Leave maxPages at 0 for unbounded pagination across all available pages, or specify a page cap.
  4. Execute Run: Click Start in the Apify Console. Monitor live page extractions and ad counts in real time.
  5. Download & Integrate: Export results to JSON, CSV, or Excel, or stream records directly into BigQuery, Snowflake, or Google Sheets via Apify API webhooks.

⚙️ Advanced API & Webhook Automation

You can trigger this actor programmatically via standard HTTP REST requests.

Trigger via cURL

curl -X POST "https://api.apify.com/v2/acts/haketa~milanuncios-scraper/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"startUrls": ["https://www.milanuncios.com/coches-de-segunda-mano/"],
"maxPages": 5,
"maxItems": 200,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"],
"apifyProxyCountry": "ES"
}
}'

Fetch Results via Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("haketa/milanuncios-scraper").call(run_input={
"startUrls": ["https://www.milanuncios.com/venta-de-pisos-en-barcelona/"],
"maxPages": 3,
"maxItems": 100,
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"[{ad['city']}] {ad['title']}: {ad['price']:,} EUR ({ad['sellerType']})")

🏗️ Enterprise Classifieds Data Warehouse Schema

For automotive dealerships, real estate aggregators, and intelligence desks, Milanuncios records map cleanly into PostgreSQL or Snowflake:

CREATE TABLE milanuncios_ads (
id VARCHAR(50) PRIMARY KEY,
title TEXT NOT NULL,
price NUMERIC(12, 2),
currency VARCHAR(5) DEFAULT 'EUR',
price_includes_taxes BOOLEAN,
financed_price NUMERIC(12, 2),
description TEXT,
category VARCHAR(100),
category_path TEXT,
city VARCHAR(100),
province VARCHAR(100),
region VARCHAR(100),
seller_type VARCHAR(30),
seller_id VARCHAR(50),
contactable BOOLEAN DEFAULT TRUE,
is_phone_available BOOLEAN DEFAULT FALSE,
warranty_period VARCHAR(50),
is_new BOOLEAN DEFAULT FALSE,
highlighted BOOLEAN DEFAULT FALSE,
tags TEXT[],
images TEXT[],
publish_date TIMESTAMP WITH TIME ZONE,
update_date TIMESTAMP WITH TIME ZONE,
url TEXT,
scraped_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);
-- Indices for automotive and real-estate market intelligence
CREATE INDEX idx_milanuncios_geo ON milanuncios_ads (province, city);
CREATE INDEX idx_milanuncios_category ON milanuncios_ads (category);
CREATE INDEX idx_milanuncios_seller ON milanuncios_ads (seller_type, seller_id);

Direct Node.js Integration

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('haketa/milanuncios-scraper').call({
startUrls: ['https://www.milanuncios.com/coches-de-segunda-mano/'],
maxPages: 3,
maxItems: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Successfully extracted ${items.length} classified ads from Milanuncios.`);

🇪🇸 Supported Spanish Autonomous Communities & Major Provinces

You can target any of Spain's 17 autonomous communities and 50 provinces:

Autonomous CommunityMajor Provinces IncludedKey Commercial Hubs
Comunidad de MadridMadridMadrid, Alcalá de Henares, Móstoles, Leganés
CataluñaBarcelona, Girona, Lleida, TarragonaBarcelona, Badalona, Sabadell, Terrassa
AndalucíaSevilla, Málaga, Granada, Cádiz, Córdoba, AlmeríaSevilla, Málaga, Marbella, Jerez de la Frontera
Comunitat ValencianaValencia, Alicante, CastellónValencia, Alicante, Elche, Torrevieja
GaliciaA Coruña, Pontevedra, Lugo, OurenseVigo, A Coruña, Santiago de Compostela
País VascoBizkaia, Gipuzkoa, ÁlavaBilbao, San Sebastián, Vitoria-Gasteiz
Islas CanariasLas Palmas, Santa Cruz de TenerifeLas Palmas de Gran Canaria, Santa Cruz
Islas BalearesIlles BalearsPalma de Mallorca, Ibiza, Menorca

❓ Frequently Asked Questions (FAQ)

Does this scraper require a Milanuncios account or login?
No. The scraper reads public classified advertisements directly without requiring user credentials, phone verification, or cookies.

Why is a Spanish residential proxy required?
Milanuncios employs network protection layers that restrict non-Spanish and typical datacenter IP ranges. Apify Spanish Residential proxies ensure seamless, uninterrupted extraction.

How many ads are on each page?
Milanuncios serves approximately 42 ads per result page. Paginating 10 pages yields ~420 structured ad records. Setting maxPages to 0 enables deep multi-thousand item extraction.

How are vehicle tags formatted?
Tags like mileage, transmission, and fuel type are cleanly extracted as human-readable text strings (e.g. ["2022 año", "38.500 kms", "Diésel"]) rather than unparsed objects.

Can I scrape private sellers exclusively?
Yes. Every output record contains a sellerType attribute (private or professional), allowing you to filter for private owner listings in your downstream queries or spreadsheets.

Are image URLs absolute?
Yes. All image paths are normalized to absolute https:// URLs pointing directly to high-resolution assets hosted on Milanuncios media CDNs.


Expand your marketplace data intelligence across European markets:


📋 Changelog

  • v1.2 (2026-11):
    • Unlocked 1,000+ deep pagination with parameter traversing (?pagina=N) and zero artificial page caps.
    • Set default maxPages and maxItems to 0 (unlimited auto-pagination) with fast-prefill sample.
    • Enhanced string-aware brace parsing for embedded JSON structures.
    • Standardized vehicle and property tag string normalization.
  • v1.1 (2026-10):
    • Added financed price extraction and warranty period tracking.
    • Integrated canonical absolute image URL normalization.
  • v1.0 (2026-10):
    • Initial production release supporting multi-category Milanuncios classifieds scraping.
⌂ 换网址