Loading...
GET {BASE_URL}/getResidentialAttributes

Get Residential Attributes

Retrieve available attributes for a specific property type

Parameters

Parameter Type Required Description
property_type string Required Type of property (Studio, Flat, Detached, Semi-Detached, Terraced, End of Terrace House, Town House, Bungalow)

Request Examples

curl -X GET "https://data-api.deskval.ai/api/v1/getResidentialAttributes?property_type=Detached" \
  -H "X-API-Key: your-api-key" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
const response = await fetch('https://data-api.deskval.ai/api/v1/getResidentialAttributes?property_type=Detached', {
    method: 'GET',
    headers: {
        'X-API-Key': 'your-api-key',
        'Accept': 'application/json',
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);
import requests

url = "https://data-api.deskval.ai/api/v1/getResidentialAttributes"
params = {"property_type": "Detached"}
headers = {
    "X-API-Key": "your-api-key",
    "Accept": "application/json",
    "Content-Type": "application/json"
}

response = requests.get(url, params=params, headers=headers)
data = response.json()
print(data)

Example Response

200 OK
{
    "success": true,
    "message": "Residential Property Attributes",
    "data": [
        {
            "title": "Additional Toilet",
            "slug": "additional-toilet"
        },
        {
            "title": "Conservatory",
            "slug": "conservatory"
        },
        {
            "title": "Driveway",
            "slug": "driveway"
        },
        {
            "title": "En-suite",
            "slug": "en-suite"
        },
        {
            "title": "ex local authority",
            "slug": "ex-local-authority2"
        }
    ]
}