ThaiProps Properties API

The Properties API from ThaiProps — 17 operation(s) for properties.

GitHub OpenAPI

Operations 19

GET /properties/approval-summary Property Approval Summary #
GET /properties/list List Properties #
GET /properties/sanity List Property Sanity #
GET /properties/image-url/{image_id} Get Property Image Url #
GET /properties/{property_id} Get Property Detail #
DELETE /properties/{property_id} Trash Property #
PATCH /properties/{property_id} Update Property #
POST /properties/{property_id}/seo-preview Preview Property Seo #
POST /properties Create Property #
POST /properties/{property_id}/duplicate Duplicate Property #
POST /properties/bulk-trash Bulk Trash Properties #
POST /properties/{property_id}/restore Restore Property #
GET /properties/trash/list List Property Trash #
DELETE /properties/trash/empty Empty Trash #
GET /properties/trash/count Count Property Trash #
DELETE /properties/{property_id}/permanent Permanent Delete Property #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/thaiprops-com:thaiprops-com-properties-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

thaiprops-com-properties-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Properties API
  version: 0.1.0
tags:
- name: Properties
paths:
  /properties/approval-summary:
    get:
      summary: Property Approval Summary
      operationId: property_approval_summary_properties_approval_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Properties
  /properties/list:
    get:
      summary: List Properties
      operationId: list_properties_properties_list_get
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 20
          title: Per Page
      - name: sort
        in: query
        required: false
        schema:
          type: string
          default: created_at_desc
          title: Sort
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: private_q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Private Q
      - name: project_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Project Id
      - name: listing_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Listing Type
      - name: approval_only
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Approval Only
      - name: owner_filter
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Owner Filter
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/sanity:
    get:
      summary: List Property Sanity
      operationId: list_property_sanity_properties_sanity_get
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Per Page
      - name: issue
        in: query
        required: false
        schema:
          type: string
          default: missing_bed_bath
          title: Issue
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/image-url/{image_id}:
    get:
      summary: Get Property Image Url
      operationId: get_property_image_url_properties_image_url__image_id__get
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: integer
          title: Image Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}/download-media/manifest:
    get:
      summary: Get Property Gallery Download Manifest
      operationId: get_property_gallery_download_manifest_properties__property_id__download_media_manifest_get
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}/download-media/file/{index}:
    get:
      summary: Download Property Gallery File
      operationId: download_property_gallery_file_properties__property_id__download_media_file__index__get
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      - name: index
        in: path
        required: true
        schema:
          type: integer
          title: Index
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}/download-media:
    get:
      summary: Download Property Gallery
      description: 'Return one real ZIP attachment to Chrome, never separate image tabs.


        The public download deliberately uses the same published-property boundary

        as /properties/{id}; it does not expose unpublished/admin-only media.

        Images and videos are read from the VPS, not downloaded via external URLs.'
      operationId: download_property_gallery_properties__property_id__download_media_get
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}:
    get:
      summary: Get Property Detail
      operationId: get_property_detail_properties__property_id__get
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
    delete:
      summary: Trash Property
      operationId: trash_property_properties__property_id__delete
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
    patch:
      summary: Update Property
      operationId: update_property_properties__property_id__patch
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PropertyUpdateIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}/seo-preview:
    post:
      summary: Preview Property Seo
      operationId: preview_property_seo_properties__property_id__seo_preview_post
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties:
    post:
      summary: Create Property
      operationId: create_property_properties_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PropertyUpdateIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}/duplicate:
    post:
      summary: Duplicate Property
      operationId: duplicate_property_properties__property_id__duplicate_post
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/bulk-trash:
    post:
      summary: Bulk Trash Properties
      operationId: bulk_trash_properties_properties_bulk_trash_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Data
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/{property_id}/restore:
    post:
      summary: Restore Property
      operationId: restore_property_properties__property_id__restore_post
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/trash/list:
    get:
      summary: List Property Trash
      operationId: list_property_trash_properties_trash_list_get
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Per Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
  /properties/trash/empty:
    delete:
      summary: Empty Trash
      operationId: empty_trash_properties_trash_empty_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Properties
  /properties/trash/count:
    get:
      summary: Count Property Trash
      operationId: count_property_trash_properties_trash_count_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Properties
  /properties/{property_id}/permanent:
    delete:
      summary: Permanent Delete Property
      operationId: permanent_delete_property_properties__property_id__permanent_delete
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Properties
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PropertyUpdateIn:
      properties:
        confirm_destructive_overwrite:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Confirm Destructive Overwrite
          default: false
        location_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Location Source
        project_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Project Id
        floor:
          anyOf:
          - type: number
          - type: 'null'
          title: Floor
        unit_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Unit Number
        fromAgent:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Fromagent
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        bedrooms:
          anyOf:
          - type: number
          - type: 'null'
          title: Bedrooms
        bathrooms:
          anyOf:
          - type: number
          - type: 'null'
          title: Bathrooms
        area_size:
          anyOf:
          - type: number
          - type: 'null'
          title: Area Size
        rent_price:
          anyOf:
          - type: string
          - type: integer
          - type: 'null'
          title: Rent Price
        sale_price:
          anyOf:
          - type: string
          - type: integer
          - type: 'null'
          title: Sale Price
        price_postfix:
          anyOf:
          - type: string
          - type: 'null'
          title: Price Postfix
        has_rent:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Rent
        has_sell:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Has Sell
        sell_option:
          anyOf:
          - type: string
            enum:
            - invest
            - downpayment
          - type: 'null'
          title: Sell Option
        publish_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Publish Status
        date_available:
          anyOf:
          - type: string
          - type: 'null'
          title: Date Available
        availability_repeat_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Availability Repeat Enabled
        availability_repeat_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Availability Repeat Days
        availability_repeat_anchor_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Availability Repeat Anchor Date
        private_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Private Note
        private_share:
          anyOf:
          - type: string
          - type: 'null'
          title: Private Share
        owner_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Owner Note
        user_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: User Id
        featured_image:
          anyOf:
          - type: integer
          - type: 'null'
          title: Featured Image
        address:
          anyOf:
          - type: string
          - type: 'null'
          title: Address
        latitude:
          anyOf:
          - type: number
          - type: 'null'
          title: Latitude
        longitude:
          anyOf:
          - type: number
          - type: 'null'
          title: Longitude
        property_type:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Property Type
        short_term_allowed:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Short Term Allowed
        short_term_months:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Short Term Months
        short_term_prices:
          anyOf:
          - additionalProperties:
              anyOf:
              - type: string
              - type: integer
            type: object
          - type: 'null'
          title: Short Term Prices
        property_facilities:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Property Facilities
      type: object
      title: PropertyUpdateIn