Skip to content
//Milanuncios Scraper example\\

Used cars in Madrid with details, 5 ads

Ads from a Milanuncios URL with full details.

Updated November 16, 2026

What this example returns

This example returns up to 5 ads.

The dataset’s “Ads” view shows 12 columns: Photo, Title, Price (€), City, Province, Category, Seller type, Seller, Km, Year, Published, and Ad. See every output field.

What each setting does

The input this example runs Milanuncios Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Milanuncios URLs startUrls

https://www.milanuncios.com/coches-de-segunda-mano-en-madrid/

Search result pages (any category, location, keyword, filters and sort as you set them on milanuncios.com) or single ad pages. Example: https://www.milanuncios.com/coches-de-segunda-mano-en-madrid/?desde=3000&hasta=12000

Max ads maxItems

5

Maximum number of ads to save in total. 0 = no limit. Milanuncios serves about 8,300 ads per search; a bigger search is read again in price ranges, so you can get more than that.

Default: 10000 → this example uses 5

Add seller details fetchDetails

Yes

One extra light request per ad adds the seller's map position and postcode, member-since date, email-verified flag, avatar, the ad's favourites count and shipping carriers. Same price per ad.

Default: No → this example uses Yes

.json
{
  "startUrls": [
    {
      "url": "https://www.milanuncios.com/coches-de-segunda-mano-en-madrid/"
    }
  ],
  "maxItems": 5,
  "fetchDetails": true
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Resultfrom $0.000375One Milanuncios ad saved to the dataset
  • Actor startfrom $0.0015Charged once per run.

Full pricing

When to use this example

From the Milanuncios Scraper readme:

Why is a field empty?

Ads only carry the attributes that fit their category and that the seller filled in. Coordinates appear when the ad or seller shares them; turn on Add seller details for the seller's position and postcode.

Other ways to run Milanuncios Scraper

All examples of Milanuncios Scraper

About Milanuncios Scraper

Scrape Milanuncios.com classified ads in Spain from search URLs, ad URLs or keywords with filters: price, attributes, km, year, seller name and type, location, photos and dates. Any category: cars, property, jobs, items.

Price:
From $0.375 / 1,000 results
Developer:
Shelfbright

Milanuncios Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.