{
  "openapi": "3.0.1",
  "info": {
    "title": "HousingAnywhere Scraper [$0.70/1K💰] | Mid-Term Rentals",
    "description": "Scrape HousingAnywhere mid-term rentals in one request per city. Get rent, estimated bills, total monthly EUR cost, room type, size, furnishing, availability, landlord type, address and photos. ~80 fields per listing.",
    "version": "0.1",
    "x-build-id": "vhZF407bivG06t2dg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~housinganywhere-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-housinganywhere-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/ahmed_jasarevic~housinganywhere-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-housinganywhere-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/ahmed_jasarevic~housinganywhere-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-housinganywhere-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": "Listing or search URLs",
            "maxItems": 2000,
            "type": "array",
            "description": "HousingAnywhere URLs - individual listing pages (e.g. https://housinganywhere.com/room/ut1234567/de/Berlin/xyz) and/or search pages (e.g. https://housinganywhere.com/s/Amsterdam--Netherlands/private-rooms?priceMax=1200). Search URLs are converted into filters (city, price, availability) automatically; listing URLs are resolved directly, skipping the enumeration.",
            "default": [
              "https://housinganywhere.com/s/Amsterdam--Netherlands"
            ],
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "maxItems": 200,
            "type": "array",
            "description": "Exact city values as used by the site's search, e.g. Berlin, Amsterdam, Munich, Milan, Barcelona, Lisbon, Paris, Vienna, London, Valencia, Rome, Hamburg, Madrid.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "maxItems": 100,
            "type": "array",
            "description": "Exact country values, e.g. Germany, Netherlands, Italy, Spain, Portugal, France, Austria, United Kingdom, Belgium, Poland, Ireland, Sweden, Denmark, Finland, Czech Republic, Switzerland, Norway, Australia, Canada, United States.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Room / property types",
            "maxItems": 10,
            "type": "array",
            "description": "Exact values: PRIVATE_ROOM, SHARED_ROOM, APARTMENT, STUDIO, HOUSE, BUILDING, UNKNOWN. Omit for every type.",
            "items": {
              "type": "string"
            }
          },
          "landlordTypes": {
            "title": "Landlord types",
            "maxItems": 10,
            "type": "array",
            "description": "Exact values: private-landlord, rental-company, student-company. NOTE: landlordType is not a server-side filterable field, so these are applied client-side after fetching (fewer results than expected).",
            "items": {
              "type": "string"
            }
          },
          "utilities": {
            "title": "Bills included",
            "maxItems": 5,
            "type": "array",
            "description": "Exact values - I = bills included in the rent, E = bills excluded, P = partially included.",
            "items": {
              "type": "string"
            }
          },
          "currencies": {
            "title": "Currencies",
            "maxItems": 40,
            "type": "array",
            "description": "Currency codes, e.g. EUR, GBP, USD, PLN, SEK, DKK, NOK, CHF, CZK, AUD, CAD.",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Full-text search query",
            "type": "string",
            "description": "Optional free-text query (matches city, street, neighbourhood, property name, description).",
            "default": ""
          },
          "neighborhoods": {
            "title": "Neighborhoods",
            "maxItems": 300,
            "type": "array",
            "description": "Exact values for the area/neighbourhood field.",
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Minimum monthly price",
            "type": "integer",
            "description": "Only listings whose starting price is >= this value (in the listing's own currency).",
            "default": 0
          },
          "priceMax": {
            "title": "Maximum monthly price",
            "type": "integer",
            "description": "Only listings whose starting price is <= this value (in the listing's own currency).",
            "default": 0
          },
          "availableFrom": {
            "title": "Available from (ISO date)",
            "type": "string",
            "description": "Only listings still bookable on or after this date (YYYY-MM-DD). Sent as a dateToTS >= <epoch> filter. Listings with an open-ended end date (9999-12-31) always match.",
            "default": ""
          },
          "marketTypes": {
            "title": "Market types",
            "maxItems": 10,
            "type": "array",
            "description": "Exact values: student_housing, co_living. Also applied client-side (not filterable server-side).",
            "items": {
              "type": "string"
            }
          },
          "furnishedOnly": {
            "title": "Furnished listings only",
            "type": "boolean",
            "description": "Only return listings whose bedroom is marked as furnished.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "newest",
              "advertiserRating"
            ],
            "type": "string",
            "description": "relevance = the site's own ranking (default, best), priceAsc = cheapest first, priceDesc = most expensive first, newest = most recently added first, advertiserRating = best-rated advertiser first.",
            "default": "relevance"
          },
          "includeUnsearchable": {
            "title": "Include non-searchable records",
            "type": "boolean",
            "description": "By default only listings flagged isSearchable:true (visible on the live website) are returned. Enable to also collect stale/partially indexed records.",
            "default": false
          },
          "maxListings": {
            "title": "Maximum listings",
            "type": "integer",
            "description": "Hard cap on how many listings are returned. 0 or unset = 1000. Free users are additionally limited to 10 listings.",
            "default": 1000
          },
          "hitsPerPage": {
            "title": "Listings per request",
            "maximum": 1000,
            "type": "integer",
            "description": "1-1000. Higher = fewer requests. 1000 is fastest.",
            "default": 1000
          },
          "debug": {
            "title": "Debug logging",
            "type": "boolean",
            "description": "Verbose logs including the resolved filter string.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}