Skip to Content
HomeLink Hub
Properties

Search listings

GET
/api/v1/property/search

Access: Public, no token needed.

Public search over listings that are listed, verified (verification.isVerified: true) and not deleted. Drafts, pending, unlisted, rented and sold listings never appear.

All filters are optional and combine with AND. title and address are case-insensitive regular-expression matches (the value is used as a regex as-is, so an invalid pattern fails the query with a 500 Failed to search properties); state and type are exact matches. bedrooms and bathrooms are minimums.

The price range is applied to the price a listing displays: shortLet.nightlyPrice for a short let, otherwise pricing.rentPrice or pricing.salePrice (either one in range matches). A bound of 0 is ignored.

Each result has landlordId populated with firstName, lastName, avatar, phone, role and isKYCVerified, so the lister's phone number is public here. Unknown query parameters are rejected with a 400.

Query Parameters

title?string

Case-insensitive regex match on the listing title.

address?string

Case-insensitive regex match on location.street or location.nearestLandmark.

state?string

Exact, case-sensitive match on location.state, e.g. Lagos.

type?string

Property type: APARTMENT, HOUSE, VILLA, LAND, COMMERCIAL, SHORTLET or OFFICE.

Value in"APARTMENT""HOUSE""VILLA""LAND""COMMERCIAL""SHORTLET""OFFICE"
minPrice?number

Lower price bound (inclusive). Compared with the nightly price for short lets, rent or sale price otherwise. 0 is treated as no bound.

Formatfloat
Range0 <= value
maxPrice?number

Upper price bound (inclusive). Same field rules as minPrice. 0 is treated as no bound.

Formatfloat
Range0 <= value
bedrooms?number

Minimum number of bedrooms (details.bedrooms >= value). 0 is ignored.

Formatfloat
Range0 <= value
bathrooms?number

Minimum number of bathrooms (details.bathrooms >= value). 0 is ignored.

Formatfloat
Range0 <= value
sort?string

price_asc, price_desc, newest or rating. Any other value, or none, sorts newest first. Price sorts order by pricing.rentPrice then pricing.salePrice. rating orders by rating.averageRating, which nothing in the service currently updates when a review is created.

page?number

1-based page number. Default 1.

Formatfloat
Range1 <= value
Default1
limit?number

Page size, 1-100. Default 20.

Formatfloat
Range1 <= value <= 100
Default20

Response Body

Matching listings, newest first unless sort says otherwise. An empty properties array when nothing matches.

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X GET 'http://localhost:4000/api/v1/property/search'
Example Response
{  "status": 200,  "success": true,  "message": "Properties searched successfully",  "data": {    "properties": [      {        "_id": "665f1c2e9b1d4a0012ab34cd",        "landlordId": {          "_id": "664a0b7e2f8c3d0011aa22bb",          "firstName": "Chinedu",          "lastName": "Okafor",          "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1760000000/homelinkhub/media/chinedu.jpg",          "phone": "+2348031234567",          "role": "LANDLORD",          "isKYCVerified": true        },        "agentId": null,        "title": "Serviced 3-bedroom apartment in Lekki Phase 1",        "description": "Spacious serviced 3-bedroom apartment with a fitted kitchen, 24-hour power and secure parking, five minutes from Admiralty Way.",        "type": "APARTMENT",        "status": "listed",        "location": {          "state": "Lagos",          "lga": "Eti-Osa",          "community": "Lekki Phase 1",          "street": "12 Admiralty Way",          "nearestLandmark": "Lekki Phase 1 Gate",          "coordinates": {            "type": "Point",            "coordinates": [              3.4723,              6.4474            ]          }        },        "details": {          "bedrooms": 3,          "bathrooms": 3,          "squareFeet": 1800,          "features": [            "Fitted kitchen",            "En-suite rooms"          ]        },        "pricing": {          "rentPrice": 4500000,          "salePrice": null,          "currency": "NGN",          "rentDurationYears": 1        },        "availability": {          "availableFrom": "2026-12-01T00:00:00.000Z",          "bookingCalendar": []        },        "shortLet": {          "minNights": 1,          "bookedRanges": []        },        "amenities": [          "wifi",          "parking",          "Borehole"        ],        "media": {          "images": [            {              "url": "https://res.cloudinary.com/homelinkhub/image/upload/v1764061200/homelinkhub/media/lekki-3bed-living.jpg",              "metadata": {                "address": "12 Admiralty Way, Lekki Phase 1, Lagos",                "coordinates": [                  3.4723,                  6.4474                ],                "gps": [                  3.4725,                  6.4476                ],                "tag": "Living Room"              },              "_id": "665f1c2e9b1d4a0012ab34ce"            }          ],          "videos": []        },        "verification": {          "isVerified": true,          "verifiedAt": "2026-11-20T10:15:00.000Z",          "verifiedBy": "664e4f1c6d2a7b0015ee66ff"        },        "rating": {          "averageRating": 0,          "reviewCount": 0        },        "landlordKYCStatus": "VERIFIED",        "legalStatus": "legally_verified",        "activeLegalAssignmentId": null,        "deletedAt": null,        "createdAt": "2026-11-18T09:30:00.000Z",        "updatedAt": "2026-11-20T10:15:00.000Z",        "__v": 0      }    ],    "pagination": {      "page": 1,      "limit": 20,      "total": 1,      "pages": 1    }  }}