ThaiProps Projects API

The Projects API from ThaiProps — 13 operation(s) for projects.

GitHub OpenAPI

Operations 15

GET /projects/location-lookup Lookup Project Coordinates #
POST /projects/merge Merge Projects #
GET /projects/meta/project-types Get Project Types #
GET /projects/list List Projects #
GET /projects/{project_id}/breadcrumb Get Project Breadcrumb #
GET /projects/{project_id} Get Project #
PUT /projects/{project_id} Update Project #
DELETE /projects/{project_id} Delete Project #
POST /projects Create Project #
GET /projects/trash/list List Project Trash #
DELETE /projects/{project_id}/permanent Permanent Delete Project #
GET /projects/trash/count Count Project Trash #
DELETE /projects/trash/empty Empty Project Trash #
POST /projects/{project_id}/restore Restore Project #
GET /projects/{project_id}/facilities Public Project Facilities #

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-projects-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-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Projects API
  version: 0.1.0
tags:
- name: Projects
paths:
  /projects/location-lookup:
    get:
      summary: Lookup Project Coordinates
      operationId: lookup_project_coordinates_projects_location_lookup_get
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 100
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/merge:
    post:
      summary: Merge Projects
      operationId: merge_projects_projects_merge_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectMergeIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/meta/project-types:
    get:
      summary: Get Project Types
      operationId: get_project_types_projects_meta_project_types_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Projects
  /projects/list:
    get:
      summary: List Projects
      operationId: list_projects_projects_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: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: sort_by
        in: query
        required: false
        schema:
          type: string
          default: modified_at
          title: Sort By
      - name: sort_dir
        in: query
        required: false
        schema:
          type: string
          default: desc
          title: Sort Dir
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/{project_id}/breadcrumb:
    get:
      summary: Get Project Breadcrumb
      operationId: get_project_breadcrumb_projects__project_id__breadcrumb_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/{project_id}:
    get:
      summary: Get Project
      operationId: get_project_projects__project_id__get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
    put:
      summary: Update Project
      operationId: update_project_projects__project_id__put
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdateIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
    delete:
      summary: Delete Project
      operationId: delete_project_projects__project_id__delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects:
    post:
      summary: Create Project
      operationId: create_project_projects_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdateIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/trash/list:
    get:
      summary: List Project Trash
      operationId: list_project_trash_projects_trash_list_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Projects
  /projects/{project_id}/permanent:
    delete:
      summary: Permanent Delete Project
      operationId: permanent_delete_project_projects__project_id__permanent_delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/trash/count:
    get:
      summary: Count Project Trash
      operationId: count_project_trash_projects_trash_count_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Projects
  /projects/trash/empty:
    delete:
      summary: Empty Project Trash
      operationId: empty_project_trash_projects_trash_empty_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Projects
  /projects/{project_id}/restore:
    post:
      summary: Restore Project
      operationId: restore_project_projects__project_id__restore_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /projects/{project_id}/facilities:
    get:
      summary: Public Project Facilities
      operationId: public_project_facilities_projects__project_id__facilities_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
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
    ProjectUpdateIn:
      properties:
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        post_content:
          anyOf:
          - type: string
          - type: 'null'
          title: Post Content
        overview_summary_en:
          anyOf:
          - type: string
          - type: 'null'
          title: Overview Summary En
        maintenance_fee_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Maintenance Fee Note
        developer:
          anyOf:
          - type: string
          - type: 'null'
          title: Developer
        year_built:
          anyOf:
          - type: integer
          - type: 'null'
          title: Year Built
        towers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Towers
        total_floors:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total Floors
        total_units:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total Units
        parking_spaces:
          anyOf:
          - type: integer
          - type: 'null'
          title: Parking Spaces
        ownership:
          anyOf:
          - type: string
          - type: 'null'
          title: Ownership
        highrise:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Highrise
        project_stage:
          anyOf:
          - type: string
          - type: 'null'
          title: Project Stage
        project_type:
          anyOf:
          - {}
          - type: 'null'
          title: Project Type
        formatted_address_en:
          anyOf:
          - type: string
          - type: 'null'
          title: Formatted Address En
        latitude:
          anyOf:
          - type: number
          - type: 'null'
          title: Latitude
        longitude:
          anyOf:
          - type: number
          - type: 'null'
          title: Longitude
        featured_image:
          anyOf:
          - type: string
          - type: 'null'
          title: Featured Image
        banner_position_x:
          anyOf:
          - type: number
          - type: 'null'
          title: Banner Position X
        banner_position_y:
          anyOf:
          - type: number
          - type: 'null'
          title: Banner Position Y
        banner_zoom:
          anyOf:
          - type: number
          - type: 'null'
          title: Banner Zoom
        publish_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Publish Status
        project_categories:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Project Categories
        project_facility_ids:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Project Facility Ids
      type: object
      title: ProjectUpdateIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProjectMergeIn:
      properties:
        project_a_id:
          type: integer
          title: Project A Id
        project_b_id:
          type: integer
          title: Project B Id
        target_project_id:
          type: integer
          title: Target Project Id
        delete_emptied_project:
          type: boolean
          title: Delete Emptied Project
          default: true
      type: object
      required:
      - project_a_id
      - project_b_id
      - target_project_id
      title: ProjectMergeIn