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
| Endpoint | Behavior |
|---|---|
| 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
GET /api/v1/customers/properties/?purpose=buy&city=Austin¤cy=USD&min_price=500000&max_price=750000&bedrooms=2&ordering=priceThe shared filter function accepts:
qorsearch: case-insensitive match against title, description, city, area name, or address.property_typeortype: exact property type (land,house,villa,apartment, ormansion).purpose: exact valuebuyorrentfor discoverable Core listings.cityandarea_name: exact matches.min_priceandmax_price: inclusive price bounds.bedroomsandbathrooms: minimum counts, not exact counts.amenitiesoramenity: amenity slugs. With normal HTTP query parameters, repeat the key for multiple values.orderingorsort:price,-price,newest,-created_at,featured, ortrending.
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.
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.