APIs / Idealista / Shorturis

Idealista: Shorturis

Shorturis from Idealista as JSON. 1 credit per successful call.

POST /v1/idealista/shorturis

Parameters

Send parameters in the JSON body.

ParameterTypeRequiredAllowed values
countrystringRequiredes, it, pt, fr
directionstringRequiredencode, decode
location_idstringOptionalUp to 80 characters
operationstringOptionalsale, rent
property_typestringOptionalhomes, newDevelopments, bedrooms, offices, premises, transfers, buildings, storageRooms, garages, vacationRentals, luxury, lands
localestringOptionalUp to 8 characters
short_urislist of stringOptionalUp to 40 characters

Example request

Idealista
POST/v1/idealista/shorturis
{
  "success": true,
  "data": {
    "httpStatus": 0,
    "locations": [
      {
        "locationId": "0-EU-ES-28",
        "name": "Madrid provincia",
        "shortUri": "bd4",
        "total": 34253
      }
    ]
  },
  "meta": {
    "duration_ms": 375,
    "endpoint_family": "shorturis"
  }
}
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 4 fields, read from a recorded call that returned 1 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
locationIdstring
namestring
shortUristring
totalinteger