Search
/api/milanuncios/search
Search ads by category, text, province, price, seller type and car or real estate filters, with limit and offset pagination
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.
Try it now
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.
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"
{
"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 }
}
Structured data for real applications. Here are some ideas.
Track asking prices for used cars by make, model, fuel and year across Spain, with kilometers, year, horsepower and seller type on every ad.
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.
Combine Milanuncios with coches.net, Fotocasa, Idealista and other Spanish portals for comparison tools. Deduplicate by title, price and location.
Poll a saved search sorted by newest and notify yourself when a new ad matching your criteria appears.
Everything you need in one API.
/api/milanuncios/search
Search ads by category, text, province, price, seller type and car or real estate filters, with limit and offset pagination
/api/milanuncios/listing
Get the full record for one ad: description, typed attributes, location and all photos
/api/milanuncios/categories
Get the complete category tree with ids for the search category parameter
/api/milanuncios/locations
Resolve a place name to location and province ids
/api/milanuncios/car-makes
List all car makes with their ids
/api/milanuncios/car-models
List the models of one car make
See how Scrappa compares to the official API.
| Feature | Scrappa | Milanuncios (no public API) |
|---|---|---|
| API available | Yes (6 endpoints) | No public API |
| Ad search | Programmatic | Manual only |
| Ad details | Structured JSON | Not available |
| Car make and model lists | On-site only | |
| Bulk access | ||
| Free tier | 500 credits/month | N/A |
| Integration ready | REST API |
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.