---
title: "Search Properties"
method: POST
path: "/search"
tags: ["Search"]
---

# Search Properties

`POST /search`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/search`
- Auth: none declared

## Request body

- SearchPayload
  - `mode` 'buy' | 'rent', required
  - `province` string, nullable
  - `property_types` string[], nullable
  - `location` string, nullable
  - `keyword` string, nullable
  - `property_id` integer, nullable
  - `project_ids` integer[], nullable
  - `station_ids` integer[], nullable
  - `areas` string[], nullable
  - `districts` string[], nullable
  - `bedrooms_min` number, nullable
  - `bedrooms_values` integer[], nullable
  - `price_min` integer, nullable
  - `price_max` integer, nullable
  - `area_min` number, nullable
  - `area_max` number, nullable
  - `map_bounds` MapBounds
    - `north` number, required
    - `south` number, required
    - `east` number, required
    - `west` number, required
  - `map_bounds_list` MapBounds[], nullable
    - `north` number, required
    - `south` number, required
    - `east` number, required
    - `west` number, required
  - `map_polygon` MapPoint[], nullable
    - `lat` number, required
    - `lng` number, required
  - `nearby_center` NearbyCenter
    - `lat` number, required
    - `lng` number, required
  - `nearby_radius_km` number, nullable
  - `features` string[], nullable
  - `project_features` string[], nullable
  - `availability` 'now' | '7' | '30' | 'updated_7', nullable
  - `pet_friendly` boolean, nullable
  - `short_term` boolean, nullable
  - `private_pool` boolean, nullable
  - `duplex` boolean, nullable
  - `map_only` boolean, nullable
  - `analytics_search_token` string, nullable
  - `analytics_session_id` string, nullable
  - `analytics_source` string, nullable
  - `analytics_page_path` string, nullable
  - `sort` 'best' | 'newest' | 'availability' | 'updated' | 'newest_added' | 'price_low' | 'price_high' | 'area_low' | 'area_high', nullable
  - `page` integer, nullable
  - `page_size` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
