Idealista: Locations
Locations from Idealista as JSON. 1 credit per successful call.
GET /v1/idealista/locations
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
country | string | Required | es, it, pt, fr |
mode | string | Required | suggest, reverse, vacational, picker, smart |
prefix | string | Optional | Up to 80 characters |
coordinates | string | Optional | Up to 40 characters |
property_type | string | Optional | homes, newDevelopments, bedrooms, offices, premises, transfers, buildings, storageRooms, garages, vacationRentals, luxury, lands |
operation | string | Optional | sale, rent |
locale | string | Optional | Up to 8 characters |
language | string | Optional | Up to 8 characters |
filter | string | Optional | Up to 80 characters |
location_id | string | Optional | Up to 80 characters |
Example request
Idealista
GET/v1/idealista/locations?country=es&mode=suggest&prefix=Madrid
{
"success": true,
"data": {
"locations": [
{
"name": "Madrid, Madrid",
"locationId": "0-EU-ES-28-07-001-079",
"divisible": true,
"type": "location",
"suggestedLocationId": 28643,
"subTypeText": "Municipio",
"total": 20113
},
{
"name": "Madrid",
"locationId": "0-EU-ES-28",
"divisible": true,
"type": "location",
"suggestedLocationId": 30090,
"subTypeText": "Provincia",
"total": 34253
},
{
"name": "Las Rozas de Madrid, Madrid",
"locationId": "0-EU-ES-28-02-005-127",
"divisible": true,
"type": "location",
"suggestedLocationId": 24770,
"subTypeText": "Municipio",
"total": 571
}
],
"total": 10
},
"meta": {
"duration_ms": 475,
"endpoint_family": "locations"
}
}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 10 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
name | string |
locationId | string |
divisible | boolean |
type | string |
suggestedLocationId | integer |
subTypeText | string |
total | integer |