APIs / Milanuncios / Search

Milanuncios: Search

Search from Milanuncios as JSON. 1 credit per successful call.

GET /v1/milanuncios/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
categoryintegerRequiredAny
querystringOptionalUp to 100 characters
provinceintegerOptionalAny
min_priceintegerOptionalAny
max_priceintegerOptionalAny
seller_typestringOptionalprofessional, private
bedrooms_fromintegerOptionalAny
surface_fromintegerOptionalAny
brand_idintegerOptionalAny
model_idintegerOptionalAny
fuelstringOptionalUp to 40 characters
year_fromintegerOptionalAny
sortstringRequiredrelevance, newest, oldest, cheap, expensive, surface
limitintegerRequiredAny
offsetintegerRequiredAny

Example request

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.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.ads has these 13 fields, read from a recorded call that returned 24 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
titlestring
descriptionstring
urlurl
category_idsnumber[]
category_namesstring[]
priceobject
attributesobject
locationobject
seller_typestring
published_atstring
updated_atstring
imagesstring[]