EstateHub

Search and Discovery

Public discovery returns only properties whose status is available and whose purpose is buy or rent. The list and detail endpoints do not require authentication.

Property Endpoints

EndpointBehavior
POST /api/v1/customers/properties/ai-search/Public natural-language search using the configured AI provider; returns interpreted filters and paginated database listings.
GET /api/v1/customers/properties/Filtered property list; page pagination with 12 results by default and a maximum of 50.
GET /api/v1/customers/properties/{id-or-slug}/One available property by UUID or slug.
GET /api/v1/customers/properties/featured/Available properties with `is_featured=true`.
GET /api/v1/customers/properties/new/Available properties ordered by approval and creation time.
GET /api/v1/customers/properties/trending/Available properties ordered with the trending flag first.
GET /api/v1/customers/properties/map/Map-pin representation of filtered available properties.
GET /api/v1/customers/properties/nearby/Distance-filtered available properties; latitude and longitude are required.
GET /api/v1/customers/properties/recommended/Authenticated customer recommendations.

See Customer AI Search API for the request body, interpretation notes, pagination links, limits, and errors.

Supported List Filters

HTTP
GET /api/v1/customers/properties/?purpose=buy&city=Austin&currency=USD&min_price=500000&max_price=750000&bedrooms=2&ordering=price

The shared filter function accepts:

  • q or search: case-insensitive match against title, description, city, area name, or address.
  • property_type or type: exact property type (land, house, villa, apartment, or mansion).
  • purpose: exact value buy or rent for discoverable Core listings.
  • city and area_name: exact matches.
  • min_price and max_price: inclusive price bounds.
  • bedrooms and bathrooms: minimum counts, not exact counts.
  • amenities or amenity: amenity slugs. With normal HTTP query parameters, repeat the key for multiple values.
  • ordering or sort: price, -price, newest, -created_at, featured, or trending.

Unknown ordering values fall back to newest approval time. Use the filter parameters listed above when building discovery requests.

Supporting Discovery Data

GET /api/v1/customers/categories/, /amenities/, /locations/, and /search-suggestions/?q=... provide the option data used by a client. Saved searches, favorites, collections, comparisons, and recommendations require a customer-role bearer token.

Public results are database queries

The backend does not use a separate search index. Approval changes a property to available, after which it is immediately eligible for these database-backed discovery queries.