List published properties
GET
/properties
Returns a paginated list. The property records are in data.data.
Parameters
page-
Page number.
Default:
1. per_page-
Results per page. Unsupported values fall back to 15.
Allowed values:
9, 12, 15, 24.Default:
15. id-
Contact ID used to populate the liked field.
search-
Search by property name or slug.
featured-
Return featured properties when true.
minPrice-
Minimum asking price.
maxPrice-
Maximum asking price. The value 1000000 leaves the upper bound open.
parish-
Parish ID.
status-
Comma-separated review stage IDs.
sale_types-
Comma-separated sale type IDs.
property_types-
Comma-separated property type IDs.
property_amenities-
Comma-separated amenity IDs.
property_purposes-
Comma-separated property purpose IDs.
bedrooms_min-
Minimum number of bedrooms.
bedrooms_max-
Maximum number of bedrooms.
bathrooms_min-
Minimum number of bathrooms.
bathrooms_max-
Maximum number of bathrooms.
receptions_min-
Minimum number of receptions.
receptions_max-
Maximum number of receptions.
parking_min-
Minimum number of parking.
parking_max-
Maximum number of parking.
sortByValue-
Sort by asking price.
Allowed values:
asc, desc. sortByLatest-
Sort by date added.
Allowed values:
asc, desc.
Responses
200 A page of published properties.
application/json
Example
{
"success": true,
"message": "",
"data": {
"data": [
{
"id": 101,
"name": "Example House",
"slug": "example-house",
"price": 425000,
"bedrooms": 3,
"bathrooms": 2,
"liked": false,
"is_featured": false
}
],
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1
}
}
Schema
{
"type": "object",
"properties": {
"success": {
"const": true
},
"message": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Property"
}
},
"current_page": {
"type": "integer"
},
"last_page": {
"type": "integer"
},
"per_page": {
"type": "integer"
},
"total": {
"type": "integer"
},
"first_page_url": {
"type": "string"
},
"last_page_url": {
"type": "string"
},
"next_page_url": {
"type": [
"string",
"null"
]
},
"prev_page_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"current_page",
"last_page",
"per_page",
"total"
]
}
},
"required": [
"success",
"message",
"data"
]
}
401 An API token is required.
application/json
Schema
{
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
]
}
403 The token was not recognised.
application/json
Schema
{
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
]
}
429 The API rate limit of 240 requests per minute was exceeded.
application/json
Schema
{
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
]
}