APIs / Marketplaces / Milanuncios

1 credit per call6 endpoints13 datapointsChecked working 6 Dec 2026

Milanuncios API

Milanuncios scraper API: Spanish classifieds, car and property listings as JSON, filtered by category, province, price and seller type. 1 credit a call.

Milanuncios
GET/v1/milanuncios/search?category=13&query=bmw&limit=3&offset=0&sort=newest
{
  "success": true,
  "data": {
    "ads": [
      {
        "id": "625204823",
        "title": "BMW X1 sDrive20d",
        "description": "ETIQUETA ECO, GARANTÍA OFICIAL BMW A NIVEL NACIONAL HASTA JUNIO DE 2029BMW X1 SDRIVE20D PACK M SPORT YA DISPONIBLE EN FRAMACAR!!!\n\nEn Framacar Automóviles, llevamos más de un cuarto de siglo marcando la diferencia en el mundo del motor.\n\nDe…",
        "url": "https://www.milanuncios.com/bmw-de-segunda-mano/bmw-x1-sdrive20d-625204823.htm",
        "category_ids": [
          1,
          13,
          805
        ],
        "category_names": [
          "Motor",
          "Coches",
          "BMW"
        ],
        "price": {
          "value": 41900,
          "label": "41.900 €"
        },
        "attributes": {
          "kilometers": 2100,
          "year": 2026,
          "fuel": "hybrid",
          "transmission": "AUTOMATIC",
          "hp": 163,
          "doors": 5,
          "color": "blanco",
          "warranty": "24 meses (2 años)",
          "environmentalLabel": "ECO"
        },
        "location": {
          "city": "Atarfe",
          "province": "Granada",
          "region": "Andalucía"
        },
        "seller_type": "professional",
        "published_at": "2026-11-12T12:04:08Z",
        "updated_at": "2026-11-12T12:04:08Z",
        "images": [
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/50a383d4-f10d-4d69-a142-2935a524eff3?rule=original",
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/4928f73a-a5c1-4c30-80a4-701becd3bfdc?rule=original",
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/6f66ebfd-0fd9-4005-a997-b288837cdc02?rule=original"
        ]
      },
      {
        "id": "625204774",
        "title": "BMW X1 sDrive20d",
        "description": "ETIQUETA ECOBMW X1 SDRIVE20D PACK M SPORT YA DISPONIBLE EN FRAMACAR!!!\n\nEn Framacar Automóviles, llevamos más de un cuarto de siglo marcando la diferencia en el mundo del motor.\n\nDesde nuestra sede en Atarfe, Granada, hemos hecho realidad l…",
        "url": "https://www.milanuncios.com/bmw-de-segunda-mano/bmw-x1-sdrive20d-625204774.htm",
        "category_ids": [
          1,
          13,
          805
        ],
        "category_names": [
          "Motor",
          "Coches",
          "BMW"
        ],
        "price": {
          "value": 41900,
          "label": "41.900 €"
        },
        "attributes": {
          "kilometers": 2000,
          "year": 2026,
          "fuel": "hybrid",
          "transmission": "AUTOMATIC",
          "hp": 163,
          "doors": 5,
          "color": "blanco",
          "warranty": "24 meses (2 años)",
          "environmentalLabel": "ECO"
        },
        "location": {
          "city": "Atarfe",
          "province": "Granada",
          "region": "Andalucía"
        },
        "seller_type": "professional",
        "published_at": "2026-11-12T12:03:50Z",
        "updated_at": "2026-11-12T12:03:50Z",
        "images": [
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/97fe99c3-ce4d-442c-9727-2b5f51c49bcb?rule=original",
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/ddfc0ffc-e6cd-4a03-94d6-cd3112db54d6?rule=original",
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/a9ec4d8a-f88e-4fd9-8830-3e6792f9ef77?rule=original"
        ]
      },
      {
        "id": "625199077",
        "title": "BMW X3 20d xDrive",
        "description": "**BMW X3 xDRIVE20d 2026 – 9.000 KM – PAQUETE M SPORT – NACIONAL – IVA DEDUCIBLE**\n\nDisponible para entrega inmediata.\n\n**CARACTERÍSTICAS PRINCIPALES**\n- Año 2026\n- Tan solo 9.000 km\n- Unidad nacional\n- IVA deducible\n- Garantía oficial BMW\n-…",
        "url": "https://www.milanuncios.com/bmw-de-segunda-mano/bmw-x3-20d-xdrive-625199077.htm",
        "category_ids": [
          1,
          13,
          805
        ],
        "category_names": [
          "Motor",
          "Coches",
          "BMW"
        ],
        "price": {
          "value": 57900,
          "label": "57.900 €"
        },
        "attributes": {
          "kilometers": 8900,
          "year": 2026,
          "fuel": "hybrid",
          "transmission": "AUTOMATIC",
          "hp": 197,
          "doors": 5,
          "color": "gris",
          "warranty": "36 meses (3 años)",
          "environmentalLabel": "ECO"
        },
        "location": {
          "city": "Nueva Andalucia",
          "province": "Málaga",
          "region": "Andalucía"
        },
        "seller_type": "professional",
        "published_at": "2026-11-12T11:39:58Z",
        "updated_at": "2026-11-12T11:58:14Z",
        "images": [
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/6dcff2cb-902b-43c0-a969-d38b780d581f?rule=original",
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/ffa08de5-4d97-4732-9b91-1a1750d25187?rule=original",
          "https://images.milanuncios.com/api/v1/ma-ad-media-pro/images/ca20888e-84c6-45df-a698-984f07049133?rule=original"
        ]
      }
    ],
    "total_hits": 10000,
    "total_hits_is_lower_bound": true,
    "offset": 0,
    "limit": 3,
    "has_more": true
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 546
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringtitlestringdescriptionstringurlurlcategory_idsnumber[]category_namesstring[]priceobjectattributesobjectlocationobjectseller_typestringpublished_atstringupdated_atstringimagesstring[]
1625204823BMW X1 sDrive20dETIQUETA ECO, GARANTÍA OFICIAL BMW A NIVEL NACIONAL HASTA JUNIO DE 2029BMW X1 SDRIVE20D PACK M SPORT YA DISPONIBLE EN FRAMACAR!!! En Framacar Automóviles, llevamos más de un cuarto de siglo marcando la diferencia en el mundo del motor. De…https://www.milanuncios.com/bmw-de-segunda-mano/bmw-x1-sdrive20d-625204823.htm[3 items][3 items]{2 fields}{9 fields}{3 fields}professional2026-11-12T12:04:08Z2026-11-12T12:04:08Z[3 items]
2625204774BMW X1 sDrive20dETIQUETA ECOBMW X1 SDRIVE20D PACK M SPORT YA DISPONIBLE EN FRAMACAR!!! En Framacar Automóviles, llevamos más de un cuarto de siglo marcando la diferencia en el mundo del motor. Desde nuestra sede en Atarfe, Granada, hemos hecho realidad l…https://www.milanuncios.com/bmw-de-segunda-mano/bmw-x1-sdrive20d-625204774.htm[3 items][3 items]{2 fields}{9 fields}{3 fields}professional2026-11-12T12:03:50Z2026-11-12T12:03:50Z[3 items]
3625199077BMW X3 20d xDrive**BMW X3 xDRIVE20d 2026 – 9.000 KM – PAQUETE M SPORT – NACIONAL – IVA DEDUCIBLE** Disponible para entrega inmediata. **CARACTERÍSTICAS PRINCIPALES** - Año 2026 - Tan solo 9.000 km - Unidad nacional - IVA deducible - Garantía oficial BMW -…https://www.milanuncios.com/bmw-de-segunda-mano/bmw-x3-20d-xdrive-625199077.htm[3 items][3 items]{2 fields}{9 fields}{3 fields}professional2026-11-12T11:39:58Z2026-11-12T11:58:14Z[3 items]

Recorded 12 Nov 2026 · 3 items shown · 13 datapoints per itemGET /v1/milanuncios/search?category=13&query=bmw&limit=3&offset=0&sort=newest

13 datapoints

Identity

  • idstring
  • titlestring
  • category_idsnumber[]
  • category_namesstring[]

Contact

  • urlurl
  • seller_typestring

Location

  • locationobject

Reputation

  • attributesobject
  • imagesstring[]

Price

  • priceobject

Other

  • descriptionstring
  • published_atstring
  • updated_atstring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/milanuncios/search?category=13&query=bmw&limit=3&offset=0&sort=newest" \
  -H "X-API-Key: $API_KEY"

Milanuncios · 6 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/milanuncios/car-makes
none
idname
1 credit
GET/v1/milanuncios/car-models
make_id
idname
1 credit
GET/v1/milanuncios/categories
none
idnameslugchildren
1 credit
GET/v1/milanuncios/listing
id
listing
1 credit
GET/v1/milanuncios/locations
query
idnameslugtyperegion_idprovince_id+1 more
1 credit
GET/v1/milanuncios/search
categorysortlimitoffset+11 optional
idtitledescriptionurlcategory_idscategory_names+7 more
1 credit

Overview

About the Milanuncios API

Is there an official Milanuncios API?

No. Milanuncios does not publish a public API or developer documentation. As of December 2026.

Perceptlayer returns Milanuncios data as JSON with one Perceptlayer key and no Milanuncios approval: 1 credit per successful call, and failed calls are free.

What you can get

The Milanuncios API returns listings from the Spanish classifieds site through 6 endpoints, all as JSON.

  • Search: listings in a category, with an optional keyword (query), province, price range and seller_type (professional or private). Sort by relevance, newest, oldest, cheapest, most expensive or surface area, and page with limit and offset.
  • Cars: filter car listings by brand_id, model_id, fuel and year_from, using the car makes and car models endpoints to get the IDs.
  • Property: filter by bedrooms_from and surface_from.
  • Listings: one listing by its id.
  • Helpers: the category list and a location search.

How a call works

Get a category from the categories endpoint, then call GET /v1/milanuncios/search with it, a sort, and limit and offset for paging. For cars, look up the make with car-makes and its models with car-models first. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track used car prices in Spain by make, model and year

Use the Milanuncios API to track used car prices in Spain by make, model and year

Monitor property listings by province, size and bedrooms

Use the Milanuncios API to monitor property listings by province, size and bedrooms

Compare private and professional sellers' prices

Use the Milanuncios API to compare private and professional sellers' prices

Watch new listings for a keyword

Use the Milanuncios API to watch new listings for a keyword

FAQ

Questions

How much does the Milanuncios API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

Can I search only private sellers?

Yes. Set `seller_type` to `private`, or to `professional` for dealers and agencies.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

What can the Milanuncios scraper API search?

`search` takes a `category`, `sort`, `limit` and `offset`, with `query`, `province`, `min_price`, `max_price`, `seller_type` (professional or private), `bedrooms_from`, `surface_from`, `brand_id`, `model_id`, `fuel` and `year_from`. `listing` takes an `id`. Each successful call costs 1 credit.

Is this the official Milanuncios API?

No. Perceptlayer is an independent service and is not affiliated with Milanuncios. It returns Milanuncios data as JSON with a Perceptlayer key, so there is no Milanuncios developer account, app review or partner approval to get first. It only reads data: if Milanuncios has an official API and you need to act on your own Milanuncios account, such as posting, managing orders or reading private data, use that one.

Should I build a Milanuncios scraper instead?

You can, but a Milanuncios scraper is code you maintain: page changes break it, requests get blocked, and Milanuncios's terms govern how you collect data. The Milanuncios API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Milanuncios API with 100 free credits

No credit card. Failed calls are never billed.