POST
{BASE_URL}/hmoValuation
Submit HMO Property Valuation Request to Get a Short Datapoints
Submit a comprehensive property valuation request for processing
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
postcode |
string | Required | UK postcode |
address |
string | Required | Full property address |
property_type |
string | Required | Type of property (HMO (B&M), HMO (Commercial)) |
rooms_without_en_suite |
integer | Required | Number of bedrooms (1-22) |
rooms_with_en_suite |
integer | Required | Number of bedrooms (1-22) |
bathrooms |
integer | Required | Number of bathrooms (1-6) |
receptions |
integer | Required | Number of receptions rooms (1-6) |
estimated_current_value |
string | Required | Current estimated value (e.g., "250000") |
tenure |
string | Required | Freehold or Leasehold |
leasehold_tenure |
string | Required if tenure is Leasehold |
(0-20, 20-40, 40-60, 60-80, 80+) |
floor_area |
integer | Optional | Floor area of the unit in square metres (sqm) |
property_condition |
string | Required | Uninhabitable, Poor, Average, Good, Best |
epc_rating |
string | Required | A, B, C, D, E, F, G |
attributes |
string | Optional | Pass attribute's `slug` Comma seperated e.g. (bike-store, game-room, etc) |
Request Examples
curl -X POST "https://data-api.deskval.ai/api/v1/hmoValuation" \
-H "X-API-Key: your-api-key" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"postcode": "SW1A 1AA",
"address": "10 Downing Street, Westminster, London",
"property_type": "HMO (B&M)",
"rooms_without_en_suite": 4,
"rooms_with_en_suite": 4,
"bathrooms": 3,
"receptions": 2,
"estimated_current_value": "2500000",
"tenure": "Freehold",
"floor_area": 120,
"property_condition": "Good",
"epc_rating": "C",
"attributes": "bike-store, game-room"
}'
const data = {
postcode: "SW1A 1AA",
address: "10 Downing Street, Westminster, London",
property_type: "HMO (B&M)",
rooms_without_en_suite: 4,
rooms_with_en_suite: 4,
bathrooms: 3,
receptions: 2,
estimated_current_value: "2500000",
tenure: "Freehold",
"floor_area": 120,
property_condition: "Good",
epc_rating: "C",
attributes: "bike-store, game-room"
};
const response = await fetch('https://data-api.deskval.ai/api/v1/hmoValuation', {
method: 'POST',
headers: {
'X-API-Key': 'your-api-key',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify(data)
});
const result = await response.json();
console.log(result);
import requests
import json
url = "https://data-api.deskval.ai/api/v1/hmoValuation"
data = {
"postcode": "SW1A 1AA",
"address": "10 Downing Street, Westminster, London",
"property_type": "HMO (B&M)",
"rooms_without_en_suite": 4,
"rooms_with_en_suite": 4,
"bathrooms": 3,
"receptions": 2,
"estimated_current_value": "2500000",
"tenure": "Freehold",
"floor_area": 120,
"property_condition": "Good",
"epc_rating": "C",
"attributes": "bike-store, game-room"
}
headers = {
"X-API-Key": "your-api-key",
"Accept": "application/json",
"Content-Type": "application/json"
}
response = requests.post(url, json=data, headers=headers)
result = response.json()
print(json.dumps(result, indent=2))
Example Response
200 OK
{
"success": true,
"message": "Your property valuation request has been received and is being processed.",
"id": "3Qa3="
}
Error Response
400 Bad Request
{
"success": false,
"errors": {
{
"field": "postcode",
"messages": "Required"
},
{
"field": "address",
"messages": "Required"
}
}
}
