{
  "openapi": "3.0.1",
  "info": {
    "title": "Keller Williams Scraper 🏠 kw.com Sale, Rent & Sold Listings",
    "description": "🏠 Scrape Keller Williams (kw.com) listings for sale, for rent and sold — from a pasted search or property link, or by place. Prices, photos, features, HOA, schools, agent contacts and neighborhood statistics.",
    "version": "0.0",
    "x-build-id": "p6H1gDMMRxtqJSlul"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dz_omar~kw-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dz_omar-kw-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/dz_omar~kw-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dz_omar-kw-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/dz_omar~kw-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dz_omar-kw-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": "🔗 kw.com links — property or search",
            "type": "array",
            "description": "Paste links straight from kw.com. A PROPERTY link (…/property/<address>/<number>) returns that listing with its full record. A SEARCH link (…/search/sale, …/search/rent or …/search/sold with the map area and filters in it) returns that search exactly as kw.com shows it — area, price, bedrooms, bathrooms, property types, living area, lot size, year built, features, keywords, open house, price reduced and sort are all read from the link, so you do not need to repeat them below. Other kw.com pages are skipped and listed in the log.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "locations": {
            "title": "📍 Places to search",
            "type": "array",
            "description": "Cities, ZIP codes, counties, neighborhoods, school zones or whole states: \"Austin, TX\", \"78701\", \"Travis County, TX\", \"Zilker\", \"Texas\". One search per place, each with its own Maximum results. A place typed without a state uses the best match and the log says which one.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "🏷️ Listing type · places only",
            "enum": [
              "sale",
              "rent",
              "sold"
            ],
            "type": "string",
            "description": "What to search for in each place.",
            "default": "sale"
          },
          "saleStatuses": {
            "title": "🚦 Sale statuses · For sale only",
            "type": "array",
            "description": "Which for-sale statuses to include. Leave the default for what kw.com shows by default (active and coming soon); add Pending to include homes under contract. Ignored for rent and sold searches.",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "comingSoon",
                "pending"
              ],
              "enumTitles": [
                "Active",
                "Coming soon",
                "Pending"
              ]
            },
            "default": [
              "active",
              "comingSoon"
            ]
          },
          "priceMin": {
            "title": "💲 Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in US dollars (monthly rent on a rent search, sold price on a sold search). Leave empty for no minimum."
          },
          "priceMax": {
            "title": "💲 Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in US dollars. Leave empty for no maximum."
          },
          "bedroomsMin": {
            "title": "🛏️ Bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "At least this many bedrooms. Leave empty or 0 for any."
          },
          "bedroomsExact": {
            "title": "🛏️ Exactly this many bedrooms",
            "type": "boolean",
            "description": "On: exactly the number above instead of \"or more\". Needs Bedrooms.",
            "default": false
          },
          "bathroomsMin": {
            "title": "🛁 Bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "At least this many bathrooms. Leave empty or 0 for any."
          },
          "bathroomsExact": {
            "title": "🛁 Exactly this many bathrooms",
            "type": "boolean",
            "description": "On: exactly the number above instead of \"or more\". Needs Bathrooms.",
            "default": false
          },
          "propertyTypes": {
            "title": "🏘️ Property types",
            "type": "array",
            "description": "Only these property types. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "apartment",
                "townhouse",
                "condo",
                "coop",
                "lotsAndLand",
                "manufactured",
                "multiFamily",
                "other"
              ],
              "enumTitles": [
                "House",
                "Apartment",
                "Townhouse",
                "Condo",
                "Co-op",
                "Lots / land",
                "Manufactured",
                "Multi-family",
                "Other"
              ]
            }
          },
          "livingAreaMin": {
            "title": "📐 Min living area",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest living area in square feet."
          },
          "livingAreaMax": {
            "title": "📐 Max living area",
            "minimum": 0,
            "type": "integer",
            "description": "Largest living area in square feet."
          },
          "lotSizeMin": {
            "title": "🌳 Min lot size",
            "minimum": 0,
            "type": "number",
            "description": "Smallest lot in acres (1 acre = 43,560 sq ft). Decimals work: 0.25."
          },
          "lotSizeMax": {
            "title": "🌳 Max lot size",
            "minimum": 0,
            "type": "number",
            "description": "Largest lot in acres."
          },
          "yearBuiltMin": {
            "title": "📅 Built from year",
            "minimum": 1600,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year built, e.g. 2015."
          },
          "yearBuiltMax": {
            "title": "📅 Built up to year",
            "minimum": 1600,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year built, e.g. 2024."
          },
          "features": {
            "title": "✨ Must have all of these features",
            "type": "array",
            "description": "A listing must have EVERY feature chosen here. Leave empty for no feature filter.",
            "items": {
              "type": "string",
              "enum": [
                "pool",
                "pond",
                "hotTub",
                "deck",
                "porch",
                "gatedEntry",
                "garage",
                "parking",
                "garden",
                "fireplace"
              ],
              "enumTitles": [
                "Pool",
                "Pond",
                "Hot tub",
                "Deck",
                "Porch",
                "Gated entry",
                "Garage",
                "Parking",
                "Garden",
                "Fireplace"
              ]
            }
          },
          "listingTags": {
            "title": "🏗️ Listing tags (any of)",
            "type": "array",
            "description": "Only listings with at least ONE of the chosen tags. Leave empty for all listings.",
            "items": {
              "type": "string",
              "enum": [
                "newConstruction",
                "foreclosure",
                "shortSale"
              ],
              "enumTitles": [
                "New construction",
                "Foreclosure",
                "Short sale"
              ]
            }
          },
          "keywords": {
            "title": "🔤 Description keywords",
            "type": "array",
            "description": "Words that must appear in the listing text, e.g. \"granite\" or \"mother-in-law\". A listing must match every keyword.",
            "items": {
              "type": "string"
            }
          },
          "openHouseOnly": {
            "title": "🏡 Open house only",
            "type": "boolean",
            "description": "Only listings with an upcoming open house.",
            "default": false
          },
          "priceReducedOnly": {
            "title": "📉 Price reduced only",
            "type": "boolean",
            "description": "Only listings whose price was reduced in the last 7 days.",
            "default": false
          },
          "maxItems": {
            "title": "🔢 Maximum results per search",
            "minimum": 0,
            "type": "integer",
            "description": "How many listings to deliver per search (each search link and each place); 0 = all of them. Searches larger than 10,000 listings are read in price bands automatically. Property links are always delivered and do not count against this.",
            "default": 10
          },
          "sortBy": {
            "title": "↕️ Sort by · places, and links without a sort",
            "enum": [
              "updated",
              "price",
              "livingArea",
              "pricePerLivingArea",
              "daysOnSite"
            ],
            "type": "string",
            "description": "Order of each place's results.",
            "default": "updated"
          },
          "sortDirection": {
            "title": "↕️ Sort direction · places and links",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Highest first, or lowest first. \"Recently updated\" with highest first = newest first.",
            "default": "desc"
          },
          "detailLevel": {
            "title": "🧾 Detail level",
            "enum": [
              "full",
              "summary"
            ],
            "type": "string",
            "description": "Full: the complete record per listing (photos, features, HOA, schools, agent, neighborhood statistics, open houses). Summary: the search-result record only (address, price, size, photos, status, agent firm): faster and smaller.",
            "default": "full"
          },
          "includeHistory": {
            "title": "🧮 Add tax and sales history · full detail only",
            "type": "boolean",
            "description": "Adds the county tax history and recorded sales to each full record (one more request per listing). Ignored with the Summary level.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}