{
  "openapi": "3.0.1",
  "info": {
    "title": "Rumah123 Property Scraper (Indonesia)",
    "description": "Scrapes houses and apartments for sale or rent from Rumah123, Indonesia's #1 property portal. Search any city or district; returns price, address, bedrooms, bathrooms, land/building size, certificate type, full description, photos and agent details.",
    "version": "0.1",
    "x-build-id": "wegAFrpML0dGlKwJh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapyx~rumah123-properties-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapyx-rumah123-properties-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/scrapyx~rumah123-properties-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapyx-rumah123-properties-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/scrapyx~rumah123-properties-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapyx-rumah123-properties-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": {
          "transactionType": {
            "title": "Jual (sale) or sewa (rent)",
            "enum": [
              "jual",
              "sewa"
            ],
            "type": "string",
            "description": "Which side of the market to search.",
            "default": "jual"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "rumah",
              "apartemen"
            ],
            "type": "string",
            "description": "'rumah' and 'apartemen' are the only types verified this session: both carry a proper per-listing ItemList on the search page. 'tanah' (land) and 'ruko' (shop-house) return HTTP 200 but their search page's only JSON-LD is a generic page description with no per-listing array -- individual parcels would need HTML-card scraping, not built yet -- so they are intentionally not offered here rather than shipped broken.",
            "default": "rumah"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Rumah123 location slugs -- one search per entry, each with its own SEARCH_SUMMARY row. Cities and districts both work: jakarta-selatan, bandung, surabaya, tangerang, jakarta-selatan-tebet. A human spelling like 'Jakarta Selatan' is slugified automatically. An unknown location returns a clean 404 reported as not_found, never silently-wrong results (verified -- unlike several other real-estate targets in this portfolio, Rumah123 does not fall back to an unfiltered baseline on a bad path segment).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "propertyUrls": {
            "title": "Property URLs (direct mode)",
            "type": "array",
            "description": "Scrape specific listings directly, skipping search. Requires the FULL property URL (e.g. https://www.rumah123.com/properti/jakarta-selatan-tebet/rumah-baru-kalcer-skena-di-jatipadang-pasming-hos42193485/) -- a bare numeric id cannot be used because Rumah123's URL embeds an SEO slug that is not derivable from the id alone. Can be combined with a location search in the same run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price (IDR)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty or 0 for no minimum. Applied CLIENT-SIDE after fetching (never sent to Rumah123 as a query parameter -- their robots.txt disallows price filter params for generic crawlers). Setting this automatically turns on 'Fetch full property details', since price only exists on the detail page.",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum price (IDR)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty or 0 for no maximum. Same client-side behaviour as Minimum price.",
            "default": 0
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty or 0 for any. Applied client-side; this field is already present on the search-page listing, so it works whether or not 'Fetch full property details' is on.",
            "default": 0
          },
          "maxItems": {
            "title": "Max properties per location",
            "minimum": 0,
            "type": "integer",
            "description": "Stop paginating a location after this many properties. Set to 0 for unlimited (still bounded by 'Max pages per location').",
            "default": 90
          },
          "maxPages": {
            "title": "Max pages per location",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on pagination depth per location, independent of maxItems. No upstream page ceiling was found during recon (page 999 still returned fresh, different listings on a narrow search), so this is the actor's own safety valve against runaway crawls on very broad searches.",
            "default": 30
          },
          "includePropertyDetails": {
            "title": "Fetch full property details",
            "type": "boolean",
            "description": "Fetch price, seller/agent info, the full photo gallery, description and specs (land size, building size, garage, floors, certificate type) for each result via one extra request per property. Turn this off for a fast listing-only crawl -- search rows already carry address, bedrooms, bathrooms, floor size and a thumbnail. Forced on automatically if minPrice/maxPrice is set, since price is only available on the detail page.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrent requests",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Upper bound on requests in flight at once, across location pagination and detail fetches.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Rumah123 showed no bot challenge during local recon, but the first real cloud run hit a Cloudflare interstitial 4/4 times on the default (non-geo-targeted) Residential pool -- both with and without proxy, so it wasn't a bad individual IP. Pinning the proxy to Indonesia fixed it immediately (verified: 5/5 clean). Country is pinned by default for that reason -- changing it away from Indonesia is likely to reintroduce the challenge.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "ID"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}