ThaiProps · Schema

SearchPayload

Real EstateArtificial IntelligenceProperty SearchThailandMarketplace

Properties

Name Type Description
mode string
province object
property_types object
location object
keyword object
property_id object
project_ids object
station_ids object
areas object
districts object
bedrooms_min object
bedrooms_values object
price_min object
price_max object
area_min object
area_max object
map_bounds object
map_bounds_list object
map_polygon object
nearby_center object
nearby_radius_km object
features object
project_features object
built_after_year object
availability object
pet_friendly object
short_term object
private_pool object
duplex object
map_only object
analytics_search_token object
analytics_session_id object
analytics_source object
analytics_page_path object
sort object
page object
page_size object
View JSON Schema on GitHub

JSON Schema

thaiprops-com-search-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thaiprops-com/json-schema/thaiprops-com-search-payload-schema.json",
  "title": "SearchPayload",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thaiprops-com-openapi.json#/components/schemas/SearchPayload",
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "buy",
        "rent"
      ],
      "title": "Mode"
    },
    "province": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Province"
    },
    "property_types": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Property Types"
    },
    "location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Location"
    },
    "keyword": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Keyword"
    },
    "property_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Property Id"
    },
    "project_ids": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Ids"
    },
    "station_ids": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Station Ids"
    },
    "areas": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Areas"
    },
    "districts": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Districts"
    },
    "bedrooms_min": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bedrooms Min"
    },
    "bedrooms_values": {
      "anyOf": [
        {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bedrooms Values"
    },
    "price_min": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Min"
    },
    "price_max": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Max"
    },
    "area_min": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Area Min"
    },
    "area_max": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Area Max"
    },
    "map_bounds": {
      "anyOf": [
        {
          "$ref": "#/$defs/MapBounds"
        },
        {
          "type": "null"
        }
      ]
    },
    "map_bounds_list": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/MapBounds"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Map Bounds List"
    },
    "map_polygon": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/MapPoint"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Map Polygon"
    },
    "nearby_center": {
      "anyOf": [
        {
          "$ref": "#/$defs/NearbyCenter"
        },
        {
          "type": "null"
        }
      ]
    },
    "nearby_radius_km": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Nearby Radius Km"
    },
    "features": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Features"
    },
    "project_features": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Features"
    },
    "built_after_year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Built After Year"
    },
    "availability": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "now",
            "7",
            "30",
            "updated_7"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Availability"
    },
    "pet_friendly": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pet Friendly"
    },
    "short_term": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Short Term"
    },
    "private_pool": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Private Pool"
    },
    "duplex": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duplex"
    },
    "map_only": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Map Only",
      "default": false
    },
    "analytics_search_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Analytics Search Token"
    },
    "analytics_session_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Analytics Session Id"
    },
    "analytics_source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Analytics Source"
    },
    "analytics_page_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Analytics Page Path"
    },
    "sort": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "best",
            "newest",
            "availability",
            "updated",
            "newest_added",
            "price_low",
            "price_high",
            "area_low",
            "area_high",
            "floor_high"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Sort",
      "default": "best"
    },
    "page": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Page",
      "default": 1
    },
    "page_size": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Page Size",
      "default": 20
    }
  },
  "type": "object",
  "required": [
    "mode"
  ],
  "$defs": {
    "MapBounds": {
      "properties": {
        "north": {
          "type": "number",
          "title": "North"
        },
        "south": {
          "type": "number",
          "title": "South"
        },
        "east": {
          "type": "number",
          "title": "East"
        },
        "west": {
          "type": "number",
          "title": "West"
        }
      },
      "type": "object",
      "required": [
        "north",
        "south",
        "east",
        "west"
      ],
      "title": "MapBounds"
    },
    "MapPoint": {
      "properties": {
        "lat": {
          "type": "number",
          "title": "Lat"
        },
        "lng": {
          "type": "number",
          "title": "Lng"
        }
      },
      "type": "object",
      "required": [
        "lat",
        "lng"
      ],
      "title": "MapPoint"
    },
    "NearbyCenter": {
      "properties": {
        "lat": {
          "type": "number",
          "title": "Lat"
        },
        "lng": {
          "type": "number",
          "title": "Lng"
        }
      },
      "type": "object",
      "required": [
        "lat",
        "lng"
      ],
      "title": "NearbyCenter"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thaiprops-com-search-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.