Milanuncios API

Spanish Classifieds Data — Cars, Real Estate, Listings, Categories, and Locations

Search Milanuncios classifieds across Spain, fetch full ad detail, browse the category tree, resolve places to province ids, and look up car makes and models. Milanuncios is one of the largest Spanish classifieds marketplaces; Scrappa exposes its public ad data as structured JSON, without seller contact details.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
6
Endpoints
Spain
Market
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/milanuncios/search?category=13&query=bmw&limit=3&sort=newest" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "ads": [
      {
        "id": "614870125",
        "title": "BMW Serie 1 120d",
        "url": "https://www.milanuncios.com/bmw-de-segunda-mano/bmw-serie-1-120d-614870125.htm",
        "price": { "value": 30900, "label": "30.900 €" },
        "attributes": { "kilometers": 9000, "year": 2026, "fuel": "hybrid", "doors": 5 },
        "location": { "city": "Ponferrada", "province": "León", "region": "Castilla y León" },
        "seller_type": "professional",
        "published_at": "2026-09-15T10:02:37Z"
      }
    ],
    "total_hits": 10000,
    "total_hits_is_lower_bound": true,
    "offset": 0,
    "limit": 3,
    "has_more": true
  },
  "meta": { "endpoint_family": "search", "billable": true }
}

What you can build

Structured data for real applications. Here are some ideas.

Used Car Price Tracking

Track asking prices for used cars by make, model, fuel and year across Spain, with kilometers, year, horsepower and seller type on every ad.

Rental and Sale Market Analysis

Monitor flats for sale and for rent per province with price, bedrooms and surface filters, and follow how supply and asking prices move over time.

Classifieds Aggregation

Combine Milanuncios with coches.net, Fotocasa, Idealista and other Spanish portals for comparison tools. Deduplicate by title, price and location.

New Listing Alerts

Poll a saved search sorted by newest and notify yourself when a new ad matching your criteria appears.

Available endpoints

Everything you need in one API.

GET

Search

/api/milanuncios/search

Search ads by category, text, province, price, seller type and car or real estate filters, with limit and offset pagination

GET

Listing Detail

/api/milanuncios/listing

Get the full record for one ad: description, typed attributes, location and all photos

Scrappa vs Milanuncios (no public API)

See how Scrappa compares to the official API.

API available
Scrappa: Yes (6 endpoints)
Milanuncios (no public API): No public API
Ad search
Scrappa: Programmatic
Milanuncios (no public API): Manual only
Ad details
Scrappa: Structured JSON
Milanuncios (no public API): Not available
Car make and model lists
Scrappa:
Milanuncios (no public API): On-site only
Bulk access
Scrappa:
Milanuncios (no public API):
Free tier
Scrappa: 500 credits/month
Milanuncios (no public API): N/A
Integration ready
Scrappa: REST API
Milanuncios (no public API):

Key features

Cars, real estate and every other Milanuncios category in one search
Typed attributes: kilometers, year, horsepower and bedrooms as numbers
Full ad detail with description and every photo
Category tree, location autocomplete and car make and model dictionaries
Limit and offset pagination over the full 10,000 result window
An unknown or expired ad id answers a clean, non-billable 404
No seller contact data, no login and no browser — public ad data only
Structured JSON response format

Frequently asked questions

Milanuncios does not offer a public API. Scrappa provides 6 structured REST endpoints to search ads, fetch ad detail and resolve categories, locations, car makes and models programmatically, without manual browsing.

Call the car makes endpoint for the make id, then the car models endpoint with make_id for the model id. Pass them as brand_id and model_id to the search endpoint together with category 13.

Resolve the place with the locations endpoint, take the province id, and search category 131 (for sale) or 132 (for rent) with the province parameter. The newest and oldest sort orders are not available for real estate.

No. Scrappa returns public ad data only: no phone numbers, no emails and no seller identity.

Just a Scrappa API key passed as an X-API-KEY header. No Milanuncios account is needed. Sign up for free, get your key, and start querying immediately.

Scrappa charges $0.20 per 1,000 requests with no daily caps and never rate limits a client. All Milanuncios endpoints cost the same. Failed requests are never billed.

Start using the Milanuncios API

Sign up and get 500 free credits. No credit card required.