{
  "openapi": "3.0.1",
  "info": {
    "title": "Zumper Scraper: Apartments for Rent + Rent Change Monitor",
    "description": "Zumper API alternative: export apartment and house rentals for any US city, then schedule it to get new listings and rent cuts with the previous price. Rent range, beds, baths, address, ZIP, link, contact phone where shown and a 0-100 lead score. Filters for price, beds and property type.",
    "version": "1.1",
    "x-build-id": "uP66vZNTc4djaUKYb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/benthepythondev~zumper-rental-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-benthepythondev-zumper-rental-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/benthepythondev~zumper-rental-scraper/runs": {
      "post": {
        "operationId": "runs-sync-benthepythondev-zumper-rental-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/benthepythondev~zumper-rental-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-benthepythondev-zumper-rental-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": {
          "mode": {
            "title": "Scraping Mode",
            "enum": [
              "search",
              "direct_urls"
            ],
            "type": "string",
            "description": "Choose whether to search listings or scrape specific URLs",
            "default": "search"
          },
          "locations": {
            "title": "Locations",
            "maxItems": 50,
            "type": "array",
            "description": "One or more Zumper city slugs to search, city then state (e.g. 'san-francisco-ca', 'new-york-ny', 'austin-tx'). Each is searched on its own with the filters below, and Maximum Listings applies per location. Empty: san-francisco-ca.",
            "items": {
              "type": "string"
            },
            "default": [
              "san-francisco-ca"
            ]
          },
          "location": {
            "title": "Location (single, older field)",
            "type": "string",
            "description": "One city slug, e.g. 'san-francisco-ca'. Kept so saved inputs keep working; it is searched together with Locations. Use Locations for new inputs."
          },
          "propertyType": {
            "title": "Property Type",
            "enum": [
              "apartments-for-rent",
              "houses-for-rent",
              "condos-for-rent",
              "townhomes-for-rent",
              "rooms-for-rent"
            ],
            "type": "string",
            "description": "Type of property to search",
            "default": "apartments-for-rent"
          },
          "minPrice": {
            "title": "Minimum Price",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Include properties with an available unit at or above this monthly rent"
          },
          "maxPrice": {
            "title": "Maximum Price",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Include properties with an available unit at or below this monthly rent"
          },
          "minBeds": {
            "title": "Minimum Bedrooms",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Lowest accepted bedroom count (0 includes studios)"
          },
          "maxBeds": {
            "title": "Maximum Bedrooms",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Highest accepted bedroom count"
          },
          "airbnbFriendly": {
            "title": "Airbnb-Friendly Only",
            "type": "boolean",
            "description": "Use Zumper's verified Airbnb-friendly feature filter",
            "default": false
          },
          "listingUrls": {
            "title": "Listing URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Direct Zumper listing URLs to scrape (for direct_urls mode)",
            "items": {
              "type": "string"
            }
          },
          "maxListings": {
            "title": "Maximum Listings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of listings to scrape per location (in direct_urls mode: for the whole run)",
            "default": 10
          },
          "maxPages": {
            "title": "Result pages per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Zumper serves 10 listings per result page. The default reads 20 pages, about 200 listings per search. Raise it together with Maximum Listings to export a whole city, for example 1,000 pages for up to 10,000 listings.",
            "default": 20
          },
          "includePhotos": {
            "title": "Include Photo IDs",
            "type": "boolean",
            "description": "Include Zumper photo IDs and photo count for each listing",
            "default": true
          },
          "useApifyProxy": {
            "title": "Use Apify Proxy (Residential, US)",
            "type": "boolean",
            "description": "Route API requests through Apify US residential proxy. Recommended for reliable access from cloud runs.",
            "default": true
          },
          "onlyChanges": {
            "title": "Only New and Changed Listings",
            "type": "boolean",
            "description": "Store this saved search in your Apify account and emit only new, price-changed, or detail-changed listings after the baseline.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor ID",
            "maxLength": 80,
            "type": "string",
            "description": "Optional stable name for this saved search. Use a different ID for every market or filter set."
          },
          "firstRunMode": {
            "title": "First Run",
            "enum": [
              "emitAll",
              "seedOnly"
            ],
            "type": "string",
            "description": "Emit the current listings as new, or store them silently as the alert baseline.",
            "default": "emitAll"
          },
          "resetState": {
            "title": "Reset Selected Monitor",
            "type": "boolean",
            "description": "Clear only this monitor ID before the run. The current result becomes a new baseline.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}