{
  "openapi": "3.0.1",
  "info": {
    "title": "PropertyGuru Scraper - Singapore & Malaysia Listings",
    "description": "Collect sale and rental listings from PropertyGuru Singapore, PropertyGuru Malaysia and CommercialGuru. Export prices, property details and available agent contacts. Billed per delivered listing, plus a start fee.",
    "version": "0.6",
    "x-build-id": "1tlPZhcFG7qwv0pzl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~propertyguru-sg-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-propertyguru-sg-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/lentic_clockss~propertyguru-sg-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-propertyguru-sg-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/lentic_clockss~propertyguru-sg-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-propertyguru-sg-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Search or listing URLs",
            "type": "array",
            "description": "PropertyGuru Singapore, PropertyGuru Malaysia or CommercialGuru search or listing URLs. URLs determine the market and take precedence over Location; include search filters in the URLs themselves.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Area or city to search when no URLs are supplied, such as orchard or kuala-lumpur. Empty targets use the sample search unless you choose a different market, channel or property type."
          },
          "market": {
            "title": "Market",
            "enum": [
              "SG",
              "MY",
              "CG",
              "all"
            ],
            "type": "string",
            "description": "Choose SG for Singapore, MY for Malaysia, CG for CommercialGuru Singapore, or all for all three sites. Supplied URLs determine their own markets.",
            "default": "SG"
          },
          "markets": {
            "title": "Multiple markets",
            "type": "array",
            "description": "Choose several markets. The single Market selection is also included unless URLs determine the markets; choose a Market already in this list to avoid adding another one.",
            "items": {
              "type": "string",
              "enum": [
                "SG",
                "MY",
                "CG",
                "all"
              ]
            }
          },
          "channel": {
            "title": "Channel",
            "enum": [
              "BUY",
              "RENT"
            ],
            "type": "string",
            "description": "Choose BUY for sale listings or RENT for rentals. For supplied search URLs, the URL determines sale or rent.",
            "default": "BUY"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "all",
              "residential",
              "commercial",
              "hdb",
              "condo",
              "apartment",
              "landed",
              "landed-house",
              "terraced-house",
              "terrace-house",
              "semi-detached-house",
              "bungalow",
              "executive-condo",
              "good-class-bungalow",
              "cluster-house",
              "townhouse",
              "room",
              "office",
              "retail",
              "industrial",
              "warehouse",
              "land"
            ],
            "type": "string",
            "description": "Choose one property type or a group of types for a generated search. Multiple property types take precedence when supplied; all selects the market's supported primary categories.",
            "default": "all"
          },
          "propertyTypes": {
            "title": "Multiple property types",
            "type": "array",
            "description": "Choose several property types or groups for a generated search. This selection replaces the single Property type when non-empty.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "residential",
                "commercial",
                "hdb",
                "condo",
                "apartment",
                "landed",
                "landed-house",
                "terraced-house",
                "terrace-house",
                "semi-detached-house",
                "bungalow",
                "executive-condo",
                "good-class-bungalow",
                "cluster-house",
                "townhouse",
                "room",
                "office",
                "retail",
                "industrial",
                "warehouse",
                "land"
              ]
            }
          },
          "districtCode": {
            "title": "District code",
            "type": "string",
            "description": "District filter for a generated search, such as D09 in Singapore. To filter a supplied search URL, include the district in that URL."
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum asking price in the selected market currency for a generated search."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum asking price in the selected market currency for a generated search. Must be greater than or equal to minPrice when both are supplied."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Bedroom count for a generated search. Accepts integers from 0 to 20."
          },
          "maxItems": {
            "title": "Maximum rows per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum listing rows per input: each start URL, otherwise each selected market, otherwise each selected property type; scalar settings count as one input. Larger requests are collected in parts, within the run charge limit and the Free plan's 200-row total cap.",
            "default": 70
          },
          "maxPages": {
            "title": "Maximum search pages (not available)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Not enforced as a strict page limit in current Actor runs. Use Maximum rows per input and Maximum cost per run to limit collection.",
            "default": 1
          },
          "scrapeDetails": {
            "title": "Collect listing details",
            "type": "boolean",
            "description": "Add available property and contact information from listing detail pages to the same row. Basic details may still be fetched when this is off if needed to produce a usable listing.",
            "default": true
          },
          "requestDelayMillis": {
            "title": "Request delay (ms)",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Requested pause before page navigation, in milliseconds. It does not guarantee a pause between every request; leave the default unless needed.",
            "default": 2000
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}