APIs / Milanuncios / Locations

Milanuncios: Locations

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

GET /v1/milanuncios/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 60 characters

Example request

Milanuncios
GET/v1/milanuncios/locations?query=madrid
{
  "success": true,
  "data": {
    "locations": [
      {
        "id": 44,
        "name": "Madrid (Localidad)",
        "slug": "madrid",
        "type": "locality",
        "region_id": 28,
        "province_id": 28,
        "city_id": 44
      },
      {
        "id": 28,
        "name": "Madrid (Provincia)",
        "slug": "madrid",
        "type": "province",
        "region_id": 28,
        "province_id": 28
      },
      {
        "id": 59453,
        "name": "Madridanos, Zamora",
        "slug": "madridanos",
        "type": "locality",
        "region_id": 61,
        "province_id": 49,
        "city_id": 59453
      }
    ]
  },
  "meta": {
    "endpoint_family": "locations",
    "duration_ms": 585
  }
}
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.locations has these 7 fields, read from a recorded call that returned 14 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idinteger
namestring
slugstring
typestring
region_idinteger
province_idinteger
city_idnumber