{
  "openapi": "3.0.1",
  "info": {
    "title": "Homenap Scraper",
    "description": "Scrape property data from Homesnap.com",
    "version": "0.1",
    "x-build-id": "Ktwx0hCDt74IpVDh3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jupri~homesnap/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jupri-homesnap",
        "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/jupri~homesnap/runs": {
      "post": {
        "operationId": "runs-sync-jupri-homesnap",
        "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/jupri~homesnap/run-sync": {
      "post": {
        "operationId": "run-sync-jupri-homesnap",
        "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",
        "required": [
          "location",
          "mode"
        ],
        "properties": {
          "location": {
            "title": "Location",
            "type": "string",
            "description": ""
          },
          "mode": {
            "title": "Search For",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "",
            "default": "sale"
          },
          "limit": {
            "title": "Limit",
            "type": "integer",
            "description": "Limit number of results",
            "default": 5
          },
          "sort": {
            "title": "Sorting",
            "enum": [
              "date-desc",
              "price-asc",
              "beds",
              "baths",
              "price-desc",
              "areasize",
              "lotsize",
              "year-desc",
              "year-asc"
            ],
            "type": "string",
            "description": "Sorting key"
          },
          "keyword": {
            "title": "Keyword Search",
            "type": "string",
            "description": "Description includes ..."
          },
          "date": {
            "title": "Date",
            "enum": [
              "1",
              "7",
              "8",
              "9",
              "10",
              "11",
              "2",
              "3",
              "4",
              "5",
              "6"
            ],
            "type": "string",
            "description": ""
          },
          "is_active": {
            "title": "Active",
            "type": "boolean",
            "description": "",
            "default": true
          },
          "is_pending": {
            "title": "Contingent / Pending",
            "type": "boolean",
            "description": "For-Sale Only"
          },
          "open_house": {
            "title": "Open House Only",
            "enum": [
              "any",
              "1",
              "12",
              "14",
              "16",
              "17",
              "18"
            ],
            "type": "string",
            "description": ""
          },
          "is_contract": {
            "title": "Under Contract / Rental Agreement",
            "type": "boolean",
            "description": ""
          },
          "is_sold": {
            "title": "Sold / Rented",
            "type": "boolean",
            "description": ""
          },
          "price_min": {
            "title": "Min. Price",
            "type": "integer",
            "description": ""
          },
          "price_max": {
            "title": "Max. Price",
            "type": "integer",
            "description": ""
          },
          "price_reduction": {
            "title": "Price Reduction",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9"
            ],
            "type": "string",
            "description": ""
          },
          "price_sqft_min": {
            "title": "Min. Price Per Square Foot",
            "type": "integer",
            "description": ""
          },
          "price_sqft_max": {
            "title": "Max. Price Per Square Foot",
            "type": "integer",
            "description": ""
          },
          "no_hoa": {
            "title": "No HOA Fee",
            "type": "boolean",
            "description": ""
          },
          "max_hoa": {
            "title": "Max HOA Fee",
            "type": "integer",
            "description": ""
          },
          "beds_min": {
            "title": "Min. Beds",
            "type": "integer",
            "description": ""
          },
          "beds_max": {
            "title": "Max. Beds",
            "type": "integer",
            "description": ""
          },
          "baths_min": {
            "title": "Min. Baths",
            "type": "integer",
            "description": ""
          },
          "baths_max": {
            "title": "Max. Baths",
            "type": "integer",
            "description": ""
          },
          "size_min": {
            "title": "Min. Square Feet",
            "type": "integer",
            "description": ""
          },
          "size_max": {
            "title": "Max. Square Feet",
            "type": "integer",
            "description": ""
          },
          "lot_min": {
            "title": "Min. Lot Size",
            "type": "integer",
            "description": ""
          },
          "lot_max": {
            "title": "Max. Lot Size",
            "type": "integer",
            "description": ""
          },
          "floor_min": {
            "title": "Min. Stories",
            "type": "integer",
            "description": ""
          },
          "floor_max": {
            "title": "Max. Stories",
            "type": "integer",
            "description": ""
          },
          "amenities:have-garage": {
            "title": "Must Have Garage",
            "type": "boolean",
            "description": ""
          },
          "garage_count": {
            "title": "Min. Garage",
            "type": "integer",
            "description": ""
          },
          "amenities:have-basement": {
            "title": "Must Have Basement",
            "type": "boolean",
            "description": ""
          },
          "basement_finish": {
            "title": "Basement Finished",
            "type": "boolean",
            "description": ""
          },
          "year_min": {
            "title": "Min. Year Built",
            "type": "integer",
            "description": ""
          },
          "year_max": {
            "title": "Max. Year Built",
            "type": "integer",
            "description": ""
          },
          "property_types:house": {
            "title": "House",
            "type": "boolean",
            "description": ""
          },
          "property_types:townhouse": {
            "title": "Townhouse",
            "type": "boolean",
            "description": ""
          },
          "property_types:condo": {
            "title": "Condo",
            "type": "boolean",
            "description": ""
          },
          "property_types:coop": {
            "title": "Co-Op",
            "type": "boolean",
            "description": ""
          },
          "property_types:multifamily": {
            "title": "Multi-Family",
            "type": "boolean",
            "description": ""
          },
          "property_types:land": {
            "title": "Lots/Land",
            "type": "boolean",
            "description": ""
          },
          "property_types:manufactured": {
            "title": "Mobile/Manufactured",
            "type": "boolean",
            "description": ""
          },
          "property_types:commercial": {
            "title": "Commercial",
            "type": "boolean",
            "description": ""
          },
          "property_types:other": {
            "title": "Other",
            "type": "boolean",
            "description": ""
          },
          "listing_types:resale": {
            "title": "Resale",
            "type": "boolean",
            "description": ""
          },
          "listing_types:new": {
            "title": "New Construction",
            "type": "boolean",
            "description": ""
          },
          "listing_types:auction": {
            "title": "Auction",
            "type": "boolean",
            "description": ""
          },
          "listing_types:foreclosure": {
            "title": "Foreclosure",
            "type": "boolean",
            "description": ""
          },
          "listing_types:shortsale": {
            "title": "Shortsale",
            "type": "boolean",
            "description": ""
          },
          "school_rating:all": {
            "title": "All School",
            "type": "integer",
            "description": ""
          },
          "school_rating:elementary": {
            "title": "Elementary",
            "type": "integer",
            "description": ""
          },
          "school_rating:middle": {
            "title": "Middle",
            "type": "integer",
            "description": ""
          },
          "school_rating:high": {
            "title": "High",
            "type": "integer",
            "description": ""
          },
          "amenities:ocean": {
            "title": "Ocean",
            "type": "boolean",
            "description": ""
          },
          "amenities:lake": {
            "title": "Lake",
            "type": "boolean",
            "description": ""
          },
          "amenities:river": {
            "title": "River",
            "type": "boolean",
            "description": ""
          },
          "amenities:bay": {
            "title": "Bay",
            "type": "boolean",
            "description": ""
          },
          "amenities:other-water": {
            "title": "Other",
            "type": "boolean",
            "description": ""
          },
          "amenities:mountain": {
            "title": "Mountain",
            "type": "boolean",
            "description": ""
          },
          "amenities:woods": {
            "title": "Woods",
            "type": "boolean",
            "description": ""
          },
          "amenities:city": {
            "title": "City",
            "type": "boolean",
            "description": ""
          },
          "amenities:other-view": {
            "title": "Other",
            "type": "boolean",
            "description": ""
          },
          "amenities:central-heat": {
            "title": "Central Heat",
            "type": "boolean",
            "description": ""
          },
          "amenities:forced-air": {
            "title": "Forced Air",
            "type": "boolean",
            "description": ""
          },
          "amenities:central-ac": {
            "title": "Central A/C",
            "type": "boolean",
            "description": ""
          },
          "amenities:pool-private": {
            "title": "Private",
            "type": "boolean",
            "description": ""
          },
          "amenities:pool-community": {
            "title": "Community",
            "type": "boolean",
            "description": ""
          },
          "amenities:outdoor-space": {
            "title": "Outdoor Space",
            "type": "boolean",
            "description": ""
          },
          "amenities:fireplace": {
            "title": "Fireplace",
            "type": "boolean",
            "description": ""
          },
          "amenities:inlaw-suite": {
            "title": "In-Law Suite",
            "type": "boolean",
            "description": ""
          },
          "amenities:accessible-home": {
            "title": "Accessible Home",
            "type": "boolean",
            "description": ""
          },
          "amenities:senior-community": {
            "title": "Senior Community",
            "type": "boolean",
            "description": ""
          },
          "amenities:waterfront": {
            "title": "Waterfront",
            "type": "boolean",
            "description": ""
          },
          "amenities:furnished": {
            "title": "Furnished",
            "type": "boolean",
            "description": ""
          },
          "amenities:pet-friendly": {
            "title": "Pet Friendly",
            "type": "boolean",
            "description": ""
          },
          "amenities:virtual-tour": {
            "title": "Must Have 3D Tour",
            "type": "boolean",
            "description": ""
          },
          "dev_proxy_config": {
            "title": "🌐 PROXY NETWORKING",
            "type": "object",
            "description": "<b>Supported protocol:</b> <code>HTTP, SOCKS5</code><br><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code> <br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
          },
          "dev_transform_enable": {
            "title": "Enable Custom Fields",
            "type": "boolean",
            "description": ""
          },
          "dev_transform_fields": {
            "title": "Fields List",
            "type": "array",
            "description": "",
            "items": {
              "type": "object",
              "required": [
                "key",
                "value"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "title": "Key"
                },
                "value": {
                  "type": "string",
                  "title": "Value"
                }
              }
            }
          },
          "dev_dataset_enable": {
            "title": "Enable Custom Storage",
            "type": "boolean",
            "description": ""
          },
          "dev_dataset_clear": {
            "title": "Clear Storage",
            "type": "boolean",
            "description": "Clear Dataset before insert/update."
          },
          "dev_dataset_name": {
            "title": "Dataset Name",
            "type": "string",
            "description": "Dataset/Key-Value Storage name"
          },
          "dev_dataset_key": {
            "title": "Unique Column",
            "type": "string",
            "description": "Column name from results to use as Key for Key-Value Storage. For example: <code>product_id</code> (must be unique)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}